/* =========================================================
   QA TestGen Pro - Premium Light Mode Design System
   ========================================================= */

:root {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-solid: #ffffff;
  --bg-input: #ffffff;
  
  --border-glass: #e2e8f0;
  --border-glass-hover: #cbd5e1;
  --border-muted: #f1f5f9;

  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-heading: #0f172a;
  --text-muted: #64748b;

  /* Accent Gradients & Colors */
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --excel-gradient: linear-gradient(135deg, #10b981 0%, #047857 100%);
  
  --color-blue: #2563eb;
  --color-purple: #7c3aed;
  --color-red: #dc2626;
  --color-cyan: #0284c7;
  --color-amber: #d97706;
  --color-emerald: #059669;

  --shadow-glow-blue: 0 4px 20px rgba(37, 99, 235, 0.15);
  --shadow-glow-emerald: 0 4px 20px rgba(16, 185, 129, 0.15);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.05);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

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

html {
  overflow-y: hidden;
}

body {
  background-color: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: auto;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* SiteAuditor 360 Hero Theme */
.hero-search {
  text-align: center;
  padding: 16px 16px 20px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--color-blue);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.text-gradient {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.header-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon-glow {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-pro {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Status Pulse Badge */
.pulse-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--color-blue);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Main Layout */
.main-container {
  width: 100%;
  max-width: 100%;
  padding: 1rem 1.25rem 1rem;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Glass & Solid Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

/* Hero Card Header */
.hero-banner-content {
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.hero-subtext {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.card-header-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 12px;
}

.tab-buttons-glow {
  display: flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

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

.tab-btn.active {
  background: #ffffff;
  color: var(--color-blue);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.helper-text-sparkle {
  font-size: 0.82rem;
  color: var(--color-emerald);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* Forms & Inputs */
.tab-content {
  display: none;
}

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

.input-glow-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 8px 8px 8px 18px;
  gap: 14px;
  transition: all 0.25s ease;
}

.input-glow-wrapper:focus-within {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.input-icon {
  color: var(--color-blue);
  font-size: 1.2rem;
}

.input-glow-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-heading);
  font-size: 1rem;
  outline: none;
  font-family: var(--font-body);
}

.textarea-glow-wrapper textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: var(--text-heading);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  outline: none;
  resize: vertical;
  transition: all 0.25s ease;
}

.textarea-glow-wrapper textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Image Dropzone */
.image-dropzone-wrapper {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.image-dropzone-wrapper:hover, .image-dropzone-wrapper.dragover {
  border-color: var(--color-blue);
  background: #eff6ff;
}

.dropzone-icon {
  font-size: 2.5rem;
  color: var(--color-blue);
}

.dropzone-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-heading);
}

.dropzone-subtext {
  font-size: 0.84rem;
  color: var(--text-secondary);
  max-width: 480px;
}

.hidden-file-input {
  display: none;
}

.selected-file-label {
  font-size: 0.82rem;
  color: var(--color-emerald);
  font-weight: 600;
  margin-top: 4px;
}

.form-action-right {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

/* Buttons */
.btn {
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.25s ease;
  font-family: var(--font-body);
}

.btn-primary-gradient {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-excel-glow {
  background: var(--excel-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-excel-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-demo-sparkle {
  background: #f3e8ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.btn-demo-sparkle:hover {
  background: #ede9fe;
}

.btn-glass-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border-color: #cbd5e1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.btn-glass-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.btn-outline-glow {
  background: #ffffff;
  color: var(--color-blue);
  border-color: #bfdbfe;
}

.btn-outline-glow:hover {
  background: #eff6ff;
  border-color: var(--color-blue);
}

/* Loading State */
.loading-glass-state {
  text-align: center;
  padding: 3.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
}

.glowing-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid #e0f2fe;
  border-top-color: var(--color-blue);
  border-radius: 50%;
  animation: spin 0.9s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
  margin: 0 auto 1.5rem auto;
}

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

.loading-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.loading-subtext {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.progress-steps-glow {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.progress-steps-glow .step {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-steps-glow .step.active {
  color: var(--color-blue);
  font-weight: 600;
}

/* Alert Banner */
.alert-glass-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}

.close-alert {
  margin-left: auto;
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Summary Dashboard Metrics */
.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-title-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
}

.page-url-subtext {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.quick-stats-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Metric Cards Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.metric-glass-box {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.metric-glass-box:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.metric-icon-gradient {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffffff;
}

.icon-blue { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); }
.icon-purple { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }
.icon-red { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); }
.icon-cyan { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.icon-amber { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); }

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
  display: block;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Sections Breakdown Card */
.card-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.card-title-bar h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-accent {
  color: var(--color-blue);
}

.badge-glowing-count {
  background: #eff6ff;
  color: var(--color-blue);
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.sections-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sec-pill {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-primary);
  font-weight: 500;
}

.sec-pill:hover, .sec-pill.active {
  border-color: var(--color-blue);
  background: #eff6ff;
  color: var(--color-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.sec-pill .sec-count {
  background: #e2e8f0;
  color: var(--text-heading);
  padding: 2px 9px;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
}

.sec-pill.active .sec-count {
  background: #2563eb;
  color: #ffffff;
}

/* Workbench Toolbar */
.workbench-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}

.search-glow-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  gap: 10px;
  min-width: 320px;
  flex: 1;
  transition: all 0.2s ease;
}

.search-glow-box:focus-within {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.search-glow-box input {
  background: transparent;
  border: none;
  color: var(--text-heading);
  font-size: 0.88rem;
  outline: none;
  width: 100%;
}

.select-glass-filter {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.select-glass-filter:focus {
  border-color: var(--color-blue);
}

.export-actions-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 12-Column Responsive Data Table */
.table-responsive-glow {
  overflow-x: auto;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

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

.tc-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 14px 16px;
  border-bottom: 1px solid #cbd5e1;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.tc-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.tc-table tbody tr {
  transition: background 0.15s ease;
}

.tc-table tbody tr:hover {
  background: #f8fafc;
}

/* Table Inputs & Status Selectors */
.in-table-input, .in-table-select {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: var(--text-primary) !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
}

.in-table-input:focus, .in-table-select:focus {
  border-color: var(--color-blue) !important;
}

.badge-tc-id {
  font-family: var(--font-mono);
  background: #eff6ff;
  color: var(--color-blue);
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-outline {
  font-family: var(--font-mono);
  border: 1px solid #e2e8f0;
  color: var(--text-secondary);
  background: #f8fafc;
}

.table-footer-bar {
  padding-top: 1.25rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-glass {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  width: 92%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-heading {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-size: 1.2rem;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.hidden {
  display: none !important;
}

/* App Footer */
.app-footer {
  text-align: center;
  padding: 1.75rem;
  border-top: 1px solid #e2e8f0;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES (Mobile & Tablet Optimization)
   ========================================================= */

/* 1. Large Tablets & Small Laptops (Max-Width: 1024px) */
@media (max-width: 1024px) {
  .main-container {
    padding: 1.25rem 1rem;
    gap: 1.25rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .search-glow-box {
    min-width: 100%;
  }

  .workbench-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .export-actions-group {
    width: 100%;
  }

  .export-actions-group .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* 2. Medium Tablets (Max-Width: 768px) */
@media (max-width: 768px) {
  .app-header {
    padding: 0.85rem 1rem;
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-heading {
    font-size: 1.35rem;
  }

  .card-header-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .tab-buttons-glow {
    width: 100%;
  }

  .tab-btn {
    flex: 1;
    justify-content: center;
  }

  .input-glow-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .input-glow-wrapper input {
    width: 100%;
    margin-bottom: 8px;
  }

  .input-glow-wrapper .btn {
    width: 100%;
    justify-content: center;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .metric-glass-box {
    padding: 1rem;
  }

  .metric-number {
    font-size: 1.5rem;
  }

  .filter-dropdowns {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .select-glass-filter {
    width: 100%;
  }

  .table-responsive-glow {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

  .tc-table th, .tc-table td {
    padding: 10px 12px;
  }

  .modal-glass {
    width: 95%;
    max-height: 90vh;
  }

  .modal-header, .modal-footer, .modal-body {
    padding: 1rem;
  }
}

/* 3. Small Mobile Phones (Max-Width: 480px) */
@media (max-width: 480px) {
  .main-container {
    padding: 0.85rem 0.6rem;
  }

  .glass-card {
    padding: 1rem;
    border-radius: var(--radius-md);
  }

  .logo-title {
    font-size: 1.25rem;
  }

  .logo-subtitle {
    font-size: 0.75rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-icon-gradient {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .sec-pill {
    width: 100%;
    justify-content: space-between;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .export-actions-group {
    flex-direction: column;
  }

  .table-footer-bar {
    text-align: center;
  }
}

