/* CSS Reset & Variable System */
:root {
  --bg-primary: #080c14;
  --bg-secondary: rgba(17, 22, 37, 0.75);
  --bg-tertiary: rgba(30, 41, 59, 0.5);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.15);
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-violet-glow: rgba(139, 92, 246, 0.3);
  
  --status-success: #10b981;
  --status-success-bg: rgba(16, 185, 129, 0.1);
  --status-warning: #f59e0b;
  --status-warning-bg: rgba(245, 158, 11, 0.1);
  --status-danger: #ef4444;
  --status-danger-bg: rgba(239, 68, 68, 0.1);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.6);
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Decorative Glow Backgrounds */
.glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
}

.glow-1 {
  background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
  width: 600px;
  height: 600px;
  top: -10%;
  right: -10%;
  animation: float 20s infinite alternate;
}

.glow-2 {
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  width: 500px;
  height: 500px;
  bottom: -10%;
  left: -10%;
  animation: float 25s infinite alternate-reverse;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 40px) scale(1.1); }
}

/* Glassmorphism Classes */
.glass {
  background: var(--bg-secondary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Layout and App Setup */
#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.view {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.view.active {
  display: flex;
  opacity: 1;
}

/* Loader Screen */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity var(--transition-fast) ease-out;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Typography & General Buttons */
h2 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-violet) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-violet-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px var(--accent-violet-glow);
}
.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-secondary);
}
.btn-outline:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.btn-block {
  width: 100%;
}

.btn-icon-text span {
  display: inline;
}

@media(max-width: 576px) {
  .btn-icon-text span {
    display: none;
  }
}

/* Login Card Interface */
#login-view {
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.logo-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: var(--accent-cyan);
  box-shadow: inset 0 0 12px rgba(6, 182, 212, 0.1);
}

.login-card h2 {
  margin-bottom: 8px;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition-fast);
}

input[type="text"],
input[type="password"],
select {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(10, 15, 30, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.input-wrapper input {
  padding-left: 42px;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: rgba(10, 15, 30, 0.9);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

input:focus + i {
  color: var(--accent-indigo);
}

.alert-error {
  background: var(--status-danger-bg);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-error.hidden {
  display: none;
}

/* Dashboard View Header & Navigation */
#dashboard-view {
  flex-direction: column;
  flex: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-cyan);
}

.nav-brand i {
  font-size: 1.4rem;
}

.nav-brand h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.user-badge i {
  color: var(--accent-indigo);
}

/* Dashboard Content & Sidebar */
.dashboard-content {
  display: flex;
  flex: 1;
  gap: 30px;
  padding: 30px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .dashboard-content {
    flex-direction: column;
  }
}

.sidebar {
  width: 300px;
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 992px) {
  .sidebar {
    width: 100%;
  }
}

.sidebar h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.status-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.status-item .label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-item .value {
  font-size: 0.9rem;
  word-break: break-all;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  width: fit-content;
}

.badge-success {
  background: var(--status-success-bg);
  color: var(--status-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-info {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.badge-warning {
  background: var(--status-warning-bg);
  color: var(--status-warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.sidebar-help {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
}

.sidebar-help h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--accent-cyan);
}

.sidebar-help p {
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.sidebar-help pre {
  background: var(--bg-primary);
  padding: 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.75rem;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  color: var(--accent-indigo);
}

/* Main Panel Dashboard & Table */
.main-panel {
  flex: 1;
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}

@media(max-width: 576px) {
  .panel-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: rgba(10, 15, 30, 0.3);
}

.keys-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.keys-table th {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.keys-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.keys-table tr:last-child td {
  border-bottom: none;
}

.keys-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

.text-right {
  text-align: right;
}

.font-mono {
  font-family: monospace;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-cyan);
}

/* Action Buttons in Table */
.btn-action {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-action-delete:hover {
  background: var(--status-danger-bg);
  color: var(--status-danger);
}

.btn-action-copy:hover {
  background: var(--accent-cyan-glow);
  color: var(--accent-cyan);
}

/* Empty State Styling */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  flex: 1;
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  font-weight: 500;
  margin-bottom: 8px;
}

.empty-state p {
  margin-bottom: 24px;
  max-width: 360px;
}

.hidden {
  display: none !important;
}

/* Modals Overlay & Card */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 12, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-md);
  padding: 30px;
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.btn-close-modal {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}
.btn-close-modal:hover {
  color: var(--text-primary);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* Generated Key Displays */
.alert-warning {
  background: var(--status-warning-bg);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #ffd8a8;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
}

.alert-warning i {
  font-size: 1.3rem;
  color: var(--status-warning);
}

.alert-warning strong {
  display: block;
  margin-bottom: 4px;
}

.key-display-wrapper {
  display: flex;
  gap: 8px;
}

.key-display-wrapper input {
  flex: 1;
  font-family: monospace;
  font-size: 1rem;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

/* Custom Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  animation: slideInLeft 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-success i {
  color: var(--status-success);
}
.toast-error i {
  color: var(--status-danger);
}

.toast.fade-out {
  animation: fadeOut 0.3s forwards;
}

/* Keyframe Animations */
@keyframes slideInUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideInLeft {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Panel Tabs Navigation */
.panel-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
  padding-bottom: 10px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  color: #ffffff;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.1);
}

/* Tab Content Visibility */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Guide Layout & Sections */
.guide-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 10px;
}

.guide-section {
  background: rgba(10, 15, 30, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.guide-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.guide-section p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.code-pre {
  background: rgba(5, 8, 16, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  line-height: 1.5;
}

/* Endpoint / Headers layout */
.endpoint-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.method-badge {
  background: var(--status-success-bg);
  color: var(--status-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 4px;
}

.url-text {
  font-family: monospace;
  font-size: 0.95rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  flex: 1;
  word-break: break-all;
}

.headers-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.headers-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* Snippets Sub-tab layout */
.snippet-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 8px;
}

.snippet-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 4px 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.snippet-tab-btn:hover {
  color: var(--text-primary);
}

.snippet-tab-btn.active {
  color: var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
  font-weight: 500;
}

.snippet-contents {
  position: relative;
}

.snippet-content {
  display: none;
}

.snippet-content.active {
  display: block;
}

/* Speed Test Graph & Controls */
.speedtest-chart-container {
  background: rgba(5, 8, 16, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 30px;
  height: 320px;
  position: relative;
  width: 100%;
}

.speedtest-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 35px;
}

@media (max-width: 768px) {
  .speedtest-controls {
    grid-template-columns: 1fr;
  }
}

.test-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.test-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.test-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.test-card:first-child .test-icon {
  background: rgba(6, 182, 212, 0.08);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.2);
}

.test-card:last-child .test-icon {
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-violet);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
}

.test-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.test-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 40px;
}

.test-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.metric-label {
  color: var(--text-muted);
}

.metric-value {
  color: #ffffff;
  font-weight: 600;
  font-family: monospace;
}

/* Speed Test History Logs Header */
.speedtest-history-header {
  margin-top: 15px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 8px;
}

.speedtest-history-header h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.error-details-text {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--status-danger);
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  cursor: help;
}


