/* DriveSahay — design tokens */
:root {
  --navy: #0B1F3A;
  --navy-2: #13294B;
  --blue: #155EEF;
  --blue-600: #0F4FD6;
  --blue-50: #EEF4FF;
  --blue-100: #DCE8FF;
  --orange: #FF7A00;
  --orange-50: #FFF4E8;
  --green: #16A34A;
  --green-50: #EAF8EF;
  --red: #DC2626;
  --red-50: #FDEEEE;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --text: #0B1F3A;
  --text-2: #475467;
  --text-3: #8592A6;
  --line: #E4E8EF;
  --line-2: #D0D6E0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06);
  --shadow: 0 1px 2px rgba(11, 31, 58, .04), 0 6px 20px -6px rgba(11, 31, 58, .10);
  --shadow-lg: 0 24px 60px -20px rgba(11, 31, 58, .30);
  --font: 'Inter', 'Noto Sans Devanagari', 'Noto Sans Gujarati', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bottom-nav: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
.icon { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(21, 94, 239, .35); outline-offset: 2px; border-radius: 6px; }

.boot { min-height: 100vh; display: grid; place-items: center; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--blue-100); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .15s, box-shadow .15s, transform .05s, border-color .15s; white-space: nowrap; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(21, 94, 239, .6); }
.btn-primary:hover { background: var(--blue-600); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 6px 16px -6px rgba(255, 122, 0, .6); }
.btn-secondary { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--blue-50); color: var(--blue); }
.btn-danger { background: var(--surface); border-color: #F3C3C3; color: var(--red); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn .spinner { width: 16px; height: 16px; border-width: 2px; border-color: rgba(255,255,255,.4); border-top-color: #fff; }
.btn-secondary .spinner { border-color: var(--blue-100); border-top-color: var(--blue); }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 600; cursor: pointer; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field > label, .field-label { font-size: 14px; font-weight: 600; color: var(--text); }
.field .opt { color: var(--text-3); font-weight: 500; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 12px; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23475467' stroke-width='2'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 94, 239, .12); }
.input[readonly] { background: var(--bg); color: var(--text-2); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--red); }
.field-error { color: var(--red); font-size: 13px; font-weight: 500; }
.field-hint { color: var(--text-3); font-size: 13px; }
.input-group { position: relative; display: flex; align-items: center; }
.input-group .prefix { position: absolute; left: 14px; color: var(--text-2); font-weight: 600; pointer-events: none; display: flex; align-items: center; gap: 8px; }
.input-group .prefix::after { content: ''; width: 1px; height: 20px; background: var(--line-2); }
.input-group .input.has-prefix { padding-left: 64px; letter-spacing: .02em; }
.input-group .suffix-btn { position: absolute; right: 6px; height: 36px; padding: 0 10px; border: 0; background: transparent; color: var(--text-2); cursor: pointer; border-radius: 8px; font-size: 13px; font-weight: 600; }
.input-group .input.has-suffix { padding-right: 64px; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two { grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid.two .span-2 { grid-column: span 2; } }
.form-alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.form-alert.error { background: var(--red-50); color: #9B1C1C; }
.form-alert.info { background: var(--blue-50); color: #1D3E8A; }
.form-alert.warn { background: var(--orange-50); color: #8A4300; }
.form-alert.success { background: var(--green-50); color: #14622F; }

/* radio cards (vehicle class) */
.choice-cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .choice-cards { grid-template-columns: repeat(3, 1fr); } }
.choice-card { position: relative; display: flex; gap: 12px; align-items: center; padding: 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
@media (min-width: 560px) { .choice-card { flex-direction: column; align-items: flex-start; } }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card .cc-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.choice-card .cc-title { font-weight: 700; }
.choice-card .cc-hint { font-size: 13px; color: var(--text-2); }
.choice-card .cc-check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; color: #fff; }
.choice-card:has(input:checked) { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 4px rgba(21, 94, 239, .10); }
.choice-card:has(input:checked) .cc-check { background: var(--blue); border-color: var(--blue); }
.choice-card:has(input:focus-visible) { outline: 3px solid rgba(21, 94, 239, .35); }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr; background: var(--bg); }
@media (min-width: 960px) { .auth { grid-template-columns: 1.05fr 1fr; } }
.auth-hero { display: none; position: relative; overflow: hidden; color: #fff; padding: 48px 56px; background: radial-gradient(1200px 600px at 10% -10%, #1C4FB8 0%, transparent 55%), radial-gradient(800px 500px at 110% 110%, rgba(255,122,0,.28) 0%, transparent 55%), var(--navy); }
@media (min-width: 960px) { .auth-hero { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; } }
.auth-hero h1 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.025em; max-width: 14ch; }
.auth-hero h1 em { font-style: normal; color: var(--orange); }
.auth-hero .lead { color: #C6D3EA; font-size: 17px; max-width: 46ch; margin-top: 14px; }
.auth-hero .illus { width: 100%; max-width: 520px; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; }
.hero-point { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px; font-size: 13px; color: #C6D3EA; }
.hero-point strong { display: block; color: #fff; font-size: 14px; margin: 8px 0 2px; }
.hero-point .icon { color: var(--orange); }
.auth-main { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 28px 16px 24px; }
.auth-mobile-brand { width: 100%; max-width: 440px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 960px) { .auth-mobile-brand { display: none; } }
.auth-mobile-brand p { color: var(--text-2); }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border-radius: 22px; padding: 28px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); animation: rise .25s ease; }
@media (min-width: 480px) { .auth-card { padding: 34px 32px; } }
.auth-card h2 { font-size: 24px; font-weight: 800; }
.auth-card .sub { color: var(--text-2); margin-top: 6px; }
.auth-card form { margin-top: 24px; }
.auth-foot { text-align: center; color: var(--text-2); margin-top: 20px; font-size: 14px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.steps-dots { display: flex; gap: 6px; margin-top: 16px; }
.steps-dots span { height: 4px; flex: 1; border-radius: 4px; background: var(--line); transition: background .2s; }
.steps-dots span.on { background: var(--blue); }
.disclaimer { font-size: 12px; color: var(--text-3); max-width: 440px; text-align: center; margin-top: 20px; line-height: 1.5; }
.dev-otp { font-size: 13px; background: #FFFBEA; border: 1px dashed #E8C34A; color: #6B5300; padding: 8px 12px; border-radius: 10px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-mark { width: 34px; height: 34px; }
.brand span b { color: var(--orange); font-weight: 800; }

/* ---------- App shell ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: 1180px; margin: 0 auto; height: 64px; padding: 0 16px; display: flex; align-items: center; gap: 24px; }
.topnav { display: none; gap: 4px; margin-left: 12px; }
@media (min-width: 900px) { .topnav { display: flex; } }
.topnav a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.topnav a:hover { color: var(--text); background: var(--bg); }
.topnav a.active { color: var(--blue); background: var(--blue-50); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--text-2); }
.icon-btn:hover { color: var(--blue); border-color: var(--blue-100); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); border: 2px solid #fff; }
.avatar { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), #4B86FF); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.user-chip { display: none; align-items: center; gap: 10px; padding: 4px 6px 4px 4px; border-radius: 14px; }
@media (min-width: 900px) { .user-chip { display: flex; } }
.user-chip .meta { font-size: 13px; line-height: 1.2; }
.user-chip .meta small { color: var(--text-3); display: block; }
.logout-desk { display: none; }
@media (min-width: 900px) { .logout-desk { display: inline-flex; } }

.bottomnav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); }
@media (min-width: 900px) { .bottomnav { display: none; } }
.bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--text-3); }
.bottomnav a .icon { width: 22px; height: 22px; }
.bottomnav a.active { color: var(--blue); }

.page { max-width: 1180px; margin: 0 auto; padding: 24px 16px calc(var(--bottom-nav) + 32px); animation: rise .2s ease; }
@media (min-width: 900px) { .page { padding: 32px 24px 56px; } }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.page-head p { color: var(--text-2); margin-top: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.back-link:hover { color: var(--blue); }
.site-foot { max-width: 1180px; margin: 0 auto; padding: 0 16px calc(var(--bottom-nav) + 24px); color: var(--text-3); font-size: 12px; text-align: center; }
@media (min-width: 900px) { .site-foot { padding-bottom: 32px; } }

/* ---------- Cards & surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 20px; }
@media (min-width: 720px) { .card-pad { padding: 24px; } }
.card-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-title { font-size: 18px; font-weight: 800; margin: 30px 0 14px; display: flex; align-items: center; gap: 10px; }
.section-title .count { font-size: 13px; font-weight: 700; color: var(--text-3); background: var(--surface); border: 1px solid var(--line); padding: 1px 9px; border-radius: 99px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-2 { grid-template-columns: 1.6fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* hero (dashboard) */
.welcome { position: relative; overflow: hidden; border-radius: 22px; padding: 26px 22px; color: #fff; background: radial-gradient(700px 300px at 0% 0%, #1E56C9 0%, transparent 60%), radial-gradient(500px 300px at 100% 120%, rgba(255,122,0,.35) 0%, transparent 60%), var(--navy); }
@media (min-width: 720px) { .welcome { padding: 32px; } }
.welcome h1 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.welcome p { color: #C6D3EA; margin-top: 6px; }
.welcome .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.welcome .btn-secondary { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.welcome .btn-secondary:hover { background: rgba(255,255,255,.14); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 12px 14px; }
.stat b { display: block; font-size: 22px; font-weight: 800; }
.stat span { font-size: 12px; color: #C6D3EA; }

/* application cards */
.app-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; transition: box-shadow .15s, border-color .15s, transform .15s; color: inherit; }
.app-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-1px); }
.app-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.app-id { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 13px; font-weight: 700; color: var(--text-2); letter-spacing: .02em; }
.app-card h3 { font-size: 16px; font-weight: 700; margin-top: 3px; }
.app-card .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 13px; color: var(--text-2); }
.app-card .meta b { display: block; color: var(--text); font-weight: 600; }
.app-card .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); font-size: 14px; }
.mini-progress { display: flex; gap: 4px; }
.mini-progress span { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.mini-progress span.on { background: var(--blue); }
.mini-progress.done span.on { background: var(--green); }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tone-muted { background: #EEF1F5; color: #586579; }
.tone-blue { background: var(--blue-50); color: var(--blue); }
.tone-orange { background: var(--orange-50); color: #C25B00; }
.tone-green { background: var(--green-50); color: var(--green); }
.tone-red { background: var(--red-50); color: var(--red); }

/* service cards */
.cat-head { display: flex; align-items: center; gap: 14px; margin: 34px 0 16px; }
.cat-head:first-of-type { margin-top: 8px; }
.cat-chip { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--blue), #4B86FF); flex: none; }
.cat-chip.dl { background: linear-gradient(135deg, var(--navy), #2A4F86); }
.cat-head h2 { font-size: 19px; font-weight: 800; }
.cat-head p { color: var(--text-2); font-size: 14px; }
.svc-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; transition: box-shadow .15s, border-color .15s, transform .15s; }
.svc-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.svc-icon.dl { background: #EAF0F8; color: var(--navy); }
.svc-card h3 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.svc-card p { color: var(--text-2); font-size: 14px; flex: 1; }
.svc-card .btn { align-self: flex-start; }
.tag-otp { font-size: 11px; font-weight: 700; color: #C25B00; background: var(--orange-50); padding: 2px 8px; border-radius: 99px; }

/* quick services strip */
.quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .quick { grid-template-columns: repeat(4, 1fr); } }
.quick a { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14px; transition: border-color .15s; }
.quick a:hover { border-color: var(--blue); }
.quick .svc-icon { width: 38px; height: 38px; border-radius: 11px; }

/* ---------- Stepper / apply flow ---------- */
.stepper { display: flex; gap: 6px; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.step { flex: 1; min-width: 72px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.step .bar { height: 4px; border-radius: 4px; background: var(--line); }
.step.done .bar, .step.on .bar { background: var(--blue); }
.step.on { color: var(--blue); }
.step.done { color: var(--text-2); }
.flow-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.flow-head h1 { font-size: clamp(20px, 3vw, 26px); font-weight: 800; }
.flow-head p { color: var(--text-2); font-size: 14px; }
.flow-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.flow-actions .right { display: flex; gap: 10px; margin-left: auto; }
@media (max-width: 520px) { .flow-actions { position: sticky; bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); background: var(--surface); margin: 24px -20px -20px; padding: 14px 20px; border-radius: 0 0 var(--radius) var(--radius); } .flow-actions .btn { flex: 1; } .flow-actions .right { flex: 1; } }
.intro-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.intro-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.intro-list li .icon { color: var(--blue); width: 18px; height: 18px; margin-top: 2px; }
.intro-block h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 10px; font-weight: 700; }
.intro-grid { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 720px) { .intro-grid { grid-template-columns: 1fr 1fr; } }
.review-list { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.review-list > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .review-list > div { grid-template-columns: 220px 1fr; gap: 16px; } }
.review-list dt { color: var(--text-2); font-size: 14px; }
.review-list dd { margin: 0; font-weight: 600; word-break: break-word; }
.review-list dd.empty { color: var(--text-3); font-weight: 500; }

.success-wrap { text-align: center; padding: 36px 20px; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; animation: pop .4s cubic-bezier(.2, 1.4, .4, 1); }
.success-icon .icon { width: 38px; height: 38px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.app-number-box { display: inline-flex; align-items: center; gap: 12px; margin: 18px auto 8px; padding: 14px 18px; border-radius: 14px; border: 1.5px dashed var(--blue); background: var(--blue-50); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(18px, 4vw, 24px); font-weight: 800; color: var(--navy); letter-spacing: .03em; }

/* ---------- Uploader ---------- */
.uploader { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; background: var(--surface); }
.uploader + .uploader { margin-top: 14px; }
.up-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.up-head h4 { font-size: 15px; font-weight: 700; }
.up-head p { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.req { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--orange-50); color: #C25B00; white-space: nowrap; }
.req.optional { background: #EEF1F5; color: #586579; }
.req.done { background: var(--green-50); color: var(--green); }
.dropzone { margin-top: 12px; border: 2px dashed var(--line-2); border-radius: 12px; padding: 22px 14px; text-align: center; color: var(--text-2); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: var(--blue-50); }
.dropzone .icon { width: 30px; height: 30px; margin: 0 auto 8px; color: var(--blue); }
.dropzone strong { color: var(--text); }
.dropzone small { display: block; color: var(--text-3); margin-top: 4px; }
.up-actions { display: flex; gap: 8px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.up-file { margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--bg); }
.up-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); flex: none; overflow: hidden; }
.up-thumb img { width: 100%; height: 100%; object-fit: cover; }
.up-info { flex: 1; min-width: 0; }
.up-info .name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-info .sub { font-size: 12px; color: var(--text-3); }
.up-bar { height: 4px; background: var(--line); border-radius: 4px; margin-top: 6px; overflow: hidden; }
.up-bar span { display: block; height: 100%; background: var(--blue); width: 0; transition: width .15s; }
.up-btns { display: flex; gap: 4px; }

/* ---------- Timeline ---------- */
.progress-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin: 6px 0 4px; }
.pt-step { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; font-weight: 600; color: var(--text-3); position: relative; }
.pt-step::before { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.pt-step:first-child::before { display: none; }
.pt-step.done::before, .pt-step.on::before { background: var(--blue); }
.pt-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); display: grid; place-items: center; position: relative; z-index: 1; color: #fff; }
.pt-dot .icon { width: 16px; height: 16px; }
.pt-step.done .pt-dot { background: var(--blue); border-color: var(--blue); }
.pt-step.on .pt-dot { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(21, 94, 239, .14); }
.pt-step.on .pt-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.pt-step.on.warn .pt-dot { border-color: var(--orange); box-shadow: 0 0 0 5px rgba(255, 122, 0, .16); }
.pt-step.on.warn .pt-dot::after { background: var(--orange); }
.pt-step.done, .pt-step.on { color: var(--text); }
.progress-track.complete .pt-step .pt-dot { background: var(--green); border-color: var(--green); }
.progress-track.complete .pt-step::before { background: var(--green); }
@media (max-width: 480px) { .pt-step span { font-size: 10.5px; } }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.history li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.history li:not(:last-child)::before { content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.history .hdot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.history .hdot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.history .h-title { font-weight: 700; font-size: 14px; }
.history .h-sub { font-size: 12px; color: var(--text-3); }
.history .h-note { font-size: 14px; color: var(--text-2); margin-top: 4px; background: var(--bg); padding: 8px 10px; border-radius: 10px; }

/* ---------- Messages ---------- */
.thread { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px 2px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14px; background: var(--bg); justify-self: start; border-bottom-left-radius: 4px; }
.msg.mine { justify-self: end; background: var(--blue); color: #fff; border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
.msg.internal { background: #FFF8E6; border: 1px dashed #E8C34A; }
.msg .m-meta { font-size: 11px; opacity: .7; margin-top: 4px; }
.msg-form { display: flex; gap: 8px; margin-top: 14px; }
.msg-form .textarea { min-height: 48px; height: 48px; }

/* ---------- Filters / list ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--text-2); cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); width: 18px; height: 18px; }
.search .input { padding-left: 40px; min-height: 44px; }

/* empty / skeleton */
.empty { text-align: center; padding: 44px 20px; }
.empty-art { width: 84px; height: 84px; border-radius: 24px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin: 0 auto 16px; }
.empty-art .icon { width: 38px; height: 38px; }
.empty h3 { font-size: 18px; font-weight: 800; }
.empty p { color: var(--text-2); margin: 6px 0 18px; }
.skel { background: linear-gradient(90deg, #EDF0F5 25%, #F6F8FB 50%, #EDF0F5 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-card { height: 168px; border-radius: var(--radius); }

/* notifications panel */
.notif-panel { position: absolute; right: 16px; top: 60px; width: min(380px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 40; overflow: hidden; animation: rise .15s ease; }
.notif-panel header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.notif-list { max-height: 380px; overflow-y: auto; }
.notif { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 14px; }
.notif:hover { background: var(--bg); }
.notif.unread { background: #F7FAFF; }
.notif b { display: block; font-size: 14px; }
.notif small { color: var(--text-3); font-size: 12px; }

/* toasts */
#toasts { position: fixed; z-index: 100; left: 50%; transform: translateX(-50%); bottom: calc(var(--bottom-nav) + 16px + env(safe-area-inset-bottom)); display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
@media (min-width: 900px) { #toasts { bottom: 24px; } }
.toast { padding: 12px 16px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: rise .2s ease; }
.toast.error { background: #8E1B1B; }
.toast.success { background: #11622F; }

/* detail page */
.detail-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; }
.detail-head h1 { font-size: clamp(20px, 3vw, 26px); font-weight: 800; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 14px; }
.kv span { color: var(--text-3); font-size: 12px; display: block; }
.kv b { font-weight: 600; word-break: break-word; }
.doc-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.doc-row:last-child { border-bottom: 0; }
.doc-row .up-thumb { width: 44px; height: 44px; }
.stack { display: grid; gap: 16px; align-content: start; }

/* help */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--text-2); margin-top: 8px; font-size: 14px; }

/* admin */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: var(--bg); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 16px 18px; }
.kpi span { font-size: 13px; color: var(--text-2); }
.kpi b { display: block; font-size: 26px; font-weight: 800; margin-top: 2px; }
.toggle { position: relative; width: 44px; height: 26px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; border-radius: 99px; background: var(--line-2); cursor: pointer; transition: background .15s; }
.toggle span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: var(--shadow-sm); }
.toggle input:checked + span { background: var(--green); }
.toggle input:checked + span::after { transform: translateX(18px); }
.admin-tabs { display: flex; gap: 6px; margin-bottom: 18px; }


/* ---------- Wallet ---------- */
.wallet-card { position: relative; overflow: hidden; border-radius: 20px; padding: 22px; color: #fff; background: radial-gradient(500px 220px at 100% 0%, rgba(255,122,0,.45) 0%, transparent 60%), linear-gradient(135deg, #0F4FD6, #0B1F3A 75%); box-shadow: 0 18px 40px -18px rgba(21,94,239,.55); }
.wallet-card::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255,255,255,.06); }
.wc-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #C6D3EA; }
.wc-label .icon { width: 18px; height: 18px; }
.wc-balance { font-size: clamp(30px, 6vw, 40px); font-weight: 800; letter-spacing: -.02em; margin: 6px 0 16px; font-variant-numeric: tabular-nums; }
.wc-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.wallet-card .wc-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.wallet-card .wc-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.wallet-card.compact { padding: 18px 20px; }
.wallet-card.compact .wc-balance { font-size: 30px; margin: 4px 0 12px; }
.tx-list { border-top: 1px solid var(--line); }
.tx-row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--text); }
.tx-row:last-child { border-bottom: 0; }
a.tx-row:not(.static):hover { background: var(--bg); }
.tx-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.tx-ic.credit { background: var(--green-50); color: var(--green); }
.tx-ic.debit { background: #EEF1F5; color: var(--text-2); }
.tx-main { flex: 1; min-width: 0; }
.tx-desc { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-sub { font-size: 12px; color: var(--text-3); font-weight: 500; }
.tx-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tx-amt { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx-amt.credit { color: var(--green); }
.tx-amt.debit { color: var(--text); }
.tx-amt.muted { color: var(--text-3); }
.balance-line { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--bg); font-size: 14px; color: var(--text-2); display: flex; justify-content: space-between; }
.balance-line b { color: var(--text); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount-btn { min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 15px; cursor: pointer; transition: border-color .15s, background .15s; }
.amount-btn:hover { border-color: var(--blue); }
.amount-btn.on { border-color: var(--blue); background: var(--blue-50); color: var(--blue); box-shadow: 0 0 0 3px rgba(21,94,239,.1); }
.input-group .input.amount-input.has-prefix { padding-left: 48px; font-size: 20px; font-weight: 700; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.method-card { position: relative; display: flex; gap: 10px; align-items: center; padding: 12px; border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer; background: var(--surface); transition: border-color .15s, background .15s; }
.method-card input { position: absolute; opacity: 0; pointer-events: none; }
.method-card .mc-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.method-card b { display: block; font-size: 14px; }
.method-card small { color: var(--text-3); font-size: 12px; }
.method-card:has(input:checked) { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(21,94,239,.1); }
.method-card:has(input:focus-visible) { outline: 3px solid rgba(21,94,239,.35); }
.inline-ic { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; }
.pay-box { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.pay-step { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.pay-step span { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.qr-wrap { margin: 16px auto 4px; width: min(260px, 100%); text-align: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.qr-title { font-weight: 800; margin-bottom: 8px; }
.qr { width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.qr svg { width: 100%; height: 100%; }
.qr-sub { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.app-btns { display: grid; gap: 10px; margin-top: 14px; }
.upi-id-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 8px; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.upi-id-row small { display: block; color: var(--text-3); font-size: 12px; }
.upi-id-row b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; word-break: break-all; }
.price-tag { font-size: 13px; font-weight: 700; color: var(--navy); }
.price-tag.free { color: var(--green); }
.pay-summary { margin-top: 22px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); display: grid; gap: 8px; font-size: 14px; }
.pay-summary .row { display: flex; justify-content: space-between; gap: 12px; }
.pay-summary .row b { font-variant-numeric: tabular-nums; }
.pay-summary .total { border-top: 1px dashed var(--line-2); padding-top: 8px; font-weight: 700; }
.price-input { width: 110px; min-height: 38px; padding: 6px 10px; }


/* ---------- v3 design refresh ---------- */
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.btn-glass:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #EEF4FF; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #9FB6DD; margin-bottom: 10px; }

/* dashboard hero with integrated wallet */
.hero-dash { display: grid; gap: 16px; padding: 24px; border-radius: 24px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(900px 400px at -10% -40%, #1F5BD6 0%, transparent 55%), radial-gradient(600px 300px at 110% 130%, rgba(255,122,0,.30) 0%, transparent 60%), var(--navy); }
.hero-dash::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, #000, transparent 70%); pointer-events: none; }
@media (min-width: 900px) { .hero-dash { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 32px; gap: 28px; } }
.hd-main { position: relative; }
.hd-main h1 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.hd-main p { color: #C6D3EA; margin-top: 6px; }
.hd-main .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hd-wallet { position: relative; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.hd-wallet .wc-balance { margin: 4px 0 14px; font-size: clamp(30px, 5vw, 38px); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.stat-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.stat-card b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; }
.stat-card span:not(.sc-ic) { font-size: 13px; color: var(--text-2); }
.sc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.sc-ic.blue { background: var(--blue-50); color: var(--blue); }
.sc-ic.orange { background: var(--orange-50); color: #C25B00; }
.sc-ic.green { background: var(--green-50); color: var(--green); }
@media (max-width: 520px) { .stat-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; } .sc-ic { width: 34px; height: 34px; } }
.section-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.see-all { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; white-space: nowrap; }

/* services list */
.seg { display: inline-flex; gap: 4px; padding: 4px; background: #E9EDF4; border-radius: 14px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg-btn { border: 0; background: transparent; padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--text-2); cursor: pointer; white-space: nowrap; }
.seg-btn.on { background: var(--surface); color: var(--navy); box-shadow: var(--shadow-sm); }
.svc-list { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc-row { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s; }
.svc-row:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-1px); }
.svc-row .svc-icon { width: 46px; height: 46px; flex: none; }
.svc-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.svc-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.svc-desc { font-size: 13px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.svc-go { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--blue); transition: background .15s; }
.svc-go .icon { width: 16px; height: 16px; }
.svc-row:hover .svc-go { background: var(--blue); color: #fff; }
.price-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 99px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-pill.lg { font-size: 15px; padding: 7px 14px; }
.info-strip { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--line-2); color: var(--text-2); font-size: 13px; }
.info-strip .icon { color: var(--blue); width: 18px; height: 18px; margin-top: 1px; }

/* numbered stepper */
.stepper { gap: 0; margin-bottom: 24px; }
.step { flex: 1; min-width: 70px; flex-direction: row; align-items: center; gap: 8px; position: relative; padding-right: 8px; }
.step:not(:last-child)::after { content: ''; flex: 1; height: 2px; background: var(--line); border-radius: 2px; min-width: 12px; }
.step.done:not(:last-child)::after { background: var(--blue); }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; border: 2px solid var(--line-2); background: var(--surface); color: var(--text-3); flex: none; }
.step-num .icon { width: 14px; height: 14px; }
.step.on .step-num { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(21,94,239,.15); }
.step.done .step-num { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.step-label { font-size: 13px; white-space: nowrap; }
@media (max-width: 560px) { .step-label { display: none; } .step.on .step-label { display: inline; } }

/* language switcher */
.lang-select { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text-2); cursor: pointer; }
.lang-select .icon { width: 18px; height: 18px; }
.lang-select select { appearance: none; border: 0; background: transparent; font-weight: 600; font-size: 14px; cursor: pointer; padding-right: 2px; }
.lang-select select:focus { outline: none; }
.lang-select:focus-within { border-color: var(--blue); }
.auth-lang { width: 100%; max-width: 440px; display: flex; justify-content: flex-end; margin-bottom: 12px; }

/* footer */
.site-foot { max-width: none; margin-top: 24px; padding: 32px 16px calc(var(--bottom-nav) + 28px); background: var(--surface); border-top: 1px solid var(--line); text-align: left; color: var(--text-2); }
@media (min-width: 900px) { .site-foot { padding-bottom: 32px; } }
.foot-inner, .foot-disclaimer, .foot-copy { max-width: 1180px; margin: 0 auto; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.foot-brand p { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; }
.foot-links a { color: var(--text-2); font-weight: 600; font-size: 14px; }
.foot-links a:hover { color: var(--blue); }
.foot-disclaimer { display: flex; gap: 10px; margin-top: 22px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 12px; color: var(--text-3); line-height: 1.55; }
.foot-disclaimer .icon { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.foot-copy { font-size: 12px; color: var(--text-3); margin-top: 14px; }

/* page head polish */
.page-head h1 { letter-spacing: -.025em; }
.card { border-radius: 18px; }
.flow-head .svc-icon { width: 52px; height: 52px; border-radius: 16px; }


.qr-static { width: min(300px, 100%); background: #151515; border-color: #222; }
.qr-static .qr-title { color: #fff; }
.qr-static .qr-sub { color: #B9B9B9; }
.qr-img { width: 100%; height: auto; border-radius: 12px; display: block; }
.pay-amount { font-size: 20px; color: var(--navy); }


/* ---------- Background theme ---------- */
body { background: var(--bg); }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(760px 460px at -5% -10%, rgba(21, 94, 239, .13), transparent 62%),
    radial-gradient(640px 420px at 105% 105%, rgba(255, 122, 0, .11), transparent 62%),
    radial-gradient(520px 320px at 85% 10%, rgba(21, 94, 239, .06), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 260' preserveAspectRatio='none'%3E%3Cpath d='M0 200 C 360 120 720 260 1080 170 S 1440 150 1440 150 V260 H0Z' fill='%230B1F3A' fill-opacity='.045'/%3E%3Cpath d='M0 214 C 360 134 720 274 1080 184 S 1440 164 1440 164' fill='none' stroke='%23FF7A00' stroke-opacity='.28' stroke-width='3' stroke-dasharray='26 22'/%3E%3C/svg%3E") bottom center / 100% 200px no-repeat,
    linear-gradient(180deg, #F2F5FB 0%, #F6F8FB 50%, #F4F6FA 100%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(11, 31, 58, .09) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
}
.auth { background: transparent; }
.site-foot { background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Long labels in some languages: keep bottom nav tidy */
.bottomnav a { min-width: 0; padding: 0 2px; }
.bottomnav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; }
.topnav a { white-space: nowrap; }

/* RC category */
.cat-chip.rc { background: linear-gradient(135deg, #C25B00, #FF7A00); }
.svc-icon.rc { background: var(--orange-50); color: #C25B00; }
.input.upper { text-transform: uppercase; }
.input.upper::placeholder { text-transform: none; }


/* ======================================================================
   v6 — refined professional palette + pricing components
   ====================================================================== */
:root {
  --navy: #0A1931;
  --navy-2: #12264A;
  --blue: #1D5BEA;
  --blue-600: #1749C7;
  --blue-50: #EFF4FF;
  --blue-100: #DBE6FE;
  --indigo: #3B4BC8;
  --indigo-50: #EEF0FC;
  --amber: #B45309;
  --amber-50: #FEF5E7;
  --orange: #F26B0F;
  --orange-50: #FFF3EA;
  --green: #12935A;
  --green-50: #E8F6EF;
  --red: #D92D20;
  --red-50: #FEF0EF;
  --bg: #F6F8FB;
  --text: #0F172A;
  --text-2: #475569;
  --text-3: #8A97AB;
  --line: #E6EAF0;
  --line-2: #CFD6E1;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -10px rgba(15, 23, 42, .12);
  --shadow-lg: 0 28px 64px -24px rgba(15, 23, 42, .32);
}

/* Buttons: flat, crisp, one clear accent */
.btn { letter-spacing: -.005em; }
.btn-primary { background: var(--blue); box-shadow: 0 1px 2px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-primary:hover { background: var(--blue-600); }
.btn-accent { background: var(--orange); box-shadow: 0 1px 2px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.15); }
.btn-accent:hover { background: #DB5C06; }
.btn-secondary { border-color: var(--line-2); }

/* Category accents: LL blue · DL indigo · RC amber */
.cat-chip { background: linear-gradient(135deg, #1D5BEA, #4C7DF0); box-shadow: 0 6px 14px -8px rgba(29,91,234,.7); }
.cat-chip.dl { background: linear-gradient(135deg, #2E3BA8, #4F5FD6); box-shadow: 0 6px 14px -8px rgba(59,75,200,.7); }
.cat-chip.rc { background: linear-gradient(135deg, #B45309, #E07B12); box-shadow: 0 6px 14px -8px rgba(180,83,9,.7); }
.svc-icon { background: var(--blue-50); color: var(--blue); }
.svc-icon.dl { background: var(--indigo-50); color: var(--indigo); }
.svc-icon.rc { background: var(--amber-50); color: var(--amber); }

/* Hero: calmer, single-tone navy with a soft blue light */
.hero-dash { background: radial-gradient(900px 420px at -10% -40%, #1E4FC4 0%, transparent 55%), radial-gradient(520px 260px at 110% 130%, rgba(242,107,15,.18) 0%, transparent 60%), var(--navy); }

/* Service rows */
.svc-row { border-radius: 16px; padding: 16px 16px 16px 14px; }
.svc-row:hover { border-color: #C9D7FB; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 26px -14px rgba(29,91,234,.35); }
.svc-meta { flex-direction: row; align-items: center; gap: 12px; }
.svc-go { background: var(--bg); border: 1px solid var(--line); }

/* Price block — label over amount, tabular figures */
.price-block { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.1; padding-left: 12px; border-left: 1px solid var(--line); }
.price-block small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; white-space: nowrap; }
.price-block b { font-size: 17px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.price-block .cur { font-size: .72em; font-weight: 700; margin-right: 1px; color: var(--text-2); vertical-align: .08em; }
.price-block.free b { color: var(--green); }
.price-block.lg { padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); align-self: center; }
.price-block.lg b { font-size: 22px; }
@media (max-width: 420px) { .svc-row .price-block { padding-left: 8px; } .svc-row .price-block b { font-size: 15px; } .svc-row .svc-go { display: none; } }

/* Invoice-style payment summary */
.bill { margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.bill-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; background: linear-gradient(180deg, #F8FAFD, #F2F5FA); border-bottom: 1px solid var(--line); }
.bill-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.bill-title .icon { color: var(--blue); }
.bill-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px; }
.bill-badge .icon { width: 14px; height: 14px; }
.bill-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; font-size: 14px; }
.bill-row + .bill-row { border-top: 1px dashed var(--line); }
.bill-row b { font-variant-numeric: tabular-nums; font-weight: 700; }
.bill-row.muted { color: var(--text-2); }
.bill-row.muted b { font-weight: 600; }
.bill-row.strong { font-weight: 600; padding: 16px 18px; }
.bill-row.strong b { font-size: 18px; font-weight: 800; }
.bill .cur { font-size: .78em; margin-right: 1px; color: var(--text-2); }
.bill-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; border-top: 2px solid var(--text); margin: 0 18px; padding-left: 0; padding-right: 0; font-weight: 800; }
.bill-total b { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.bill-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 18px; font-size: 14px; }
.bill-foot .icon { width: 18px; height: 18px; flex: none; }
.bill-foot span { flex: 1; min-width: 180px; }
.bill-foot.ok { background: var(--green-50); color: #0B6B41; }
.bill-foot.warn { background: var(--red-50); color: #A1271C; }
.bill-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 18px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--text-2); background: #FAFBFD; }
.bill-note .icon { width: 16px; height: 16px; color: var(--blue); margin-top: 1px; flex: none; }

/* Status badges: softer, bordered */
.badge { border: 1px solid transparent; }
.tone-blue { border-color: #D3E0FD; }
.tone-orange { border-color: #FBD9BE; }
.tone-green { border-color: #C6EBD8; }
.tone-red { border-color: #F9CFCB; }
.tone-muted { border-color: #E2E7EE; }

/* Wallet card + amount choices to match */
.amount-btn.on { border-color: var(--blue); background: var(--blue-50); color: var(--blue-600); }
.wallet-card, .hd-wallet .wc-balance { font-variant-numeric: tabular-nums; }

/* fixes: inline icon buttons; "Not provided" values must not inherit the empty-state block style */
.link-btn { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.link-btn .icon { width: 16px; height: 16px; }
.review-list dd.empty { padding: 0; text-align: left; }


/* ---------- UPI gateway (look of Projects/upi-intent-pay/pay.html) ---------- */
.gw { margin-top: 14px; padding: 16px; border-radius: 22px; background: #F3F5F9; border: 1px solid var(--line); }
.gw-h { margin: 2px 4px 12px; font-size: 13px; font-weight: 800; color: #4B5B75; letter-spacing: .1em; text-transform: uppercase; }
.gw-app { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 20px;
  padding: 12px 12px 12px 14px; margin-bottom: 10px; cursor: pointer; color: inherit; text-decoration: none; font: inherit; transition: transform .08s, border-color .15s, box-shadow .15s; }
.gw-app:hover { border-color: #C9D1DE; box-shadow: 0 6px 18px -10px rgba(15,23,42,.25); }
.gw-app:active { transform: scale(.985); }
.gw-app:focus-visible { outline: 3px solid rgba(29,91,234,.35); outline-offset: 2px; }
.gw-ic { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; background: #fff; }
.gw-ic svg { width: 30px; height: 30px; display: block; }
.gw-nm { flex: 1; min-width: 0; }
.gw-nm b { display: block; font-size: 18px; font-weight: 800; letter-spacing: .1px; }
.gw-nm s { display: block; text-decoration: none; color: var(--text-2); font-size: 13.5px; font-weight: 500; margin-top: 1px; }
.gw-chev { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #ECEFF4; display: flex; align-items: center; justify-content: center; color: #111827; }
.gw-chev svg { width: 16px; height: 16px; }
.gw-status { min-height: 20px; font-size: 13.5px; color: var(--text-2); margin-top: 4px; text-align: center; }
.gw-status.ok { color: var(--green); }
.gw-status.bad { color: var(--red); }
.gw-lock { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--text-3); margin-top: 6px; }
.gw-veil { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: none; align-items: flex-end; justify-content: center; z-index: 60; }
.gw-veil.on { display: flex; }
@media (min-width: 720px) { .gw-veil { align-items: center; } .gw-sheet { border-radius: 24px !important; } }
.gw-sheet { background: #fff; width: 100%; max-width: 480px; border-radius: 26px 26px 0 0; padding: 18px 20px calc(22px + env(safe-area-inset-bottom, 0px)); animation: rise .2s ease; }
.gw-bar { width: 44px; height: 5px; border-radius: 3px; background: #DFE4EC; margin: 0 auto 14px; }
.gw-sheet h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.gw-sheet p { margin: 0 0 12px; color: var(--text-2); font-size: 13.5px; }
.gw-qrbox { display: flex; justify-content: center; padding: 8px 0 4px; min-height: 238px; }
.gw-qrbox img, .gw-qrbox canvas { width: 230px; height: 230px; border-radius: 12px; }
.gw-vpa { font-size: 13px; color: var(--text-2); text-align: center; margin: 4px 0 12px; word-break: break-all; }
.gw-hide { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pay-with { display: grid; gap: 8px; margin-top: 22px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 14px; background: #FAFBFD; }
.gw-logos { display: flex; gap: 10px; }
.gw-logo { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; }
.gw-logo svg { width: 24px; height: 24px; }

[hidden] { display: none !important; }


/* ---------- Service icons (two-tone, per service) ---------- */
.svc-icon { position: relative; background: linear-gradient(145deg, #F2F6FF, #E3ECFF); color: var(--blue); box-shadow: inset 0 0 0 1px rgba(29,91,234,.12); }
.svc-icon.dl { background: linear-gradient(145deg, #F2F3FD, #E3E6FA); color: var(--indigo); box-shadow: inset 0 0 0 1px rgba(59,75,200,.14); }
.svc-icon.rc { background: linear-gradient(145deg, #FFF7EC, #FDEBD3); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(180,83,9,.16); }
.svc-icon .svc-svg { width: 28px; height: 28px; }
.svc-row .svc-icon { width: 52px; height: 52px; border-radius: 15px; }
.svc-icon.lg { width: 56px; height: 56px; border-radius: 16px; flex: none; }
.svc-icon.lg .svc-svg { width: 32px; height: 32px; }
.svc-icon.sm { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.svc-icon.sm .svc-svg { width: 23px; height: 23px; }
.app-card-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app-card-id h3, .app-card-id h1 { margin-top: 2px; }


/* ---------- Discount display + Hot services ---------- */
.price-block .was { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.price-block .was s { font-size: 12px; font-weight: 600; color: var(--text-3); }
.price-block .was s .cur { font-size: 1em; color: inherit; }
.off { font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--green); padding: 2px 6px; border-radius: 6px; letter-spacing: .02em; white-space: nowrap; }
.price-block.lg .was s { font-size: 13px; }
.tag-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #0B6B41; background: var(--green-50); border: 1px solid #C6EBD8; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.section-sub { color: var(--text-2); font-size: 14px; margin: -8px 0 14px; }
.hot-flame { font-size: 18px; }
.hot-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .hot-grid { grid-template-columns: 1fr 1fr; } }
.hot-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 20px; color: var(--text);
  background: linear-gradient(160deg, #FFFFFF 0%, #F5F8FF 100%); border: 1.5px solid #D6E2FD; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 14px 34px -20px rgba(29,91,234,.45); transition: transform .15s, box-shadow .15s; }
.hot-card.dl { background: linear-gradient(160deg, #FFFFFF 0%, #F4F5FE 100%); border-color: #D9DCF7; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 14px 34px -20px rgba(59,75,200,.45); }
.hot-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 20px 40px -20px rgba(29,91,234,.55); }
.hot-ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(35deg); background: linear-gradient(90deg, #F26B0F, #FF8A3D); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 40px; box-shadow: 0 6px 14px -6px rgba(242,107,15,.7); letter-spacing: .03em; }
.hot-top { display: flex; gap: 14px; align-items: flex-start; padding-right: 54px; }
.hot-txt h3 { font-size: 17px; font-weight: 800; }
.hot-txt p { font-size: 13.5px; color: var(--text-2); margin: 4px 0 8px; }
.hot-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed var(--line-2); margin-top: auto; }
.hot-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hot-price s { color: var(--text-3); font-size: 15px; font-weight: 600; }
.hot-price b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hot-price .cur { font-size: .7em; margin-right: 1px; }
.hot-price .save { font-size: 12px; font-weight: 700; color: var(--green); width: 100%; margin-top: -2px; }


/* ---------- Admin: Wallet Top-ups tracker ---------- */
.tab-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; }
.kpi .kpi-sub { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.kpi.kpi-alert { border-color: #FBD9BE; background: linear-gradient(180deg, #FFF8F1, #FFFFFF); }
.kpi.kpi-alert b { color: #C25B00; }
.table tr.row-attn td { background: #FFFAF3; }
.table tr.row-attn td:first-child { box-shadow: inset 3px 0 0 var(--orange); }


/* ---------- UTR reminders ---------- */
.utr-attn { padding: 14px; border-radius: 16px; background: #FFF8F1; box-shadow: 0 0 0 2px #F9C79C; animation: utrPulse 1.6s ease 2; }
@keyframes utrPulse { 0%, 100% { box-shadow: 0 0 0 2px #F9C79C; } 50% { box-shadow: 0 0 0 6px rgba(242,107,15,.25); } }
.topup-reminder { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: #FFF8F1; border: 1.5px solid #F9C79C; color: var(--text); }
.topup-reminder > .icon { color: #C25B00; width: 22px; height: 22px; }
.topup-reminder span:not(.btn) { flex: 1; min-width: 200px; font-size: 14px; color: var(--text-2); }
.topup-reminder b { display: block; color: var(--text); font-size: 15px; }

/* ======================================================================
   Services v2 — aligned card grid
   ====================================================================== */
.seg { margin-bottom: 8px; }
.sc-section { margin-top: 34px; }
.sc-section:first-child { margin-top: 26px; }
.sc-section-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.sc-section-txt { flex: 1; min-width: 0; }
.sc-section-txt h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.sc-section-txt p { color: var(--text-2); font-size: 14px; margin-top: 2px; }
.sc-count { flex: none; min-width: 32px; height: 28px; padding: 0 10px; border-radius: 99px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 13px; font-weight: 700; }

.sc-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .sc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.sc { display: flex; flex-direction: column; min-height: 100%; padding: 20px 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--text);
  box-shadow: 0 1px 2px rgba(15,23,42,.04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.sc:hover { border-color: #C9D7FB; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 16px 32px -18px rgba(29,91,234,.35); transform: translateY(-2px); }
.sc.dl:hover { border-color: #D3D7F6; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 16px 32px -18px rgba(59,75,200,.35); }
.sc.rc:hover { border-color: #F6D9B6; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 16px 32px -18px rgba(180,83,9,.30); }
.sc:focus-visible { outline: 3px solid rgba(29,91,234,.35); outline-offset: 2px; }

.sc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.sc-head .svc-icon { width: 52px; height: 52px; border-radius: 15px; flex: none; }
.sc-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.sc-tag { display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 9px; border-radius: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.off-tag { background: var(--green); color: #fff; }
.otp-tag { background: var(--orange-50); color: #C25B00; border: 1px solid #FBD9BE; }

.sc-name { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.sc-desc { margin-top: 6px; color: var(--text-2); font-size: 13.5px; line-height: 1.5; min-height: calc(1.5em * 2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-badge { align-self: flex-start; margin-top: 10px; }

.sc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.sc-desc { margin-bottom: 18px; }
.sc-badge { margin-top: -8px; margin-bottom: 18px; }
.sc-foot { margin-top: auto !important; }
.sc-price small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.sc-amt { display: inline-flex; align-items: baseline; gap: 8px; }
.sc-amt b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sc-amt s { font-size: 13px; font-weight: 600; color: var(--text-3); }
.sc-amt .cur { font-size: .72em; margin-right: 1px; color: var(--text-2); }
.sc-amt s .cur { color: inherit; font-size: 1em; }
.sc-cta { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 11px; background: var(--blue-50); color: var(--blue-600); font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .15s, color .15s; }
.sc-cta .icon { width: 16px; height: 16px; }
.sc:hover .sc-cta { background: var(--blue); color: #fff; }
.sc.dl .sc-cta { background: var(--indigo-50); color: var(--indigo); }
.sc.dl:hover .sc-cta { background: var(--indigo); color: #fff; }
.sc.rc .sc-cta { background: var(--amber-50); color: var(--amber); }
.sc.rc:hover .sc-cta { background: var(--amber); color: #fff; }
.info-strip { margin-top: 32px; }


/* ---------- WhatsApp support widget ---------- */
#wa-widget { position: fixed; right: 16px; bottom: calc(var(--bottom-nav) + 16px + env(safe-area-inset-bottom)); z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
body.no-bottomnav #wa-widget { bottom: calc(18px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { #wa-widget { right: 24px; bottom: 24px; } }
.wa-fab { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 14px; border: 0; border-radius: 99px; background: #25D366; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(37,211,102,.7), 0 2px 6px rgba(15,23,42,.18); transition: transform .15s, box-shadow .15s; position: relative; }
.wa-fab::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: waPulse 2.4s ease-out infinite; }
#wa-widget.open .wa-fab::before { animation: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab svg { width: 28px; height: 28px; flex: none; }
@media (max-width: 520px) { .wa-fab { width: 56px; padding: 0; justify-content: center; } .wa-fab-label { display: none; } }
.wa-pop { width: min(340px, calc(100vw - 32px)); background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: rise .18s ease; }
.wa-pop-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #075E54; color: #fff; }
.wa-pop-head b { display: block; font-size: 15px; }
.wa-pop-head small { display: block; font-size: 12px; opacity: .85; }
.wa-pop-head > div { flex: 1; min-width: 0; }
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; flex: none; }
.wa-avatar svg { width: 24px; height: 24px; }
.wa-avatar.lg { width: 52px; height: 52px; }
.wa-avatar.lg svg { width: 30px; height: 30px; }
.wa-x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.wa-x .icon { width: 16px; height: 16px; }
.wa-pop-body { padding: 16px; background: #ECE5DD; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1.2px); background-size: 14px 14px; }
.wa-bubble { position: relative; max-width: 92%; padding: 10px 12px; background: #fff; border-radius: 0 12px 12px 12px; font-size: 14px; color: #111B21; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-start { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px; height: 48px; border-radius: 14px; background: #25D366; color: #fff; font-weight: 800; font-size: 15px; }
.wa-start:hover { background: #1EBE5B; }
.wa-start svg { width: 22px; height: 22px; }
.wa-btn { background: #25D366; color: #fff; box-shadow: 0 6px 14px -8px rgba(37,211,102,.8); }
.wa-btn:hover { background: #1EBE5B; color: #fff; }
.wa-btn svg { width: 18px; height: 18px; }
.wa-help-card { margin-top: 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; border-color: #BDEBCF; background: linear-gradient(180deg, #F3FCF6, #FFFFFF); }
/* keep page content clear of the floating button */
.page { padding-bottom: calc(var(--bottom-nav) + 96px); }
@media (min-width: 900px) { .page { padding-bottom: 96px; } }

/* ---------- Services theme v3: category banners + accent cards ---------- */
.sc-section-head { position: relative; overflow: hidden; border-bottom: 0; padding: 18px 20px; border-radius: 18px; color: #fff; margin-bottom: 20px;
  background: radial-gradient(420px 180px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(120deg, #1749C7, #3D74F0); box-shadow: 0 14px 30px -18px rgba(29,91,234,.7); }
.sc-section.dl .sc-section-head { background: radial-gradient(420px 180px at 100% 0%, rgba(255,255,255,.16), transparent 60%), linear-gradient(120deg, #28339A, #4F5FD6); box-shadow: 0 14px 30px -18px rgba(59,75,200,.7); }
.sc-section.rc .sc-section-head { background: radial-gradient(420px 180px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(120deg, #A24A06, #E58A1F); box-shadow: 0 14px 30px -18px rgba(180,83,9,.6); }
.sc-section-head::after { content: ''; position: absolute; right: -30px; bottom: -50px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255,255,255,.08); }
.sc-section-head .cat-chip { background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.sc-section-txt h2 { color: #fff; }
.sc-section-txt p { color: rgba(255,255,255,.85); }
.sc-count { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); color: #fff; position: relative; z-index: 1; }
.sc { position: relative; overflow: hidden; border-top: 0; }
.sc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #1D5BEA, #6B95F5); }
.sc.dl::before { background: linear-gradient(90deg, #3B4BC8, #7F8BE6); }
.sc.rc::before { background: linear-gradient(90deg, #B45309, #F0A04B); }
.sc { padding-top: 22px; }
.sc-cta { background: linear-gradient(135deg, #1D5BEA, #4A7FF2); color: #fff; box-shadow: 0 6px 14px -8px rgba(29,91,234,.8); }
.sc:hover .sc-cta { background: linear-gradient(135deg, #1749C7, #1D5BEA); }
.sc.dl .sc-cta { background: linear-gradient(135deg, #3B4BC8, #6271DE); color: #fff; box-shadow: 0 6px 14px -8px rgba(59,75,200,.8); }
.sc.dl:hover .sc-cta { background: linear-gradient(135deg, #2E3BA8, #3B4BC8); }
.sc.rc .sc-cta { background: linear-gradient(135deg, #B45309, #E07B12); color: #fff; box-shadow: 0 6px 14px -8px rgba(180,83,9,.7); }
.sc.rc:hover .sc-cta { background: linear-gradient(135deg, #963F05, #B45309); }
.sc-amt b { color: var(--navy); }


/* ---------- Login page: running ticker + services showcase ---------- */
.auth { grid-template-rows: auto 1fr; }
.auth-ticker { grid-column: 1 / -1; display: flex; overflow: hidden; height: 40px; align-items: center; background: linear-gradient(90deg, #F26B0F, #FF8A3D); color: #fff; font-weight: 700; font-size: 14px; position: relative; z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk-track { display: flex; flex: none; align-items: center; gap: 22px; padding-right: 22px; animation: tkScroll 28s linear infinite; white-space: nowrap; }
.auth-ticker:hover .tk-track { animation-play-state: paused; }
@keyframes tkScroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.tk-item { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .01em; }
.tk-item .icon { width: 17px; height: 17px; }
.tk-dot { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none !important; } }

.auth-hero { justify-content: flex-start; gap: 26px; }
.hero-services { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 16px 18px; min-height: 120px; }
.hs-title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9FB6DD; margin-bottom: 12px; }
.hs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hs-cat { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.hs-cat .cat-chip { width: 26px; height: 26px; border-radius: 8px; font-size: 10.5px; }
.hs-item { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.07); }
.hs-item .svc-icon.sm { width: 30px; height: 30px; border-radius: 9px; }
.hs-item .svc-icon.sm .svc-svg { width: 18px; height: 18px; }
.hs-name { font-size: 12.5px; color: #DCE6F7; line-height: 1.25; }
.hs-price { font-size: 12px; font-weight: 800; color: #FFB37A; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hs-price .cur { font-size: .85em; }
@media (max-width: 1180px) { .hs-grid { grid-template-columns: 1fr 1fr; } }

.svc-showcase { width: 100%; max-width: 440px; margin-top: 20px; }
@media (min-width: 960px) { .svc-showcase { display: none; } }
.ss-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ss-head b { font-size: 15px; font-weight: 800; }
.ss-head span { font-size: 12px; font-weight: 700; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 2px 9px; }
.ss-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; }
.ss-track::-webkit-scrollbar { display: none; }
.ss-card { position: relative; flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
.ss-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--blue); }
.ss-card.dl::before { background: var(--indigo); }
.ss-card.rc::before { background: var(--amber); }
.ss-card .svc-icon { width: 42px; height: 42px; border-radius: 12px; }
.ss-card .svc-icon .svc-svg { width: 24px; height: 24px; }
.ss-name { font-size: 13px; font-weight: 700; line-height: 1.25; min-height: 2.5em; }
.ss-price { display: flex; align-items: baseline; gap: 5px; margin-top: auto; }
.ss-price b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ss-price s { font-size: 11px; color: var(--text-3); }
.ss-price .cur { font-size: .8em; }
.ss-off { position: absolute; top: 9px; right: 8px; font-size: 10px; font-weight: 800; color: #fff; background: var(--green); padding: 2px 6px; border-radius: 6px; }

/* login showcase without prices */
.hs-item { grid-template-columns: 30px 1fr; }
.ss-card { flex-basis: 120px; }
.ss-name { min-height: 0; }

/* ticker: offer + link */
.tk-track { animation-duration: 55s; }
.tk-hot { background: rgba(255,255,255,.18); padding: 3px 10px; border-radius: 99px; }
.tk-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tk-link:hover { color: #FFF3D6; }


/* ======================================================================
   Admin console v2 — sidebar layout
   ====================================================================== */
.page.adm { max-width: 1320px; }
.adm-shell { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .adm-shell { grid-template-columns: 236px minmax(0, 1fr); gap: 26px; } }
.adm-side { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow-sm); }
@media (min-width: 1000px) { .adm-side { position: sticky; top: 84px; } }
.adm-side-head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.adm-side-head b { display: block; font-size: 15px; }
.adm-side-head small { display: block; font-size: 12px; color: var(--text-3); }
.adm-side-badge { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), #24407A); color: #fff; display: grid; place-items: center; flex: none; }
.adm-side-badge .icon { width: 19px; height: 19px; }
.adm-nav { display: flex; flex-direction: column; gap: 2px; }
.adm-nav-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent; color: var(--text-2); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; text-align: left; transition: background .12s, color .12s; }
.adm-nav-item .icon { width: 19px; height: 19px; flex: none; }
.adm-nav-item span { flex: 1; }
.adm-nav-item:hover { background: var(--bg); color: var(--text); }
.adm-nav-item.on { background: var(--blue-50); color: var(--blue-600); }
.adm-count { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }
.adm-side-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px 2px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-3); }
.adm-side-foot:hover { color: var(--blue); }
@media (max-width: 999px) {
  .adm-side { padding: 8px; border-radius: 14px; }
  .adm-side-head, .adm-side-foot { display: none; }
  .adm-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .adm-nav::-webkit-scrollbar { display: none; }
  .adm-nav-item { width: auto; flex: none; padding: 9px 12px; }
}
.adm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.adm-head h1 { font-size: clamp(22px, 2.6vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.adm-head p { color: var(--text-2); margin-top: 3px; font-size: 14px; }
.adm-date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 99px; }
.adm-date .icon { width: 15px; height: 15px; }
.adm-section-label { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); margin: 6px 2px 10px; }
.adm-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
@media (min-width: 1180px) { .adm-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.adm-kpi { display: flex; align-items: flex-start; gap: 12px; text-align: left; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); cursor: pointer; font: inherit; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.adm-kpi:hover { border-color: #C9D7FB; box-shadow: var(--shadow); transform: translateY(-1px); }
.adm-kpi-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--blue-50); color: var(--blue); }
.adm-kpi-ic .icon { width: 20px; height: 20px; }
.adm-kpi.indigo .adm-kpi-ic { background: var(--indigo-50); color: var(--indigo); }
.adm-kpi.orange .adm-kpi-ic { background: var(--orange-50); color: #C25B00; }
.adm-kpi.green .adm-kpi-ic { background: var(--green-50); color: var(--green); }
.adm-kpi.muted .adm-kpi-ic { background: #EEF1F5; color: var(--text-2); }
.adm-kpi.attn { border-color: #FBD9BE; background: linear-gradient(180deg, #FFF8F1, #FFFFFF); }
.adm-kpi > div { min-width: 0; }
.adm-kpi span { display: block; font-size: 13px; color: var(--text-2); font-weight: 600; }
.adm-kpi b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.adm-kpi small { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.adm-panels { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1180px) { .adm-panels { grid-template-columns: 1.15fr 1fr; } .adm-panels .adm-panel:last-child { grid-column: 1 / -1; } }
.adm-panel { padding: 18px 18px 8px; }
.adm-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.adm-panel-head b { font-size: 15px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.adm-panel-head small { color: var(--text-3); font-size: 12px; }
.adm-list-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-top: 1px solid var(--line); color: var(--text); border-radius: 10px; }
a.adm-list-row:hover { background: var(--bg); }
.adm-list-main { flex: 1; min-width: 0; }
.adm-list-main b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-list-main small { display: block; font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-list-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.adm-list-end small { font-size: 11.5px; color: var(--text-3); }
.adm-amt { font-variant-numeric: tabular-nums; font-weight: 800; }
.adm-bars { display: grid; gap: 10px; padding-bottom: 12px; }
.adm-bar { display: grid; grid-template-columns: minmax(120px, 220px) 1fr 36px; align-items: center; gap: 12px; font-size: 13.5px; }
.adm-bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-bar-track { height: 10px; border-radius: 99px; background: #EEF1F6; overflow: hidden; }
.adm-bar-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1D5BEA, #6B95F5); }
.adm-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.adm-empty { display: flex; align-items: center; gap: 10px; padding: 18px 6px 22px; color: var(--text-3); font-size: 14px; }
.adm-empty .icon { width: 20px; height: 20px; }
.adm-empty.big { flex-direction: column; justify-content: center; text-align: center; padding: 48px 20px; gap: 6px; }
.adm-empty.big .icon { width: 34px; height: 34px; color: var(--blue); margin-bottom: 6px; }
.adm-empty.big b { color: var(--text); font-size: 16px; }
.adm-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.adm-toolbar .search { max-width: 420px; }
.adm-select { width: auto; min-width: 200px; min-height: 44px; }
.adm-result { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--text-3); }
.adm-table-card { border-radius: 16px; overflow: hidden; }
.adm-table th { background: #F8FAFC; position: sticky; top: 0; z-index: 1; }
.adm-table td { padding-top: 12px; padding-bottom: 12px; }
.adm-table tbody tr:hover td { background: #FAFBFD; }
.adm-sub { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.adm-muted { color: var(--text-3); font-size: 13.5px; }
.adm-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.adm-person b { display: block; font-size: 14px; white-space: nowrap; }
.adm-person small { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.adm-avatar { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; color: var(--blue-600); background: linear-gradient(145deg, #EAF1FF, #DCE7FE); }
.adm-svc { display: flex; align-items: center; gap: 10px; min-width: 0; }
.adm-svc .svc-icon.sm { width: 34px; height: 34px; border-radius: 10px; }
.adm-svc .svc-icon.sm .svc-svg { width: 20px; height: 20px; }
.adm-svc span { font-weight: 600; font-size: 14px; }
.adm-chev { color: var(--text-3); width: 36px; }
.adm-chev .icon { width: 16px; height: 16px; }
.adm-pill { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 99px; background: #EEF1F5; font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.adm-staff { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
@media (min-width: 1100px) { .adm-staff { grid-template-columns: minmax(0, 1fr) 340px; } }
.adm-staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.adm-staff-card { padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.adm-staff-card.off { opacity: .6; }
.adm-staff-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.adm-staff-top .adm-avatar { width: 44px; height: 44px; border-radius: 13px; font-size: 15px; }
.adm-staff-card b { font-size: 15px; }
.adm-staff-card small { color: var(--text-3); font-size: 13px; }
.adm-staff-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.adm-role { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: #EEF1F5; color: var(--text-2); }
.adm-role.admin { background: var(--indigo-50); color: var(--indigo); }
.adm-form { position: sticky; top: 84px; }
.adm-svc-group { margin-bottom: 16px; }
.adm-group-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #FBFCFE; }
.adm-group-head .cat-chip { width: 32px; height: 32px; border-radius: 9px; font-size: 11px; }
.adm-money-input { position: relative; width: 120px; }
.adm-money-input span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-weight: 700; font-size: 14px; }
.adm-money-input .input { min-height: 38px; padding: 6px 10px 6px 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.adm-row-off td { opacity: .5; }
.adm-row-off td:last-child { opacity: 1; }
.adm-app-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 22px; margin-bottom: 18px; }
.adm-app-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.adm-app-title h1 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 800; letter-spacing: -.02em; margin: 2px 0; }
.adm-app-meta { display: flex; gap: 22px; flex-wrap: wrap; }
.adm-app-meta > div > span:first-child { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.adm-app-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 1000px) { .adm-app-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); } .adm-app-side { position: sticky; top: 84px; } }
.adm-status-card { border-top: 4px solid var(--blue); }
.tone-edge-orange { border-top-color: var(--orange); }
.tone-edge-green { border-top-color: var(--green); }
.tone-edge-red { border-top-color: var(--red); }
.tone-edge-muted { border-top-color: var(--line-2); }
.adm-doc-select { width: auto; min-height: 36px; padding: 4px 32px 4px 10px; font-size: 13px; }
.adm .kpis { margin-bottom: 16px; }

/* admin v2 fixes */
.toggle { display: inline-block; vertical-align: middle; }
.brand, .brand-mark { flex: none; }
.adm-main, .adm-side { min-width: 0; }
.adm-app-meta > div > span.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; text-transform: none; letter-spacing: 0; margin: 0; }
.adm-app-meta .tone-blue { background: var(--blue-50); color: var(--blue); border: 1px solid #D3E0FD; }
.adm-app-meta .tone-orange { background: var(--orange-50); color: #C25B00; border: 1px solid #FBD9BE; }
.adm-app-meta .tone-green { background: var(--green-50); color: var(--green); border: 1px solid #C6EBD8; }
.adm-app-meta .tone-red { background: var(--red-50); color: var(--red); border: 1px solid #F9CFCB; }
.adm-app-meta .tone-muted { background: #EEF1F5; color: #586579; border: 1px solid #E2E7EE; }
.adm-app-meta .badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (max-width: 560px) {
  .adm-kpis { gap: 10px; }
  .adm-kpi { flex-direction: column; gap: 8px; padding: 12px; }
  .adm-kpi b { font-size: 20px; }
  .adm-kpi small { display: none; }
  .adm-kpi-ic { width: 34px; height: 34px; }
  .adm-bar { grid-template-columns: minmax(90px, 1fr) 1fr 28px; }
  .adm-app-head { padding: 16px; }
  .adm-result { margin-left: 0; width: 100%; }
}

.adm-panels { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1180px) { .adm-panels { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.adm-panel { min-width: 0; }

/* draft delete */
.app-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.draft-del { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s; }
.draft-del .icon { width: 14px; height: 14px; }
.draft-del:hover { border-color: #F3C3C3; color: var(--red); background: var(--red-50); }
.draft-del.confirm { border-color: var(--red); background: var(--red); color: #fff; }
.flow-head .draft-del { align-self: center; }


/* ======================================================================
   Home v4: ticker, Navratri banner, compact hero, quick actions, info
   ====================================================================== */
.home-ticker { border-radius: 14px; margin-bottom: 16px; height: 38px; font-size: 13.5px; }
.tk-strong { font-weight: 800; }

.fest-banner { position: relative; overflow: hidden; border-radius: 20px; margin-bottom: 16px; color: #fff;
  background: radial-gradient(500px 220px at 0% 120%, rgba(255,214,0,.35), transparent 60%), radial-gradient(420px 200px at 100% -20%, rgba(255,120,180,.35), transparent 60%), linear-gradient(110deg, #7A0B4F 0%, #B5174B 45%, #E8590C 100%);
  box-shadow: 0 16px 34px -18px rgba(181,23,75,.7); }
.fest-toran { height: 30px; background-repeat: repeat-x; background-size: 56px 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='30' viewBox='0 0 56 30'%3E%3Cpath d='M0 3 Q28 12 56 3' fill='none' stroke='%23FFD54F' stroke-width='1.6'/%3E%3Cpath d='M14 7 l-4 10 l4 -3 l4 3z' fill='%232E7D32'/%3E%3Cpath d='M42 7 l-4 10 l4 -3 l4 3z' fill='%23388E3C'/%3E%3Ccircle cx='28' cy='10' r='6' fill='%23FF9800'/%3E%3Ccircle cx='28' cy='10' r='3.2' fill='%23FFC107'/%3E%3Ccircle cx='28' cy='19' r='4.2' fill='%23FF6F00'/%3E%3Ccircle cx='28' cy='26' r='2.6' fill='%23FFD54F'/%3E%3Ccircle cx='3' cy='4' r='3.4' fill='%23FFC107'/%3E%3Ccircle cx='53' cy='4' r='3.4' fill='%23FFC107'/%3E%3C/svg%3E"); }
.fest-body { display: flex; align-items: center; gap: 16px; padding: 6px 20px 18px; flex-wrap: wrap; }
.fest-diya { font-size: 40px; filter: drop-shadow(0 0 12px rgba(255,200,0,.8)); animation: diya 2.4s ease-in-out infinite; }
@keyframes diya { 0%, 100% { filter: drop-shadow(0 0 8px rgba(255,200,0,.6)); } 50% { filter: drop-shadow(0 0 18px rgba(255,210,0,1)); } }
.fest-txt { flex: 1; min-width: 220px; }
.fest-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #FFE082; }
.fest-txt h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: -.01em; margin: 2px 0 4px; }
.fest-txt p { font-size: 14px; color: rgba(255,255,255,.9); }
.fest-btn { background: #FFD54F; color: #6B0F3A; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(255,213,79,.9); }
.fest-btn:hover { background: #FFE082; color: #6B0F3A; }
@media (prefers-reduced-motion: reduce) { .fest-diya { animation: none; } }

.hdw-info { min-width: 0; }
@media (max-width: 640px) {
  .hero-compact { padding: 16px 16px 14px; gap: 12px; border-radius: 18px; }
  .hero-compact .eyebrow { display: none; }
  .hero-compact .hd-main h1 { font-size: 21px; }
  .hero-compact .hd-main p { font-size: 13px; margin-top: 2px; }
  .hero-compact .hd-wallet { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; }
  .hero-compact .wc-label { font-size: 11.5px; }
  .hero-compact .wc-label .icon { width: 14px; height: 14px; }
  .hero-compact .hd-wallet .wc-balance { font-size: 22px; margin: 2px 0 0; }
  .hero-compact .hdw-more { display: none; }
  .fest-body { padding: 4px 16px 14px; gap: 12px; }
  .fest-diya { font-size: 32px; }
  .fest-txt p { font-size: 13px; }
  .fest-btn { width: 100%; }
}

.quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.quick-actions a, .quick-actions button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--text); font: inherit; font-size: 12.5px; font-weight: 700; text-align: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; line-height: 1.2; }
.quick-actions a:hover, .quick-actions button:hover { border-color: #C9D7FB; transform: translateY(-1px); }
.qa-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.qa-ic .icon, .qa-ic svg { width: 22px; height: 22px; }
.qa-ic.green { background: var(--green-50); color: var(--green); }
.qa-ic.blue { background: var(--blue-50); color: var(--blue); }
.qa-ic.indigo { background: var(--indigo-50); color: var(--indigo); }
.qa-ic.wa { background: #E7F8EE; color: #1EBE5B; }
@media (min-width: 900px) { .quick-actions a, .quick-actions button { flex-direction: row; justify-content: center; font-size: 14px; padding: 12px; } .qa-ic { width: 38px; height: 38px; border-radius: 12px; } }

.how-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .how-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how-step { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.how-n { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #1D5BEA, #4A7FF2); }
.how-step b { display: block; font-size: 15px; }
.how-step p { font-size: 13.5px; color: var(--text-2); margin-top: 2px; }
.home-info { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
@media (min-width: 960px) { .home-info { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.info-h { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.about-card p { color: var(--text-2); font-size: 14px; line-height: 1.6; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 14px 0; }
.about-points span { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.about-points .icon { width: 16px; height: 16px; color: var(--green); flex: none; }
.about-links { display: flex; gap: 8px; flex-wrap: wrap; }
.home-faq details:last-of-type { border-bottom: 0; }
.home-faq .see-all { margin-top: 8px; display: inline-flex; }

.terms-note { font-size: 12.5px; color: var(--text-3); text-align: center; margin-top: 14px; }
.terms-card { padding: 8px 24px; }
.terms-sec { padding: 18px 0; border-bottom: 1px solid var(--line); }
.terms-sec:last-child { border-bottom: 0; }
.terms-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.terms-sec h2 span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: 13px; }
.terms-sec ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.public-wrap { min-height: 100vh; }
.public-head { max-width: 860px; margin: 0 auto; padding: 16px; display: flex; justify-content: space-between; align-items: center; }

/* the long ticker must never widen the login grid */
.auth { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .auth { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.auth-ticker { min-width: 0; max-width: 100%; }


/* ======================================================================
   Login v3 — phone layout: compact branded header, smaller card, services grid
   ====================================================================== */
.auth-mhead { display: none; }
@media (max-width: 959px) {
  .auth-main { padding: 0 0 28px; justify-content: flex-start; }
  .auth-lang, .auth-mobile-brand { display: none; }
  .auth-mhead { display: block; width: 100%; padding: 16px 16px 58px; color: #fff;
    background: radial-gradient(420px 200px at 0% 0%, #1F5BD6 0%, transparent 60%), radial-gradient(360px 200px at 100% 120%, rgba(242,107,15,.35), transparent 60%), var(--navy); }
  .amh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .amh-top .brand-logo { height: 28px; background: #fff; padding: 6px 10px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
  .amh-top .lang-select { height: 36px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
  .amh-top .lang-select select { color: #fff; font-size: 13px; }
  .amh-top .lang-select select option { color: #0F172A; }
  .amh-title { margin-top: 14px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
  .amh-title em { font-style: normal; color: #FF9A4D; }
  .amh-sub { margin-top: 4px; font-size: 13px; color: #C6D3EA; }
  .auth-card { width: calc(100% - 32px); max-width: 440px; margin-top: -42px; padding: 20px 18px; border-radius: 18px; box-shadow: 0 18px 40px -20px rgba(15,23,42,.35); }
  .auth-card h2 { font-size: 20px; }
  .auth-card .sub { font-size: 13.5px; margin-top: 4px; }
  .auth-card form { margin-top: 16px; }
  .auth-card .form-grid { gap: 14px; }
  .auth-card .field > label { font-size: 13px; }
  .auth-card .input { min-height: 46px; padding: 10px 12px; }
  .auth-card .input-group .input.has-prefix { padding-left: 58px; }
  .auth-card .input-group .prefix { left: 12px; }
  .auth-card .btn { min-height: 46px; }
  .auth-foot { margin-top: 14px; font-size: 13.5px; }
  .steps-dots { margin-top: 12px; }
  .svc-showcase { width: calc(100% - 32px); max-width: 440px; margin-top: 22px; }
  .auth-ticker { height: 34px; font-size: 12.5px; }
}
@media (max-width: 360px) { .amh-title { font-size: 20px; } .auth-card { padding: 18px 14px; } }

/* services grid (replaces the sideways strip) */
.svc-showcase .ss-head { margin-bottom: 12px; }
.ssg-cat { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px; font-size: 13px; font-weight: 800; color: var(--text-2); }
.ssg-cat .cat-chip { width: 24px; height: 24px; border-radius: 7px; font-size: 9.5px; }
.ssg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ssg-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 10px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.ssg-tile::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--blue); }
.ssg-tile.dl::before { background: var(--indigo); }
.ssg-tile.rc::before { background: var(--amber); }
.ssg-tile .svc-icon { width: 38px; height: 38px; border-radius: 11px; }
.ssg-tile .svc-icon .svc-svg { width: 22px; height: 22px; }
.ssg-tile span { font-size: 11.5px; font-weight: 700; line-height: 1.25; color: var(--text); }
/* keep the floating WhatsApp button from covering content on the login page */
body.no-bottomnav .svc-showcase { padding-bottom: 72px; }


/* ---------- Full Setup Inquiry (premium / locked) ---------- */
.cat-chip.setup { background: linear-gradient(135deg, #6D28D9, #9333EA); box-shadow: 0 6px 14px -8px rgba(109,40,217,.7); }
.svc-icon.setup { background: #F3EEFE; color: #7C3AED; }
.sc-section.setup .sc-section-head { background: radial-gradient(420px 180px at 100% 0%, rgba(255,255,255,.16), transparent 60%), linear-gradient(120deg, #5B1DB8, #8B2FE0); box-shadow: 0 14px 30px -18px rgba(109,40,217,.7); }
.sc-section.setup .sc::before { background: linear-gradient(90deg, #7C3AED, #A970F6); }
.sc-section.setup .sc-cta { background: linear-gradient(135deg, #7C3AED, #9333EA); box-shadow: 0 6px 14px -8px rgba(124,58,237,.8); }
.sc-count.locked { color: #fff; }
.sc-count.locked .icon { width: 16px; height: 16px; }
.setup-lock { text-align: center; padding: 28px 22px; border: 1.5px dashed #D6C6F5; background: linear-gradient(180deg, #FAF7FE, #FFFFFF); }
.setup-lock-ic { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 14px; display: grid; place-items: center; background: #F0E7FD; color: #7C3AED; }
.setup-lock-ic .icon { width: 28px; height: 28px; }
.setup-lock h3 { font-size: 19px; font-weight: 800; }
.setup-lock > p { color: var(--text-2); font-size: 14px; max-width: 520px; margin: 8px auto 0; line-height: 1.6; }
.setup-list { list-style: none; margin: 16px auto; padding: 0; display: inline-grid; gap: 8px; text-align: left; }
.setup-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.setup-list .inline-ic { color: var(--green); }
.setup-unlock-btn { background: linear-gradient(135deg, #7C3AED, #9333EA); box-shadow: 0 8px 18px -8px rgba(124,58,237,.8); }
.setup-unlock-btn:hover { background: linear-gradient(135deg, #6D28D9, #7C3AED); }
.setup-note { display: block; margin-top: 10px; font-size: 12.5px; color: var(--text-3); }

.auth-foot-lg { font-size: 16px; margin-top: 18px; }
.auth-foot-lg a b { font-size: 17px; }
