/* ============================================
   JKSSB Junior Assistant Mock Test App
   Clean, modern design
   ============================================ */

:root {
  --primary: #059669;
  --primary-light: #d1fae5;
  --primary-dark: #047857;
  --secondary: #0ea5e9;
  --secondary-light: #e0f2fe;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --purple: #8b5cf6;
  --purple-light: #ede9fe;
  --blue: #3b82f6;
  --blue-light: #dbeafe;
  --amber: #f59e0b;
  --amber-light: #fef9c3;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- UTILITIES ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.text-4xl { font-size: 36px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.relative { position: relative; }
.inline-flex { display: inline-flex; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #059669 0%, #0d9488 40%, #0891b2 100%);
  color: white;
  padding: 60px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.hero p {
  font-size: clamp(15px, 2vw, 18px);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 24px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
}
.hero-stat svg {
  width: 16px; height: 16px;
  opacity: 0.9;
}
.hero-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
}
.hero-num {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px;
}
.hero-num .val {
  font-size: 24px;
  font-weight: 800;
}
.hero-num .lbl {
  font-size: 11px;
  opacity: 0.7;
}

/* ---- SECTION CARDS ---- */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .subject-grid { grid-template-columns: repeat(2, 1fr); }
}
.subject-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.subject-card:hover { box-shadow: var(--shadow-md); }
.subject-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 18px;
}
.subject-card .name {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.subject-card .marks {
  font-size: 18px;
  font-weight: 700;
}
.subject-card .marks span {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ---- PAPER CARDS ---- */
.papers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.paper-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}
.paper-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.paper-card .tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
}
.tag-pyq { background: #fef3c7; color: #b45309; }
.tag-practice { background: #d1fae5; color: #047857; }
.paper-card .title {
  font-size: 15px;
  font-weight: 600;
  margin: 8px 0 4px;
}
.paper-card:hover .title { color: var(--primary); }
.paper-card .desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.paper-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.paper-card .meta-icons {
  display: flex;
  gap: 12px;
}
.paper-card .meta-icons span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.paper-card .best-badge {
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.paper-card .arrow {
  width: 16px; height: 16px;
  transition: transform 0.2s;
}
.paper-card:hover .arrow { transform: translateX(3px); }
.paper-progress {
  margin-top: 8px;
}
.progress-bar-bg {
  height: 5px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.4;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: #0284c7; }
.btn-outline {
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { background: #f8fafc; border-color: #cbd5e1; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #dc2626; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
}
.btn-ghost:hover { background: #f1f5f9; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---- CARDS ---- */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header {
  padding: 20px 24px 0;
}
.card-body {
  padding: 16px 24px 24px;
}
.card-flat {
  box-shadow: none;
  border: 1px solid var(--border);
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.card-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- BADGE ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--text-muted);
}
.badge-success { background: #d1fae5; color: #047857; }
.badge-danger { background: #fee2e2; color: #dc2626; }
.badge-warning { background: #fef3c7; color: #b45309; }
.badge-info { background: #dbeafe; color: #1d4ed8; }

/* ---- TEST HEADER ---- */
.test-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  padding: 10px 16px;
}
.test-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.test-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.test-paper-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.test-mode-label {
  font-size: 11px;
  color: var(--text-muted);
}
.test-timer {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  background: #f1f5f9;
}
.test-timer.warning { background: #fee2e2; color: #dc2626; animation: pulse 1s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* ---- QUESTION ---- */
.test-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  gap: 20px;
}
.test-main { flex: 1; min-width: 0; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.q-number {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.q-text {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ---- OPTIONS ---- */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.option-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
}
.option-btn:hover {
  border-color: var(--primary);
  background: #f0fdf4;
}
.option-btn.selected {
  border-color: var(--primary);
  background: #f0fdf4;
}
.option-btn.correct {
  border-color: #10b981;
  background: #ecfdf5;
}
.option-btn.wrong {
  border-color: #ef4444;
  background: #fef2f2;
}
.option-btn.locked { cursor: default; }
.option-letter {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  background: #f1f5f9;
  color: var(--text-muted);
  margin-top: 1px;
}
.option-btn.selected .option-letter {
  background: var(--primary);
  color: white;
}
.option-btn.correct .option-letter {
  background: #10b981;
  color: white;
}
.option-btn.wrong .option-letter {
  background: #ef4444;
  color: white;
}

/* ---- EXPLANATION ---- */
.explanation-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
}
.explanation-box .icon { color: #059669; flex-shrink: 0; margin-top: 2px; }
.explanation-box .answer-label { font-size: 12px; font-weight: 600; color: #047857; margin-bottom: 4px; }
.explanation-box .text { font-size: 13px; color: #065f46; line-height: 1.6; }

/* ---- NAV BAR ---- */
.q-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.q-nav-counter {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
}

/* ---- QUESTION PALETTE ---- */
.palette-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}
.palette-overlay.open { display: flex; }
.palette-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}
.palette-panel {
  position: absolute;
  top: 0; right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: white;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  animation: slideIn 0.25s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.palette-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.palette-header h3 { font-size: 14px; font-weight: 600; }
.palette-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.palette-filter-btn {
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: white;
  cursor: pointer;
  color: var(--text);
  transition: all 0.15s;
}
.palette-filter-btn.active {
  background: var(--text);
  color: white;
  border-color: var(--text);
}
.palette-legend {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.palette-legend span { display: flex; align-items: center; gap: 4px; }
.palette-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
}
.palette-grid {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}
.palette-grid-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.palette-num {
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  border: 2px solid transparent;
}
.palette-num:hover { opacity: 0.8; }
.palette-num.current { border-color: var(--text); }
.palette-num.answered { background: var(--secondary); color: white; }
.palette-num.correct { background: #10b981; color: white; }
.palette-num.wrong { background: #ef4444; color: white; }
.palette-num.unanswered { background: #f1f5f9; color: var(--text-muted); }
.palette-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

/* ---- MODE SELECT ---- */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 600px) { .mode-grid { grid-template-columns: 1fr; } }
.mode-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}
.mode-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.mode-card.free { border-color: #a7f3d0; }
.mode-card.free:hover { border-color: #10b981; }
.mode-card.exam { border-color: #bfdbfe; }
.mode-card.exam:hover { border-color: #3b82f6; }
.mode-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
}
.mode-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.mode-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
.mode-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 16px; }

/* ---- RESULTS ---- */
.result-hero {
  background: linear-gradient(135deg, #059669, #0d9488, #0891b2);
  color: white;
  padding: 40px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.result-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.result-score-big {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}
.result-score-label {
  font-size: 16px;
  opacity: 0.7;
}
.result-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.85;
}
.result-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.3);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 768px) { .results-grid { grid-template-columns: 1fr; } }

.section-score-item {
  margin-bottom: 14px;
}
.section-score-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 4px;
}
.section-score-name .pct { font-weight: 700; }
.section-detail {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.pct-good { color: #059669; }
.pct-bad { color: #dc2626; }

.chart-container {
  width: 100%;
  max-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-card {
  border-left: 4px solid;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--card);
}
.insight-card.weak { border-color: #ef4444; }
.insight-card.strong { border-color: #10b981; }
.insight-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.insight-card.weak h4 { color: #dc2626; }
.insight-card.strong h4 { color: #059669; }
.insight-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
  font-size: 13px;
}
.insight-item.green { background: #ecfdf5; }
.insight-item.red { background: #fef2f2; }

/* ---- REVIEW ---- */
.review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.review-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.review-item.correct-item { border-color: #a7f3d0; background: #f0fdf4; }
.review-item.wrong-item { border-color: #fecaca; background: #fef2f2; }
.review-item.skip-item { border-color: #e2e8f0; background: #f8fafc; }
.review-q-section {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.review-q-text { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.review-answer { font-size: 12px; margin-bottom: 4px; }
.review-answer.correct-ans { color: #059669; font-weight: 600; }
.review-answer.wrong-ans { color: #dc2626; font-weight: 600; }
.review-answer.correct-ans-label { color: #059669; }
.review-explanation {
  font-size: 12px;
  color: var(--text-muted);
  background: white;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  line-height: 1.6;
  margin-top: 8px;
}

/* ---- HISTORY ---- */
.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 8px;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.history-item:hover { box-shadow: var(--shadow-md); }
.history-score { font-size: 18px; font-weight: 700; text-align: right; }
.history-score.good { color: #059669; }
.history-score.ok { color: #b45309; }
.history-score.bad { color: #dc2626; }

/* ---- FOOTER ---- */
.footer {
  text-align: center;
  padding: 32px 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- EXAM INFO ---- */
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 14px;
}
.info-row .label { color: var(--text-muted); }
.info-row .value { font-weight: 600; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero { padding: 40px 16px; }
  .test-header-right .text-sm-desktop { display: none; }
  .test-body { padding: 16px 12px; }
  .q-text { font-size: 15px; }
  .results-grid { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
}

/* ---- ANIMATIONS ---- */
.fade-in {
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
