/* =====================================================================
   Video KYC Verification Platform — global styles
   ===================================================================== */

/* ----- Fraud Reports tab helpers ----- */
.pill {
  display: inline-block; padding: 2px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 600; vertical-align: middle;
}
.pill.ok      { background:#dcfce7; color:#166534; }
.pill.bad     { background:#fee2e2; color:#991b1b; }
.pill.warn    { background:#fef3c7; color:#92400e; }
.pill.neutral { background:#e5e7eb; color:#374151; }

.modal {
  position: fixed; inset: 0; background: rgba(15,23,42,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; z-index: 9999;
}
.modal.hidden { display: none; }
.modal .modal-box {
  background: #fff; border-radius: 12px; width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  display: flex; flex-direction: column;
}
.modal .modal-head {
  padding: 14px 18px; border-bottom: 1px solid #e5e7eb;
  display: flex; align-items: center; justify-content: space-between;
}
.modal .modal-head h3 { margin: 0; font-size: 16px; }
.modal .modal-close {
  background: transparent; border: 0; font-size: 22px; cursor: pointer;
  color: #6b7280; padding: 0 8px;
}
.modal .modal-body { padding: 18px; overflow: auto; }

:root {
  --brand: #0b4f9c;
  --brand-dark: #07396e;
  --brand-light: #e8f1fb;
  --accent: #f59e0b;
  --success: #16a34a;
  --danger: #dc2626;
  --warn: #f59e0b;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f6f8fb;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; padding: 0;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text); background: var(--bg);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  /* Respect iOS notch / Android navigation bar */
  padding-top:    env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left:   env(safe-area-inset-left);
  padding-right:  env(safe-area-inset-right);
  /* Prevent overscroll bounce on iOS */
  overscroll-behavior-y: none;
}
/* Block native pull-to-refresh + double-tap zoom inside the verification flow */
body { touch-action: manipulation; }
/* Larger tap targets on touch devices */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; padding: 14px 22px; font-size: 16px; }
  .btn.large { min-height: 52px; padding: 16px 28px; font-size: 17px; }
  .lang-card { padding: 22px; }
  .mic-btn { width: 88px; height: 88px; font-size: 36px; }
  .tabs button { padding: 14px 18px; font-size: 15px; }
  table.data th, table.data td { padding: 14px 12px; font-size: 14px; }
  .field input, .form-row input, .form-row select, .form-row textarea {
    font-size: 16px;  /* prevents iOS auto-zoom on focus */
    padding: 14px 16px;
  }
  input[type=file] { font-size: 16px; padding: 10px; }
}
/* Treat iOS PWA standalone like a native app */
@media (display-mode: standalone) {
  .app-header { padding-top: max(18px, env(safe-area-inset-top)); }
  .app-footer { padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------------- Layout ---------------- */
.app-header {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.app-header .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.app-header .brand .logo {
  width: 36px; height: 36px; border-radius: 8px;
  background: #fff; color: var(--brand-dark);
  display: grid; place-items: center; font-weight: 800;
}
.app-header .brand .logo-img {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.10);
  padding: 4px;
  object-fit: contain;
}

/* ---------------- App footer ---------------- */
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  border-top: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  margin-top: 32px;
}
.app-footer strong { color: var(--brand-dark); font-weight: 600; }
.app-footer .footer-meta { opacity: 0.7; }
@media (max-width: 600px) {
  .app-footer { flex-direction: column; gap: 6px; text-align: center; padding: 12px 16px; }
}
.app-header nav a { color: #ffffffd9; margin-left: 18px; font-size: 14px; }
.app-header nav a.active { color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 4px; }

.container { max-width: 1180px; margin: 28px auto; padding: 0 20px; }
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: 1fr 1fr; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------------- Cards ---------------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  border: 1px solid var(--border);
}
.card h2 { margin: 0 0 4px 0; font-size: 18px; }
.card .subtitle { color: var(--muted); margin-bottom: 16px; font-size: 13px; }
.card-row { display: flex; justify-content: space-between; align-items: center; }

.stat-card { text-align: left; }
.stat-card .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-card .value { font-size: 32px; font-weight: 700; margin-top: 6px; color: var(--brand-dark); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease;
  background: var(--brand); color: #fff;
}
.btn:hover { background: var(--brand-dark); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn.secondary:hover { background: var(--brand-light); }
.btn.success { background: var(--success); }
.btn.danger { background: var(--danger); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { background: var(--bg); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.large { padding: 14px 26px; font-size: 16px; }

/* ---------------- Forms ---------------- */
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-row input[type=text], .form-row input[type=number], .form-row input[type=file],
.form-row select, .form-row textarea {
  width: 100%; padding: 10px 12px; font-size: 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff;
  font-family: inherit;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light);
}

/* ---------------- Tables ---------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
table.data th, table.data td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
table.data th { background: #f3f6fb; font-weight: 600; color: var(--brand-dark); }
table.data tbody tr:hover { background: var(--brand-light); }
table.data .actions { display: flex; gap: 6px; }

/* ---------------- Badges ---------------- */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge.pending { background: #fef3c7; color: #92400e; }
.badge.in-progress { background: #dbeafe; color: #1d4ed8; }
.badge.approved { background: #dcfce7; color: #166534; }
.badge.rejected { background: #fee2e2; color: #991b1b; }
.badge.manual-review { background: #fde68a; color: #92400e; }
.badge.expired { background: #e5e7eb; color: #374151; }
.badge.completed { background: #dcfce7; color: #166534; }

/* ---------------- Tabs ---------------- */
.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 20px; gap: 4px; }
.tabs button {
  background: none; border: none; padding: 10px 16px; font-size: 14px; font-weight: 600;
  color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent;
}
.tabs button.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------------- Verification flow ---------------- */
.verify-shell {
  min-height: 100vh; display: flex; flex-direction: column;
  background: linear-gradient(135deg, #eef4fb 0%, #fafbff 100%);
}
.verify-content {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.verify-card {
  background: #fff; max-width: 920px; width: 100%;
  border-radius: 18px; box-shadow: 0 24px 50px rgba(15, 23, 42, 0.10);
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 360px; min-height: 540px;
}
@media (max-width: 820px) { .verify-card { grid-template-columns: 1fr; min-height: 0; } }

.verify-main { padding: 36px; }
.verify-side {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.verify-side h3 { margin: 0; font-size: 16px; opacity: 0.85; }
.verify-side .progress { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.verify-side .step-item {
  display: flex; align-items: center; gap: 10px; font-size: 13px; opacity: 0.6;
}
.verify-side .step-item.active { opacity: 1; font-weight: 600; }
.verify-side .step-item.done { opacity: 1; }
.verify-side .step-item .dot {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #ffffff80;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.verify-side .step-item.active .dot { background: var(--accent); border-color: var(--accent); }
.verify-side .step-item.done .dot { background: #22c55e; border-color: #22c55e; }

.bot-line {
  background: var(--brand-light); border-radius: 14px;
  padding: 14px 16px; margin: 12px 0; font-size: 15px; line-height: 1.5;
  border-left: 4px solid var(--brand);
}
.bot-name { font-weight: 700; color: var(--brand-dark); font-size: 12px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.user-line {
  background: #f3f4f6; border-radius: 14px; padding: 12px 14px;
  margin: 12px 0; font-size: 14px; align-self: flex-end; max-width: 80%;
}

.choice-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
@media (max-width: 600px) { .lang-grid { grid-template-columns: 1fr; } }
.lang-card {
  background: #fff; border: 2px solid var(--border); border-radius: var(--radius);
  padding: 16px; cursor: pointer; text-align: center; transition: all 0.15s ease;
}
.lang-card:hover { border-color: var(--brand); background: var(--brand-light); }
.lang-card.selected { border-color: var(--brand); background: var(--brand-light); }
.lang-card .name { font-weight: 700; color: var(--brand-dark); }
.lang-card .native { color: var(--muted); font-size: 12px; margin-top: 4px; }

.camera-frame {
  position: relative; width: 100%; max-width: 480px; margin: 0 auto;
  aspect-ratio: 4/3; background: #000; border-radius: 14px; overflow: hidden;
}
.camera-frame video, .camera-frame img, .camera-frame canvas {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.recording-pill {
  position: absolute; top: 10px; left: 10px;
  background: rgba(220, 38, 38, 0.92); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
}
.recording-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

/* ---------------- Floating camera preview (picture-in-picture) ---------------- */
.pip-preview {
  position: fixed;
  bottom: 78px;
  right: 24px;
  width: 200px;
  aspect-ratio: 4/3;
  background: #000;
  border: 3px solid #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.25);
  overflow: hidden;
  z-index: 800;
}
.pip-preview video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.pip-preview .pip-rec {
  position: absolute; top: 6px; left: 6px;
  background: rgba(220,38,38,0.92); color: #fff;
  padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 5px;
}
.pip-preview .pip-rec .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: blink 1s infinite;
}
@media (max-width: 600px) {
  .pip-preview { width: 110px; bottom: calc(78px + env(safe-area-inset-bottom)); right: 8px; }
}
@media (max-width: 380px) {
  .pip-preview { width: 90px; }
}

/* ---------------- Persistent media error banner ---------------- */
.media-error {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #7f1d1d;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex; gap: 12px; align-items: center;
  max-width: 560px; width: 92%;
  box-shadow: 0 14px 30px rgba(15,23,42,0.15);
  z-index: 950;
  font-size: 13px;
}
.media-error .me-icon {
  flex: 0 0 32px; height: 32px;
  background: var(--danger); color: #fff;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 18px; font-weight: 800;
}
.media-error .me-body { flex: 1; line-height: 1.45; }
.media-error .me-body a { color: var(--brand); font-weight: 600; }
.media-error .me-close {
  background: transparent; border: 0;
  font-size: 22px; cursor: pointer; color: #7f1d1d;
  line-height: 1; padding: 4px 8px;
}

/* ---------------- Voice (STT) panel ---------------- */
.voice-panel {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin: 12px 0;
}
.voice-mic { display: flex; align-items: center; gap: 16px; }
.mic-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 26px;
  box-shadow: 0 6px 20px rgba(11,79,156,0.32);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.mic-btn:hover { transform: translateY(-1px); }
.mic-btn.recording {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  box-shadow: 0 0 0 0 rgba(220,38,38,0.6);
  animation: micPulse 1.2s infinite;
}
@keyframes micPulse {
  0%   { box-shadow: 0 0 0 0 rgba(220,38,38,0.55); }
  70%  { box-shadow: 0 0 0 22px rgba(220,38,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}
.mic-icon { line-height: 1; }
.mic-status { color: var(--muted); font-size: 14px; }
.voice-transcript {
  margin-top: 14px;
  min-height: 44px;
  padding: 12px 14px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 10px;
  font-size: 15px;
}
.voice-transcript:empty::before { content: '...'; color: var(--muted); }
.voice-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.voice-fallback p { margin: 0; }
/* ---------------- Fraud detection toast ---------------- */
.fraud-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -20px);
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.30);
  display: flex; gap: 10px; align-items: center;
  max-width: 460px; width: 92%;
  z-index: 990;
  opacity: 0; pointer-events: none;
  transition: all 0.25s ease;
  font-size: 14px; line-height: 1.4;
}
.fraud-toast.show { opacity: 1; transform: translate(-50%, 0); }
.fraud-toast .fi { font-size: 22px; flex: 0 0 auto; }
.fraud-toast .ft { flex: 1; font-weight: 500; }
@media (display-mode: standalone) {
  .fraud-toast { top: max(24px, env(safe-area-inset-top)); }
}

/* ---- Custom welcome greeting (admin-defined) ---- */
.welcome-greeting {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-left: 4px solid #0b4f9c;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px rgba(11, 79, 156, 0.08);
}
.welcome-greeting .wg-line {
  font-size: 15px;
  line-height: 1.5;
  color: #1e3a8a;
  font-weight: 500;
}
.welcome-greeting .wg-line + .wg-line {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(30, 58, 138, 0.2);
}
.welcome-greeting .wg-hi,
.welcome-greeting .wg-mr {
  font-size: 14px;
}

/* ---- Active liveness overlay ---- */
.liveness-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(11, 79, 156, 0.97);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.liveness-overlay .lv-inner {
  max-width: 480px; width: 100%; text-align: center; color: #fff;
}
.liveness-overlay .lv-title {
  font-size: 22px; font-weight: 700; margin-bottom: 6px;
  line-height: 1.3;
}
.liveness-overlay .lv-status {
  font-size: 14px; opacity: 0.85; margin-bottom: 16px;
  min-height: 20px;
}
.liveness-overlay .lv-video {
  width: 100%; max-width: 320px; max-height: 50vh;
  border-radius: 16px;
  background: #000;
  border: 3px solid rgba(255,255,255,0.4);
  transform: scaleX(-1);  /* mirror so customer sees themselves naturally */
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.liveness-overlay .lv-meter-wrap {
  margin-top: 16px;
}
.liveness-overlay .lv-meter {
  height: 12px; background: rgba(255,255,255,0.2);
  border-radius: 999px; overflow: hidden;
}
.liveness-overlay .lv-bar {
  height: 100%; background: #facc15; width: 0%;
  transition: width 150ms linear;
}
.liveness-overlay .lv-counter {
  margin-top: 10px; font-weight: 600; font-size: 16px;
}

.replay-btn {
  background: rgba(11, 79, 156, 0.10);
  color: var(--brand-dark);
  border: 1px solid rgba(11, 79, 156, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 8px;
  vertical-align: middle;
  transition: background 0.15s ease;
}
.replay-btn:hover  { background: rgba(11, 79, 156, 0.18); }
.replay-btn:active { transform: translateY(1px); }
@media (hover: none) and (pointer: coarse) {
  .replay-btn { padding: 8px 14px; font-size: 14px; min-height: 36px; }
}
.voice-transcript-label {
  margin-top: 14px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted);
}
.voice-transcript {
  font-size: 18px;
  font-weight: 500;
  min-height: 56px;
  line-height: 1.5;
}
.voice-transcript:empty::before {
  content: 'Your words will appear here as you speak…';
  color: #94a3b8; font-weight: 400; font-style: italic; font-size: 14px;
}
.voice-unsupported {
  text-align: center; padding: 18px 12px;
}
.voice-unsupported h3 { color: var(--brand-dark); }
.voice-unsupported p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.upload-progress {
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
  margin: 12px auto;
  max-width: 360px;
}
.upload-progress .bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
  transition: width 0.3s ease;
}

.complete-banner {
  text-align: center; padding: 32px;
}
.complete-banner .icon {
  width: 80px; height: 80px; border-radius: 50%; background: #dcfce7;
  display: grid; place-items: center; margin: 0 auto 16px;
  font-size: 40px; color: var(--success);
}
.complete-banner h2 { margin: 0 0 8px; color: var(--brand-dark); }

/* ---------------- Misc helpers ---------------- */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.flex-row { display: flex; gap: 10px; align-items: center; }
.flex-spread { display: flex; justify-content: space-between; align-items: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
.code-block {
  background: #0f172a; color: #e2e8f0; padding: 10px 14px;
  border-radius: 8px; font-family: 'Consolas', 'Monaco', monospace;
  font-size: 12px; word-break: break-all; user-select: all;
}
.copy-link-row { display: flex; gap: 8px; }
.copy-link-row .code-block { flex: 1; }

.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: #111827; color: #fff; padding: 12px 18px; border-radius: 8px;
  box-shadow: var(--shadow); font-size: 13px;
  opacity: 0; transform: translateY(10px); transition: all 0.2s ease;
  z-index: 1000;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55);
  display: none; align-items: center; justify-content: center; z-index: 999;
}
.modal-overlay.show { display: flex; }
.modal-card {
  background: #fff; border-radius: var(--radius); max-width: 720px; width: 92%;
  max-height: 86vh; overflow-y: auto; padding: 24px;
}
.modal-card h3 { margin-top: 0; }
.modal-close { float: right; cursor: pointer; color: var(--muted); font-size: 22px; }

.log-list { max-height: 380px; overflow-y: auto; }
.log-item {
  padding: 10px; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.log-item:last-child { border: 0; }
.log-item .when { color: var(--muted); font-size: 11px; }

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