/* ============================================================
   KIRIMO — Global Stylesheet v2
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --blue:        #2D5F7E;
  --blue-dark:   #1e4560;
  --blue-light:  #3d7a9e;
  --orange:      #E88C52;
  --orange-dark: #d4763c;
  --orange-light:#f0a272;
  --soft-blue:   #E8F0F6;
  --soft-orange: #FDF3EC;
  --dark:        #2C3E50;
  --muted:       #7A8B9A;
  --border:      #E2E8F0;
  --white:       #ffffff;
  --bg:          #F4F7FA;
  --card:        #ffffff;
  --success:     #27AE60;
  --warning:     #F39C12;
  --danger:      #E74C3C;
  --info:        #2980B9;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 12px rgba(45,95,126,0.08);
  --shadow-md:   0 4px 24px rgba(45,95,126,0.12);
  --shadow-lg:   0 8px 40px rgba(45,95,126,0.16);
  --sidebar-w:   260px;
  --font:        'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition:  all 0.2s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  font-size: 15px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; font-family: var(--font); }

/* ---------- Utility ---------- */
.text-muted    { color: var(--muted); }
.text-blue     { color: var(--blue); }
.text-orange   { color: var(--orange); }
.text-success  { color: var(--success); }
.text-danger   { color: var(--danger); }
.text-warning  { color: var(--warning); }
.fw-600        { font-weight: 600; }
.fw-700        { font-weight: 700; }
.mt-4          { margin-top: 1rem; }
.mb-4          { margin-bottom: 1rem; }
.d-flex        { display: flex; }
.align-center  { align-items: center; }
.gap-2         { gap: 0.5rem; }
.gap-3         { gap: 0.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary   { background: var(--blue);   color: var(--white); border-color: var(--blue); }
.btn-primary:hover   { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(45,95,126,0.3); }
.btn-orange    { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover    { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,140,82,0.3); }
.btn-outline   { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover   { background: var(--blue); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }
.btn-sm        { padding: 7px 16px; font-size: 0.82rem; }
.btn-lg        { padding: 14px 32px; font-size: 1rem; }
.btn-block     { width: 100%; justify-content: center; }
.btn-danger    { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-success   { background: var(--success); color: var(--white); border-color: var(--success); }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card-body    { padding: 24px; }
.card-header  { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-title   { font-weight: 700; font-size: 1rem; color: var(--dark); }
.card-footer  { padding: 16px 24px; border-top: 1px solid var(--border); }

/* ---------- Forms ---------- */
.form-group   { margin-bottom: 18px; }
.form-label   { display: block; font-weight: 600; font-size: 0.875rem; color: var(--dark); margin-bottom: 7px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus  { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,95,126,0.1); }
.form-control::placeholder { color: #b0bdc8; }
select.form-control  { cursor: pointer; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-success  { background: #eafaf1; color: var(--success); }
.badge-warning  { background: #fef9e7; color: var(--warning); }
.badge-danger   { background: #fdf2f1; color: var(--danger); }
.badge-info     { background: var(--soft-blue); color: var(--blue); }
.badge-orange   { background: var(--soft-orange); color: var(--orange); }

/* ---------- Alert ---------- */
.alert {
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #eafaf1; color: #1e8449; border: 1px solid #a9dfbf; }
.alert-danger  { background: #fdf2f1; color: #c0392b; border: 1px solid #f5b7b1; }
.alert-info    { background: var(--soft-blue); color: var(--blue); border: 1px solid #b8d4e4; }
.alert-warning { background: #fef9e7; color: #9a6d00; border: 1px solid #f9e79f; }

/* ---------- Tables ---------- */
.table-wrap   { overflow-x: auto; }
.table        { width: 100%; border-collapse: collapse; }
.table th     { padding: 11px 16px; text-align: left; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); border-bottom: 2px solid var(--border); white-space: nowrap; }
.table td     { padding: 14px 16px; font-size: 0.875rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--soft-blue); }

/* ====================================================================
   LANDING PAGE
   ==================================================================== */
/* NAV */
.nav-landing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 68px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
}
.nav-logo .dot { color: var(--orange); }
.nav-links      { display: flex; align-items: center; gap: 32px; }
.nav-links a    { font-weight: 500; color: var(--muted); font-size: 0.9rem; transition: var(--transition); }
.nav-links a:hover { color: var(--blue); }
.nav-actions    { display: flex; align-items: center; gap: 12px; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%, #162f42 100%);
  padding: 90px 60px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,140,82,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--orange); }
.hero p       { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 36px; line-height: 1.7; }
.hero-btns    { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual  { position: relative; z-index: 1; }

/* Dashboard mockup */
.hero-mockup {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28ca41; }
.mockup-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.mockup-stat {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
}
.mockup-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.mockup-stat-val   { font-size: 1rem; font-weight: 700; color: var(--white); }
.mockup-stat-val.orange { color: var(--orange); }
.mockup-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px 12px 8px;
}
.mockup-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(232,140,82,0.6);
  transition: var(--transition);
}
.mockup-bar.active { background: var(--orange); }

/* STATS STRIP */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
}
.stat-strip-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-strip-item:last-child { border-right: none; }
.stat-strip-icon { font-size: 1.8rem; color: var(--orange); margin-bottom: 10px; }
.stat-strip-val  { font-size: 2rem; font-weight: 800; color: var(--blue); }
.stat-strip-label{ color: var(--muted); font-size: 0.88rem; margin-top: 4px; }

/* SECTIONS */
.section { padding: 80px 60px; }
.section-header { text-align: center; max-width: 560px; margin: 0 auto 52px; }
.section-label  {
  display: inline-block;
  background: var(--soft-orange);
  color: var(--orange);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-title  { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--dark); margin-bottom: 14px; line-height: 1.25; }
.section-sub    { color: var(--muted); font-size: 0.97rem; line-height: 1.7; }
.section-bg     { background: var(--soft-blue); }

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--blue);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--soft-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 18px;
}
.feature-card h3   { font-weight: 700; font-size: 1.02rem; color: var(--dark); margin-bottom: 9px; }
.feature-card p    { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}
.pricing-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--white);
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(45,95,126,0.08);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  padding: 4px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.pkg-name      { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; }
.pkg-price     { font-size: 2.2rem; font-weight: 800; color: var(--dark); }
.pkg-price span{ font-size: 1rem; font-weight: 500; color: var(--muted); }
.pkg-fee       { color: var(--orange); font-weight: 600; font-size: 0.88rem; margin: 8px 0 24px; }
.pkg-features  { list-style: none; margin-bottom: 28px; }
.pkg-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.pkg-features li i { color: var(--success); font-size: 0.75rem; }
.pkg-features li:last-child { border-bottom: none; }

/* LANDING FOOTER */
.footer-landing {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 32px 60px;
  font-size: 0.88rem;
}
.footer-landing .logo { color: var(--white); font-weight: 800; font-size: 1.3rem; margin-bottom: 10px; }
.footer-landing .logo span { color: var(--orange); }

/* ====================================================================
   AUTH PAGES
   ==================================================================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  background: var(--bg);
}
.auth-left {
  flex: 1;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.auth-left::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,140,82,0.2) 0%, transparent 70%);
}
.auth-left-content { position: relative; z-index: 1; }
.auth-left h2 { font-size: 1.8rem; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.auth-left p  { color: rgba(255,255,255,0.7); line-height: 1.7; font-size: 0.95rem; }
.auth-bullets { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.auth-bullet  {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  padding: 14px 18px;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 500;
}
.auth-bullet i { color: var(--orange); font-size: 1rem; width: 20px; text-align: center; }
.auth-right {
  width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px;
  background: var(--white);
  overflow-y: auto;
}
.auth-logo   { font-size: 1.6rem; font-weight: 800; color: var(--blue); margin-bottom: 32px; }
.auth-logo span { color: var(--orange); }
.auth-title  { font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.auth-sub    { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.auth-footer { text-align: center; color: var(--muted); font-size: 0.875rem; margin-top: 24px; }
.auth-footer a { color: var(--blue); font-weight: 600; }

/* Package select on register */
.pkg-select-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.pkg-select-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.pkg-select-card input[type=radio] { position: absolute; opacity: 0; }
.pkg-select-card:hover { border-color: var(--blue); }
.pkg-select-card.selected { border-color: var(--blue); background: var(--soft-blue); }
.pkg-select-card .pkg-sel-name { font-weight: 700; font-size: 0.85rem; color: var(--dark); }
.pkg-select-card .pkg-sel-price { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.pkg-rec-badge { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: var(--orange); color: white; font-size: 0.62rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; white-space: nowrap; }

/* ====================================================================
   DASHBOARD LAYOUT
   ==================================================================== */
.dashboard-wrap    { display: flex; min-height: 100vh; }

/* --- Sidebar --- */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  transition: var(--transition);
}
.sidebar-logo {
  padding: 22px 24px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-logo span { color: var(--orange); }
.sidebar-nav  { flex: 1; padding: 16px 0; overflow-y: auto; }
.nav-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding: 12px 24px 6px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 24px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: var(--transition);
  position: relative;
}
.sidebar-item i { font-size: 0.95rem; width: 18px; text-align: center; }
.sidebar-item:hover { color: var(--blue); background: var(--soft-blue); border-left-color: var(--blue); }
.sidebar-item.active { color: var(--blue); background: var(--soft-blue); border-left-color: var(--blue); font-weight: 600; }
.sidebar-item .badge { margin-left: auto; }
.sidebar-footer { padding: 16px 24px; border-top: 1px solid var(--border); }
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--soft-blue);
  cursor: pointer;
}
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.user-info-name { font-size: 0.84rem; font-weight: 700; color: var(--dark); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.user-info-pkg  { font-size: 0.73rem; color: var(--orange); font-weight: 600; }

/* --- Top Navbar --- */
.topnav {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  height: 62px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 90;
}
.topnav-left { display: flex; align-items: center; gap: 12px; }
.topnav-title { font-weight: 700; font-size: 1.05rem; color: var(--dark); }
.topnav-right { display: flex; align-items: center; gap: 16px; }
.topnav-icon  { width: 38px; height: 38px; border-radius: 50%; background: var(--soft-blue); display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 0.95rem; cursor: pointer; transition: var(--transition); border: none; }
.topnav-icon:hover { background: var(--blue); color: var(--white); }

/* --- Main Content --- */
.main-content {
  margin-left: var(--sidebar-w);
  padding-top: 62px;
  flex: 1;
  min-height: 100vh;
}
.page-body { padding: 28px 32px; }

/* Page header */
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: 1.35rem; font-weight: 800; color: var(--dark); }
.page-header p  { color: var(--muted); font-size: 0.875rem; margin-top: 3px; }

/* --- Stat Cards --- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 24px; }
.stat-card  {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-icon  {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.stat-icon.blue   { background: var(--soft-blue);   color: var(--blue); }
.stat-icon.orange { background: var(--soft-orange);  color: var(--orange); }
.stat-icon.green  { background: #eafaf1; color: var(--success); }
.stat-icon.red    { background: #fdf2f1; color: var(--danger); }
.stat-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.4px; }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--dark); line-height: 1.2; }
.stat-note  { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* --- Dashboard Grid Layout --- */
.dash-grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; margin-bottom: 20px; }
.dash-grid-full { display: grid; grid-template-columns: 1fr; gap: 20px; }

/* Chart */
.chart-container { padding: 20px; height: 260px; position: relative; }

/* Info cards */
.info-block      { padding: 20px 24px; }
.info-block + .info-block { border-top: 1px solid var(--border); }

/* Progress bar */
.progress-wrap { margin-top: 10px; }
.progress-bar-bg {
  background: var(--border);
  border-radius: 100px;
  height: 8px;
  overflow: hidden;
  margin: 8px 0 6px;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transition: width 0.6s ease;
}
.progress-bar-fill.warning { background: linear-gradient(90deg, var(--warning), #f7dc6f); }
.progress-bar-fill.danger  { background: linear-gradient(90deg, var(--danger), #ec7063); }
.progress-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); }

/* API Key */
.apikey-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--soft-blue);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-top: 12px;
}
.apikey-val { flex: 1; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.78rem; color: var(--blue); word-break: break-all; }

/* Admin bank info */
.bank-row  { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.bank-row:last-child { border-bottom: none; }
.bank-logo { width: 40px; height: 40px; border-radius: 8px; background: var(--blue); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 0.65rem; text-align: center; line-height: 1.2; flex-shrink: 0; }
.bank-name-label { font-size: 0.75rem; color: var(--muted); }
.bank-account-no { font-weight: 700; font-size: 0.92rem; color: var(--dark); font-family: 'SF Mono', monospace; }

/* Empty state */
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state i { font-size: 2.5rem; color: var(--border); margin-bottom: 12px; display: block; }
.empty-state p { color: var(--muted); font-size: 0.9rem; }

/* ====================================================================
   DOCUMENTATION PAGE
   ==================================================================== */
.doc-layout { display: flex; min-height: calc(100vh - 62px); }
.doc-sidebar {
  width: 240px;
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 62px;
  height: calc(100vh - 62px);
  overflow-y: auto;
  background: var(--white);
  flex-shrink: 0;
}
.doc-sidebar-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 10px 20px 5px;
}
.doc-sidebar a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 0.875rem;
  color: var(--muted);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.doc-sidebar a:hover, .doc-sidebar a.active {
  color: var(--blue);
  border-left-color: var(--blue);
  background: var(--soft-blue);
}
.doc-content { flex: 1; padding: 36px 48px; max-width: 820px; }
.doc-content h1 { font-size: 1.7rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.doc-content h2 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin: 36px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.doc-content p  { color: var(--muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 14px; }
.doc-content code { background: var(--soft-blue); padding: 2px 7px; border-radius: 5px; font-size: 0.83rem; color: var(--blue); font-family: 'SF Mono', 'Fira Code', monospace; }
.doc-content pre {
  background: #1e2d3d;
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 16px 0;
}
.doc-content pre code { background: none; color: #a8d8ea; padding: 0; font-size: 0.84rem; line-height: 1.75; }
.endpoint-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--soft-blue);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: 'SF Mono', monospace;
  font-size: 0.875rem;
  margin: 12px 0;
  color: var(--dark);
}
.method-badge { padding: 3px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }
.method-get  { background: #eafaf1; color: var(--success); }
.method-post { background: var(--soft-blue); color: var(--blue); }
.params-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.875rem; }
.params-table th { background: var(--soft-blue); padding: 10px 14px; text-align: left; font-weight: 700; font-size: 0.78rem; color: var(--muted); }
.params-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.params-table td:first-child { font-family: monospace; color: var(--blue); font-weight: 600; }
.required-tag { background: #fdf2f1; color: var(--danger); padding: 2px 7px; border-radius: 4px; font-size: 0.7rem; font-weight: 600; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-landing { padding: 0 20px; }
  .nav-links   { display: none; }
  .section     { padding: 60px 20px; }
  .hero        { padding: 60px 20px; }
  .auth-left   { display: none; }
  .auth-right  { width: 100%; padding: 40px 28px; }
  .sidebar     { transform: translateX(-100%); }
  .sidebar.open{ transform: translateX(0); }
  .main-content { margin-left: 0; }
  .topnav      { left: 0; }
  .page-body   { padding: 20px 16px; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .pkg-select-grid { grid-template-columns: 1fr; }
  .doc-sidebar { display: none; }
  .doc-content { padding: 24px 20px; }
  .stats-strip-inner { grid-template-columns: 1fr; }
  .stat-strip-item { border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
