/* ================================================================
   CareerSadhana - Main Stylesheet
   Unified Homepage Design Language: Navy #0F172A | Orange #ea580c | White #FFFFFF
   ================================================================ */

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

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

:root {
  --cs-navy: #0F172A;
  --cs-orange: #EA580C;
  --cs-white: #FFFFFF;
  --cs-deep-navy: #0B1727;
  --cs-ice: #E2E8F0;
  --cs-rust: #933F16;
  --cs-slate: #94A3B8;
  --cs-dark-slate: #1E293B;

  --navy: #0F172A;
  --navy-dark: #0B1727;
  --navy-darker: #0B1727;
  --navy-light: #E2E8F0;
  --orange: #EA580C;
  --orange-dark: #933F16;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --text: #0F172A;
  --text-muted: #94A3B8;
  --muted: #94A3B8;
  --primary-color: #EA580C;
  --text-color: #0F172A;
  --bg-color: #E2E8F0;
  --light-navy: #E2E8F0;
  --success: #0F172A;
  --warning: #933F16;
  --danger: #933F16;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(15,23,42,0.05);
  --shadow-lg: 0 10px 30px rgba(15,23,42,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Sora', sans-serif;
  line-height: 1.25;
  color: #0f172a;
  font-weight: 700;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── CONTAINER ──────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ── NAV ────────────────────────────────────────── */
#main-nav {
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 38px; height: 38px; object-fit: contain; background: transparent; }

.logo-text { font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 700; line-height: 1; }
.logo-text .career { color: #0f172a; }
.logo-text .sadhana { color: var(--orange); margin-left: 3px; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-btn {
  background: none; border: none;
  color: #94A3B8;
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  display: inline-block;
}
.nav-btn:hover { background: #FFFFFF; color: #0f172a; }
.nav-btn.active { background: #E2E8F0; color: var(--orange); font-weight: 600; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ── PAGE HERO ──────────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: white;
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: .75rem; }
.page-hero p { opacity: .85; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── HOME HERO ──────────────────────────────────── */
.hero-section {
  background: var(--navy);
  color: white;
  padding: 4rem 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.hero-content { max-width: 560px; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,106,0,.25);
  color: #E2E8F0;
  border: 1px solid rgba(255,106,0,.4);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.hero-content h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.hero-content h1 .highlight { color: var(--orange); }
.hero-content p { opacity: .85; font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: 'Sora',sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--orange); }
.stat span { font-size: .85rem; opacity: .75; }

.hero-illustration { position: relative; width: 340px; z-index: 1; }


.card1 { top: 10px; left: 0; animation-delay: 0s; }
.card2 { top: 80px; right: -20px; animation-delay: 1.3s; }
.card3 { bottom: 40px; left: 20px; animation-delay: 2.6s; }

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── BUTTONS ────────────────────────────────────── */
.btn-primary {
  background: var(--orange);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transition: .2s;
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,106,0,.35); }

.btn-outline {
  background: none;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 11px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transition: .2s;
  display: inline-block;
  text-decoration: none;
}
.btn-outline:hover { background: var(--light-navy); }

/* The hero section has a navy background. Without this override,
   .btn-outline's navy text/border blend into it and the "Take Versant
   Test" button becomes invisible even though it is a normal, rendered
   element (not display:none). Force it to white/light styling here. */
.hero-section .btn-outline {
  color: #ffffff;
  border-color: #ffffff;
}
.hero-section .btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

.btn-full { width: 100%; text-align: center; padding: 13px; }

/* ── CARDS ──────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

/* ── FEATURES SECTION ───────────────────────────── */
.features-section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: 2rem; margin-bottom: .5rem; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: .25s;
  display: block;
}
.feat-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.5rem; }
.feat-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feat-card p { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.feat-link { color: var(--navy); font-weight: 500; font-size: .9rem; }

/* ── HOW IT WORKS ───────────────────────────────── */
.how-section { padding: 4rem 0; background: var(--navy); color: white; }
.how-section .section-header h2 { color: white; }
.how-section .section-header p { color: rgba(255,255,255,.7); }
.steps-row { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.step-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; max-width: 220px; }
.step-num { font-family: 'Sora',sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--orange); margin-bottom: .75rem; }
.step-card h3 { margin-bottom: .5rem; }
.step-card p { font-size: .9rem; opacity: .8; }
.step-arrow { font-size: 1.5rem; opacity: .5; }

/* ── CTA SECTION ────────────────────────────────── */
.cta-section { padding: 4rem 0; }
.cta-box { background: var(--navy); border-radius: 20px; padding: 3rem; text-align: center; color: white; }
.cta-box h2 { font-size: 2rem; margin-bottom: .75rem; }
.cta-box p { opacity: .8; margin-bottom: 2rem; font-size: 1.05rem; }

/* ── FORMS ──────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .4rem; color: var(--text); }
.form-hint { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }
.form-textarea, .form-input-auth, .form-input-contact, .search-input, .filter-select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: .2s;
}
.form-textarea:focus, .form-input-auth:focus, .form-input-contact:focus, .search-input:focus {
  outline: none;
  border-color: var(--navy);
  background: white;
}
.form-textarea { resize: vertical; }

/* ── UPLOAD ZONE ────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: .25s;
  background: var(--bg);
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--navy); background: var(--light-navy); }
.upload-zone p { color: var(--muted); font-size: .92rem; }
.upload-zone strong { color: var(--navy); }
.file-name-display { margin-top: .5rem; font-size: .875rem; color: var(--navy); font-weight: 500; }

/* ── LOADING ────────────────────────────────────── */
.loading-spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-bar { height: 5px; background: var(--border); border-radius: 99px; overflow: hidden; margin-top: 1.5rem; }
.loading-fill { height: 100%; background: var(--navy); border-radius: 99px; animation: loadAnim 2.5s ease forwards; }
@keyframes loadAnim { from { width: 0; } to { width: 88%; } }

/* ── ATS RESULT ─────────────────────────────────── */
.score-result { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.score-header { display: flex; align-items: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.score-circle {
  width: 130px; height: 130px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 7px solid var(--border);
  flex-shrink: 0;
}
.score-num { font-family: 'Sora',sans-serif; font-size: 2.2rem; font-weight: 700; }
.score-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.score-breakdown { flex: 1; min-width: 200px; }
.bar-item { margin-bottom: 1rem; }
.bar-item .bar-label { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: .35rem; }
.bar-track { height: 9px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; transition: width 1.2s ease; }

.suggestion-item {
  background: var(--bg);
  border-left: 4px solid var(--border);
  border-radius: 0 8px 8px 0;
  padding: .8rem 1rem;
  margin-bottom: .75rem;
  font-size: .9rem;
  line-height: 1.55;
}
.suggestion-item.high { border-color: var(--danger); background: #FFFFFF; }
.suggestion-item.medium { border-color: var(--orange); background: #FFFFFF; }
.suggestion-item.low { border-color: var(--success); background: #FFFFFF; }
.severity-badge { display: inline-block; font-size: .7rem; font-weight: 600; padding: 2px 9px; border-radius: 99px; margin-right: .5rem; text-transform: uppercase; }
.badge-high { background: #E2E8F0; color: #933F16; }
.badge-medium { background: #E2E8F0; color: #933F16; }
.badge-low { background: #E2E8F0; color: #0F172A; }
.kw-tag { background: var(--light-navy); color: var(--navy); border-radius: 99px; padding: 3px 12px; font-size: .8rem; font-weight: 500; display: inline-block; margin: 3px; }
.kw-missing { background: #FFFFFF; color: #933F16; }

/* ── JOBS ───────────────────────────────────────── */
.tab-row { display: flex; gap: 8px; margin-bottom: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 6px; }
.tab-btn { flex: 1; padding: 10px; border: none; border-radius: 8px; cursor: pointer; font-family: 'DM Sans',sans-serif; font-size: .95rem; font-weight: 500; transition: .2s; background: none; color: var(--muted); }
.tab-btn.active { background: var(--navy); color: white; }
.tab-btn:hover:not(.active) { background: var(--bg); }

.search-filter-row { display: flex; gap: 12px; margin-bottom: 1.25rem; flex-wrap: wrap; }
.search-input { flex: 1; min-width: 200px; }
.filter-select { width: auto; min-width: 160px; cursor: pointer; }

.jobs-count { font-size: .9rem; color: var(--muted); margin-bottom: .75rem; }

.table-wrapper { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); }
.job-table { width: 100%; border-collapse: collapse; background: var(--card); min-width: 720px; }
.job-table th { background: var(--navy); color: white; text-align: left; padding: 12px 16px; font-size: .85rem; font-weight: 500; white-space: nowrap; }
.job-table th:first-child { border-radius: 14px 0 0 0; }
.job-table th:last-child { border-radius: 0 14px 0 0; }
.job-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .875rem; vertical-align: middle; }
.job-table tr:last-child td { border-bottom: none; }
.job-table tbody tr:hover td { background: var(--bg); }
.apply-btn { background: var(--orange); color: white; border: none; padding: 7px 16px; border-radius: 8px; font-size: .8rem; font-weight: 500; cursor: pointer; font-family: 'DM Sans',sans-serif; white-space: nowrap; transition: .2s; text-decoration: none; display: inline-block; }
.apply-btn:hover { background: var(--orange-dark); }
.date-badge { display: inline-block; font-size: .78rem; padding: 3px 9px; border-radius: 99px; font-weight: 500; white-space: nowrap; }
.date-active { background: #E2E8F0; color: #0F172A; }
.date-soon { background: #E2E8F0; color: #933F16; }
.date-exp { background: #E2E8F0; color: #933F16; }
.edu-tag, .qual-tag { font-size: .78rem; background: var(--light-navy); color: var(--navy); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }

.pagination { display: flex; gap: 6px; margin-top: 1.25rem; justify-content: center; flex-wrap: wrap; }
.page-btn { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 6px 14px; font-family: 'DM Sans',sans-serif; font-size: .875rem; cursor: pointer; transition: .2s; }
.page-btn.active, .page-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }

/* ── ABOUT ──────────────────────────────────────── */
.about-mission-card {
  background: var(--navy);
  color: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}
.about-mission-card h2 { font-size: 1.8rem; margin-bottom: .75rem; }
.about-mission-card p { opacity: .88; line-height: 1.75; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.social-links-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn {
  background: var(--light-navy);
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 16px;
  font-family: 'DM Sans',sans-serif;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: .2s;
  display: inline-block;
}
.social-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.success-banner { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 10px; padding: 1rem; color: #0F172A; font-size: .9rem; margin-top: 1rem; }

/* ── MODAL ──────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.modal {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-title { font-size: 1.4rem; margin-bottom: .25rem; }
.modal-sub { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.auth-error { background: #FFFFFF; border: 1px solid #E2E8F0; color: #933F16; border-radius: 8px; padding: .75rem; font-size: .875rem; margin-bottom: 1rem; }
.auth-switch { text-align: center; margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.auth-switch a { color: var(--navy); cursor: pointer; font-weight: 500; text-decoration: underline; }

.modal-tabs { display: flex; gap: 4px; background: var(--bg); border-radius: 10px; padding: 4px; margin-bottom: 1.5rem; }
.modal-tab { flex: 1; padding: 9px; border: none; border-radius: 7px; cursor: pointer; font-family: 'DM Sans',sans-serif; font-size: .9rem; font-weight: 500; transition: .2s; background: none; color: var(--muted); }
.modal-tab.active { background: var(--navy); color: white; }

/* ── FOOTER ─────────────────────────────────────── */
footer { background: var(--navy); color: white; margin-top: 4rem; }
.footer-inner { display: flex; gap: 3rem; padding: 3rem 1.5rem; flex-wrap: wrap; justify-content: space-between; }
.footer-brand p { opacity: .7; font-size: .9rem; margin-top: .5rem; max-width: 260px; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-links > div { display: flex; flex-direction: column; gap: .5rem; }
.footer-links strong { opacity: .6; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .25rem; }
.footer-links a { opacity: .8; font-size: .9rem; transition: .2s; }
.footer-links a:hover { opacity: 1; color: var(--orange); }
.footer-bottom { background: rgba(0,0,0,.2); text-align: center; padding: 1rem; font-size: .85rem; opacity: .8; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 64px; left: 0; right: 0; background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
  }
  .nav-links.open { display: flex; }
  .nav-btn { width: 100%; text-align: left; }
  .hero-section { flex-direction: column; text-align: center; padding: 2.5rem 1.5rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-illustration { display: none; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .form-row-2 { grid-template-columns: 1fr; }
  .score-header { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-links { gap: 2rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.7rem; }
  .page-hero h1 { font-size: 1.7rem; }
  .card { padding: 1.25rem; }
  .tab-row { flex-direction: row; }
  .search-filter-row { flex-direction: column; }
  .filter-select { width: 100%; }
}

/* Mind Map Styles */
.mind-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 10px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin: 24px 0;
    overflow-x: auto;
}

.mm-node {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--navy);
    border-radius: 30px;
    font-weight: bold;
    color: var(--navy);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 120px;
    z-index: 2;
}

.mm-children {
    display: flex;
    gap: 20px;
    position: relative;
    padding-top: 20px;
}

/* Connecting lines */
.mm-children::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--navy);
}

.mm-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.mm-child::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--navy);
}

.mm-child:first-child::before {
    left: 50%;
    width: 50%;
}

.mm-child:last-child::before {
    left: 0;
    width: 50%;
}

.mm-child:first-child:last-child::before {
    display: none;
}

.mm-child .mm-node {
    border-color: #0F172A;
    color: #0F172A;
    font-size: 14px;
    padding: 10px 20px;
}


/* ── UNIFIED HOMEPAGE DESIGN SYSTEM FOR ADMIN & DASHBOARDS ── */
.ad-top {
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 64px;
  z-index: 50;
  border-bottom: 1px solid #1e293b;
}
.ad-top h1 {
  font-family: 'Sora', sans-serif !important;
  font-size: 18px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  margin: 0;
}
.ad-badge {
  background: rgba(234, 88, 12, 0.2) !important;
  border: 1px solid rgba(234, 88, 12, 0.45) !important;
  color: #EA580C !important;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 10px;
}
.ad-tab, .nav-link.ad-tab {
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #94A3B8 !important;
  transition: all 0.15s ease !important;
}
.ad-tab:hover:not(.active), .nav-link.ad-tab:hover:not(.active) {
  background: #FFFFFF !important;
  color: #0f172a !important;
  border-color: #E2E8F0 !important;
}
.ad-tab.active, .nav-link.ad-tab.active {
  background: #ea580c !important;
  border-color: #ea580c !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(234,88,12,0.25) !important;
}
.ad-panel, .panel {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 20px rgba(15,23,42,0.04) !important;
}
.stat-box, .stat-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 18px !important;
  box-shadow: 0 2px 10px rgba(15,23,42,0.03) !important;
}
.stat-box .n, .stat-card .value {
  font-family: 'Sora', sans-serif !important;
  font-weight: 800 !important;
  font-size: 26px !important;
  color: #0f172a !important;
}
.btn-sm {
  background: #ea580c !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
}
.btn-sm:hover {
  background: #933F16 !important;
}
.btn-sm.secondary {
  background: #0f172a !important;
}
.sidebar-menu a.active {
  background: #E2E8F0 !important;
  color: #ea580c !important;
  font-weight: 600 !important;
  border-left: 3px solid #ea580c !important;
}
.sidebar-menu a:hover:not(.active) {
  background: #FFFFFF !important;
  color: #0f172a !important;
}
