/* ====================================================
   HOLDNIC ACADEMIA · Plataforma de Aprendizaje
   Tema LIGHT · Línea gráfica Holdnic Consultors®
   Colores: #000 #FFF #1900FF #A100FF #E900FF
   Tipografías: Ranberg (títulos) · Ranberg Rounded (taglines) · Outfit (cuerpo)
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800;900&display=swap');

/* Ranberg via base64 – loaded in pages that need it, but fallback here */
@font-face {
  font-family: 'Ranberg';
  src: url('data:font/otf;base64,T1RUTwAOAIAAAwBgQ0ZGIAyAgc4AAAPsAAAMfERTSUcAAAABAAAfAAAAAAhHREVGABMAOAAAFEAAAAAWR1BPU9L52eYAABRYAAAKmEdTVUIAGQAMAAAe8AAAABBPUy8yMJotlwAAAVAAAABgU1RBVGqZYYQAAB8IAAAAHGNtYXAEFAdZAAACkAAAAVxoZWFkITqb4gAAAOwAAAA2aGhlYQWfAoIAAAEkAAAAJGhtdHhzKwoPAAABsAAAAOBtYXhwADhQAAAAAUgAAAAGbmFtZcPzZL0AABBoAAADtXBvc3T/nwAyAAAUIAAAACAAAQAAAAEAAL/MBhRfDzz1AAMD6AAAAADfqyxpAAAAAN+rLJH/4v84AusC0AAAAAMAAgAAAAA=') format('opentype');
  font-display: swap;
}

