/* ==========================================================================
   10eLotto Autonomous Analytics - Premium Design System
   ========================================================================== */

:root {
  --bg-primary: #070e18;
  --bg-secondary: #0d1726;
  --bg-card: rgba(16, 28, 45, 0.75);
  --bg-card-hover: rgba(22, 38, 62, 0.85);
  --border-color: rgba(45, 70, 102, 0.45);
  --border-focus: rgba(245, 197, 24, 0.6);
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --gold: #f5c518;
  --gold-glow: rgba(245, 197, 24, 0.25);
  --gold-dark: #b8860b;
  --violet: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.25);
  --cyan: #06b6d4;
  --green: #10b981;
  --red: #f43f5e;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  --glass-blur: blur(16px);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="light"] {
  --bg-primary: #f1f5f9;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #f8fafc;
  --border-color: rgba(203, 213, 225, 0.8);
  --border-focus: rgba(217, 119, 6, 0.6);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --gold: #d97706;
  --gold-glow: rgba(217, 119, 6, 0.15);
  --gold-dark: #92400e;
  --violet: #7c3aed;
  --violet-glow: rgba(124, 58, 237, 0.15);
  --cyan: #0891b2;
  --green: #059669;
  --red: #e11d48;
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

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

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

/* App Shell Layout */
.app-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  z-index: 50;
}

.sidebar-backdrop {
  display: none;
}

.sidebar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.sidebar-close-btn {
  display: none;
}

#mobileToggle, .mobile-toggle-btn {
  display: none !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 16px;
  border-bottom: 1px solid var(--border-color);
  flex: 1;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffd700, #f5c518 60%, #b8860b);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  color: #1a1202;
  box-shadow: 0 6px 18px var(--gold-glow);
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
  transform: translateX(2px);
}

.nav-item.active {
  background: var(--bg-card);
  color: var(--gold);
  border-color: var(--border-focus);
  box-shadow: 0 4px 14px var(--gold-glow);
}

.nav-icon {
  font-size: 16px;
}

.sidebar-footer {
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Main Area */
.main-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  background: color-mix(in srgb, var(--bg-primary) 85%, transparent);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-heading {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700, var(--gold));
  border-color: var(--gold);
  color: #1e1300;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffdf33, #ffd700);
  border-color: #ffd700;
}

.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  border-color: var(--red);
  color: var(--red);
}

.btn-danger:hover {
  background: var(--red);
  color: #fff;
}

.btn-outline {
  background: transparent;
}

/* Content Container */
.content-area {
  padding: 24px 28px;
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
}