:root {
  /* ── Brand Colors ── */
  --bk: #000000;
  --wh: #FFFFFF;
  --blue: #1900FF;
  --purple: #A100FF;
  --pink: #E900FF;

  /* ── Gradients ── */
  --grad: linear-gradient(135deg, #1900FF, #A100FF, #E900FF);
  --grad-h: linear-gradient(90deg, #1900FF, #E900FF);
  --grad-v: linear-gradient(180deg, #1900FF, #E900FF);
  --grad-blue: linear-gradient(135deg, #1900FF, #4D33FF);
  --grad-purple: linear-gradient(135deg, #A100FF, #C64DFF);
  --grad-subtle: linear-gradient(135deg, rgba(25,0,255,0.04), rgba(233,0,255,0.04));

  /* ── Light Theme Surfaces ── */
  --bg: #FAFBFE;
  --bg2: #F4F5FA;
  --bg3: #EEEEF6;
  --card: #FFFFFF;
  --card-hover: #FAFBFE;

  /* ── Text ── */
  --text: #0F0F24;
  --text-dark: #0A0A1A;
  --text-mid: #5A5A7E;
  --text-light: #8888A8;
  --muted: rgba(15,15,36,0.45);

  /* ── Borders ── */
  --border: rgba(25,0,255,0.10);
  --border2: rgba(0,0,0,0.06);
  --border-light: #E8E8F0;

  /* ── Sidebar (stays dark) ── */
  --sidebar-bg: #050510;
  --sidebar-card: #0C0C20;
  --sidebar-text: rgba(255,255,255,0.55);
  --sidebar-text-light: rgba(255,255,255,0.3);
  --sidebar-border: rgba(255,255,255,0.06);

  /* ── Accents ── */
  --teal: #00D68F;
  --teal-light: #33E0A5;
  --red: #FF3355;
  --green: #00D68F;
  --amber: #FFB020;

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.08);
  --shadow-blue: 0 8px 32px rgba(25,0,255,0.12);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.03);

  /* ── Radii ── */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-pill: 100px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(25,0,255,0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(25,0,255,0.35); }

/* ===== LAYOUT ===== */
.app-wrapper { display: flex; min-height: 100vh; }
.sidebar { width: 272px; background: var(--sidebar-bg); color: #fff; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.main-content { flex: 1; margin-left: 272px; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.content-area { flex: 1; padding: 32px 40px; max-width: 1200px; width: 100%; margin: 0 auto; }

/* ===== SIDEBAR ===== */
.sidebar-header {
  padding: 24px 22px 20px;
  border-bottom: 1px solid var(--sidebar-border);
}
.sidebar-logo {
  font-family: 'Ranberg', 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--grad-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sidebar-subtitle {
  font-size: 10px;
  color: var(--sidebar-text-light);
  margin-top: 3px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
}
.sidebar-user {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--sidebar-border);
}
.user-avatar {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(25,0,255,0.25);
}
.user-info .user-name { font-size: 13px; font-weight: 600; color: #fff; }
.user-info .user-level { font-size: 10px; color: var(--pink); display: flex; align-items: center; gap: 4px; }
.user-points {
  margin-left: auto;
  background: rgba(25,0,255,0.12);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  color: #8888FF;
}
.sidebar-nav { flex: 1; padding: 14px 10px; overflow-y: auto; }
.nav-section { margin-bottom: 18px; }
.nav-section-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sidebar-text-light);
  padding: 0 12px;
  margin-bottom: 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--sidebar-text);
  font-size: 13px; font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}
.nav-item:hover { background: rgba(25,0,255,0.08); color: #fff; }
.nav-item.active { background: rgba(25,0,255,0.14); color: #8888FF; }
.nav-item .nav-icon { font-size: 15px; width: 22px; text-align: center; }
.nav-item .nav-badge {
  margin-left: auto;
  background: var(--blue);
  color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  min-width: 22px; text-align: center;
}
.nav-item.locked { opacity: 0.3; pointer-events: none; }
.nav-item.locked .nav-icon::after { content: '🔒'; font-size: 10px; }
.sidebar-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--sidebar-border);
  font-size: 10px;
  color: var(--sidebar-text-light);
}

/* ===== TOP BAR ===== */
.topbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-breadcrumb { font-size: 12px; color: var(--text-light); font-weight: 400; }
.topbar-breadcrumb span { color: var(--blue); font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-points {
  display: flex; align-items: center; gap: 6px;
  background: rgba(25,0,255,0.05);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  color: var(--blue);
}

/* ===== CARDS ===== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-dark {
  background: var(--sidebar-bg);
  border: 1px solid rgba(255,255,255,0.06);
  color: #fff;
}

/* ===== DAY CARDS ===== */
.day-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.day-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.day-card-top { height: 4px; }
.day-card-top.gold { background: var(--grad-h); }
.day-card-top.teal { background: linear-gradient(90deg, var(--teal), var(--teal-light)); }
.day-card-top.petrol { background: var(--grad-blue); }
.day-card-body { padding: 22px 20px; }
.day-card-number { font-size: 28px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.day-card-number.gold { color: var(--blue); }
.day-card-number.teal { color: var(--teal); }
.day-card-number.petrol { color: var(--purple); }
.day-card-title { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.day-card-desc { font-size: 12px; color: var(--text-mid); line-height: 1.5; font-weight: 300; }
.day-card-footer {
  padding: 12px 20px;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border-light);
}
.day-card-date { font-size: 11px; color: var(--text-light); font-weight: 400; }
.day-card-progress { display: flex; align-items: center; gap: 8px; }
.progress-bar { width: 72px; height: 5px; background: var(--bg3); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; transition: width 0.5s ease; }
.progress-fill.gold { background: var(--grad-h); }
.progress-fill.teal { background: var(--teal); }
.progress-pct { font-size: 11px; font-weight: 700; }

/* ===== FICHA ===== */
.ficha-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 14px;
}
.ficha-header {
  padding: 14px 20px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.ficha-header:hover { background: var(--bg2); }
.ficha-badge {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.ficha-badge.gold { background: rgba(25,0,255,0.06); color: var(--blue); }
.ficha-badge.teal { background: rgba(0,214,143,0.06); color: var(--teal); }
.ficha-badge.petrol { background: rgba(161,0,255,0.06); color: var(--purple); }
.ficha-title { font-size: 14px; font-weight: 600; color: var(--text-dark); flex: 1; }
.ficha-status { font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.ficha-status.done { color: var(--teal); }
.ficha-status.pending { color: var(--text-light); }
.ficha-body { padding: 0 20px 20px; display: none; }
.ficha-body.open { display: block; }
.ficha-section-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 12px 0 8px;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 12px;
}
.ficha-section-title.gold { color: var(--blue); border-color: rgba(25,0,255,0.2); }
.ficha-section-title.teal { color: var(--teal); border-color: rgba(0,214,143,0.2); }
.ficha-section-title.petrol { color: var(--purple); border-color: rgba(161,0,255,0.2); }
.ficha-field { margin-bottom: 14px; }
.ficha-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.ficha-input, .ficha-textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 13px; color: var(--text-dark);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.ficha-input:focus, .ficha-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25,0,255,0.06);
  background: var(--wh);
}
.ficha-textarea { min-height: 80px; }
.ficha-actions {
  display: flex; gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  font-size: 13px;
  padding: 10px 22px;
}
.btn-gold {
  background: var(--grad-h);
  color: var(--wh);
  box-shadow: 0 6px 20px rgba(25,0,255,0.2);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(25,0,255,0.3); }
.btn-petrol { background: var(--blue); color: var(--wh); }
.btn-petrol:hover { background: var(--purple); }
.btn-teal { background: var(--teal); color: var(--wh); }
.btn-teal:hover { background: var(--teal-light); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--blue); background: rgba(25,0,255,0.03); }
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 14px; }

/* ===== GAME CARDS ===== */
.game-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: all 0.3s; cursor: pointer;
  text-decoration: none; color: inherit;
}
.game-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.game-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.game-icon.gold { background: rgba(25,0,255,0.06); }
.game-icon.teal { background: rgba(0,214,143,0.06); }
.game-icon.petrol { background: rgba(161,0,255,0.06); }
.game-info { flex: 1; }
.game-title { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.game-meta { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.game-points {
  font-size: 13px; font-weight: 700;
  color: var(--blue);
  background: rgba(25,0,255,0.05);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.game-done .game-points { background: rgba(0,214,143,0.06); color: var(--teal); }

/* ===== QUIZ ===== */
.quiz-container { max-width: 700px; margin: 0 auto; }
.quiz-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.quiz-progress-bar { flex: 1; height: 6px; background: var(--bg3); border-radius: 4px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: var(--grad-h); border-radius: 4px; transition: width 0.4s; }
.quiz-counter { font-size: 12px; font-weight: 600; color: var(--text-mid); white-space: nowrap; }
.quiz-question { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; line-height: 1.4; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px; color: var(--text);
  transition: all 0.2s;
  display: flex; align-items: center; gap: 12px;
  background: var(--card);
}
.quiz-option:hover { border-color: rgba(25,0,255,0.25); background: rgba(25,0,255,0.02); }
.quiz-option.selected { border-color: var(--blue); background: rgba(25,0,255,0.04); }
.quiz-option.correct { border-color: var(--teal); background: rgba(0,214,143,0.04); color: #006644; }
.quiz-option.wrong { border-color: var(--red); background: rgba(255,51,85,0.04); color: var(--red); }
.quiz-option-letter {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.quiz-explanation {
  margin-top: 16px; padding: 14px;
  background: var(--bg2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
  font-size: 13px; color: var(--text-mid);
}
.quiz-result { text-align: center; padding: 40px 20px; }
.quiz-score {
  font-size: 64px; font-weight: 900; line-height: 1;
  background: var(--grad-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.quiz-result-label { font-size: 14px; color: var(--text-mid); margin-top: 8px; }
.quiz-stars { font-size: 36px; margin: 16px 0; }
.quiz-points-earned {
  font-size: 18px; font-weight: 700; color: var(--wh);
  background: var(--grad-h);
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  display: inline-block; margin-top: 12px;
}

/* ===== LEADERBOARD ===== */
.lb-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.lb-row:hover { background: var(--bg2); }
.lb-rank { font-size: 16px; font-weight: 800; width: 30px; text-align: center; }
.lb-rank.gold { color: var(--blue); }
.lb-rank.silver { color: var(--purple); }
.lb-rank.bronze { color: var(--pink); }
.lb-name { flex: 1; font-size: 14px; font-weight: 600; color: var(--text-dark); }
.lb-points { font-size: 13px; font-weight: 700; color: var(--blue); }

/* ===== BADGES ===== */
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.badge-item {
  text-align: center; padding: 20px 12px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.badge-item.earned { border-color: var(--blue); box-shadow: var(--shadow-blue); }
.badge-item.locked { opacity: 0.35; filter: grayscale(1); }
.badge-icon { font-size: 32px; margin-bottom: 8px; }
.badge-name { font-size: 11px; font-weight: 700; color: var(--text-dark); }
.badge-desc { font-size: 10px; color: var(--text-light); margin-top: 4px; }

/* ===== AUTH PAGES (Login/Registro) ===== */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  background: var(--wh);
  position: relative;
  overflow: hidden;
}
.auth-wrapper::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(25,0,255,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(233,0,255,0.04) 0%, transparent 55%);
}
.auth-wrapper::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(25,0,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,0,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.auth-left {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.auth-card {
  width: 100%; max-width: 480px;
  width: calc(100% - 40px);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(25,0,255,0.08);
  border-radius: 24px;
  padding: 40px;
  color: var(--text-dark);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}
.auth-logo {
  font-family: 'Ranberg', 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  background: var(--grad-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-subtitle {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow: hidden; }
.auth-label {
  font-size: 11px; font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.auth-input {
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%; max-width: 100%;
}
.auth-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25,0,255,0.06);
  background: var(--wh);
}
.auth-input::placeholder { color: var(--text-light); }
.auth-row { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px !important; overflow: hidden; }
.auth-error {
  background: rgba(255,51,85,0.06);
  border: 1px solid rgba(255,51,85,0.15);
  color: var(--red);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  display: none;
}
.auth-error.show { display: block; }
.auth-link { color: var(--blue); text-decoration: none; font-size: 13px; font-weight: 600; }
.auth-link:hover { text-decoration: underline; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-mid); }
.auth-form select.auth-input {
  width: 100% !important; max-width: 100% !important;
  box-sizing: border-box !important;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238888A8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--wh);
  box-shadow: var(--shadow-lg);
  transform: translateY(100px); opacity: 0;
  transition: all 0.3s;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--teal); }
.toast.error { background: var(--red); }
.toast.points { background: var(--blue); color: var(--wh); }

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 24px; }
.section-eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--grad-h);
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.section-desc { font-size: 14px; color: var(--text-mid); margin-top: 8px; max-width: 500px; font-weight: 300; }

/* ===== GRIDS ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .content-area { padding: 20px 16px; }
  .topbar { padding: 12px 16px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .auth-card { margin: 20px; padding: 28px 20px; }
  .auth-row { grid-template-columns: 1fr !important; }
}
@media (max-width: 520px) {
  .auth-row { grid-template-columns: 1fr !important; }
  .auth-card { padding: 28px 20px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.animate-in { animation: fadeInUp 0.5s ease forwards; }
.animate-d1 { animation-delay: .05s; opacity: 0; }
.animate-d2 { animation-delay: .1s; opacity: 0; }
.animate-d3 { animation-delay: .15s; opacity: 0; }
.animate-d4 { animation-delay: .2s; opacity: 0; }
.animate-d5 { animation-delay: .25s; opacity: 0; }

/* ===== UTILITIES ===== */
.text-gold { color: var(--blue); }
.text-teal { color: var(--teal); }
.text-petrol { color: var(--purple); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }

/* ===== HOLDNIC BRAND LINE (gradient bottom on cards) ===== */
.brand-line { height: 3px; background: var(--grad-h); border-radius: 0 0 var(--radius) var(--radius); }