/* Filters Panel */
.filters-bar {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.filters-toggle-header {
  display: none;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.filter-actions {
  display: flex;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.filter-input, .filter-select {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.filter-input:focus, .filter-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

/* KPI Cards Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 197, 24, 0.4);
}

.kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--violet));
  opacity: 0.6;
}

.kpi-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-value {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 6px 0;
  color: var(--text-primary);
}

.kpi-subtext {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Analytics & Dashboard Layouts */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
}

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

.card-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: 1 / -1; }

.chart-container {
  position: relative;
  height: 320px;
  width: 100%;
}

/* Lotto Numbers Balls */
.balls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.ball {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 800;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.ball:hover {
  transform: scale(1.15);
  z-index: 2;
}

.ball.oro {
  background: linear-gradient(135deg, #ffd700, #f5c518);
  border-color: #ffd700;
  color: #1a1202;
  box-shadow: 0 0 10px var(--gold-glow);
}

.ball.doppio {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  border-color: #8b5cf6;
  color: #ffffff;
  box-shadow: 0 0 10px var(--violet-glow);
}

.ball.both {
  background: linear-gradient(135deg, #f5c518 50%, #8b5cf6 50%);
  border-color: #f5c518;
  color: #ffffff;
}

/* Modern Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

table.data-table th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  white-space: nowrap;
}

table.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  white-space: nowrap;
}

table.data-table tr:hover td {
  background: var(--bg-card-hover);
  cursor: pointer;
}

/* Heatmap Grid */
.heat-grid {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 6px;
}

.heat-cell {
  aspect-ratio: 1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12.5px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.15s ease;
}

.heat-cell:hover {
  outline: 2px solid var(--gold);
  transform: scale(1.08);
  z-index: 3;
}

/* Notice Banners */
.notice-box {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.notice-box.info {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
  color: #38bdf8;
}

.notice-box.warning {
  background: rgba(245, 197, 24, 0.08);
  border-color: rgba(245, 197, 24, 0.3);
  color: #fde047;
}

.notice-box.error {
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(244, 63, 94, 0.3);
  color: #fb7185;
}

/* Upload & Dropzone */
.dropzone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropzone:hover, .dropzone.drag-active {
  border-color: var(--gold);
  background: rgba(245, 197, 24, 0.04);
}

.dropzone-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

/* Loading, Error, and Empty States */
.state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

.spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border-color);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

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

.empty-icon {
  font-size: 44px;
  margin-bottom: 12px;
  opacity: 0.6;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 20px;
}

.modal-overlay.open {
  display: grid;
}

.modal-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  width: min(850px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
}

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

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  box-shadow: var(--shadow);
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
  display: none;
  animation: slideUp 0.3s ease;
}

.toast.show {
  display: flex;
  align-items: center;
  gap: 10px;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .filters-grid { grid-template-columns: repeat(3, 1fr) auto; }
  .span-4 { grid-column: span 6; }
  .span-8 { grid-column: span 12; }
}

@media (max-width: 840px) {
  /* Layout */
  .app-layout {
    grid-template-columns: 1fr;
    display: block;
  }

  /* Drawer Backdrop */
  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .sidebar-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Offcanvas Drawer Sidebar */
  .sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    z-index: 999;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-right: 1px solid var(--border-color);
  }

  .sidebar.open {
    left: 0;
  }

  .sidebar-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .sidebar-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .sidebar-close-btn:hover, .sidebar-close-btn:active {
    background: rgba(244, 63, 94, 0.15);
    border-color: var(--red);
    color: var(--red);
  }

  /* Topbar */
  .topbar {
    padding: 10px 14px;
    gap: 8px;
  }

  .mobile-toggle-btn {
    display: inline-flex !important;
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 20px;
    flex-shrink: 0;
    border-radius: 10px;
  }

  .topbar-left {
    gap: 10px;
    min-width: 0;
    flex: 1;
  }

  .heading-container {
    min-width: 0;
    overflow: hidden;
  }

  .page-heading {
    font-size: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .status-badge {
    display: none; /* Hide on mobile topbar to avoid crowding */
  }

  .topbar-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .action-btn-compact {
    padding: 7px 10px;
    font-size: 12px;
  }

  .action-btn-compact .btn-text {
    display: none;
  }

  .action-btn-compact .btn-icon {
    font-size: 15px;
    margin: 0;
  }

  /* Content area safe-area for bottom nav */
  .content-area {
    padding: 14px 12px 86px 12px;
  }

  /* Filters Collapsible */
  .filters-bar {
    padding: 12px 14px;
    margin-bottom: 16px;
  }

  .filters-toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
  }

  .filters-toggle-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
  }

  .filters-icon {
    font-size: 14px;
  }

  .filters-badge {
    font-size: 10.5px;
    padding: 2px 8px;
    border-radius: 12px;
    background: var(--gold-glow);
    color: var(--gold);
    border: 1px solid var(--border-focus);
    font-weight: 700;
  }

  .filters-toggle-icon {
    font-size: 11px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
  }

  .filters-grid {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
  }

  .filters-grid.open {
    display: grid;
    animation: fadeIn 0.2s ease;
  }

  .filter-actions {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .filter-actions .btn {
    width: 100%;
  }

  /* Bottom Navigation Bar */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: color-mix(in srgb, var(--bg-secondary) 94%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 800;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
  }

  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 0;
    transition: all 0.2s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-nav-icon {
    font-size: 17px;
    line-height: 1;
    transition: transform 0.15s ease;
  }

  .bottom-nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .bottom-nav-item.active {
    color: var(--gold);
  }

  .bottom-nav-item.active .bottom-nav-icon {
    transform: scale(1.15);
  }

  .bottom-nav-item:active {
    transform: scale(0.92);
  }

  /* Grid layouts */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }

  .kpi-card {
    padding: 12px 14px;
  }

  .kpi-title {
    font-size: 10.5px;
  }

  .kpi-value {
    font-size: 22px;
    margin: 3px 0;
  }

  .kpi-subtext {
    font-size: 10.5px;
  }

  .analytics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .span-4, .span-6, .span-8, .span-12 {
    grid-column: 1 / -1;
  }

  .card {
    padding: 14px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
  }

  .card-title {
    font-size: 15px;
  }

  .chart-container {
    height: 240px;
  }

  /* Heatmap */
  .heat-grid {
    grid-template-columns: repeat(10, 1fr);
    gap: 3px;
  }

  .heat-cell {
    font-size: 11px;
    border-radius: 6px;
  }

  /* Balls row */
  .balls-row {
    gap: 4px;
  }

  .ball {
    width: 25px;
    height: 25px;
    font-size: 10.5px;
  }

  /* Modal */
  .modal-overlay {
    padding: 12px;
  }

  .modal-window {
    padding: 16px;
    border-radius: var(--radius-md);
    max-height: 90vh;
    max-height: 90dvh;
  }
}

@media (max-width: 480px) {
  .filters-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .kpi-card {
    padding: 10px 12px;
  }

  .kpi-value {
    font-size: 20px;
  }

  .heat-grid {
    grid-template-columns: repeat(9, 1fr);
    gap: 2.5px;
  }

  .heat-cell {
    font-size: 10px;
    border-radius: 4px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
