/* ===== Emdad Khodro Shiraz — MVP styles ===== */
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/Vazirmatn-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/Vazirmatn-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/Vazirmatn-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/Vazirmatn-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --line: #e5e9f2;
  --dark: #0b1220;
  --dark-2: #111a30;
  --brand: #f5b301;
  --brand-ink: #7a5200;
  --red: #dc2626;
  --red-soft: #fdecec;
  --green: #059669;
  --green-soft: #e3f7ef;
  --blue: #2563eb;
  --blue-soft: #e8efff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 6px 20px -6px rgba(16,24,40,.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  font-size: 15.5px;
}
img, svg { vertical-align: middle; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; align-items: center; gap: 10px; }
.spacer { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #3d2a00; font-weight: 700; font-size: 13px; padding: 3px 12px; border-radius: 999px; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.blue { background: var(--blue-soft); color: var(--blue); }
.pill.gray { background: #eef1f7; color: var(--muted); }

/* ===== Topbar ===== */
.topbar { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px rgba(2,6,23,.35); }
.topbar-inner { max-width: 1120px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; white-space: nowrap; }
.brand-logo { width: 38px; height: 38px; border-radius: 11px; background: #16213c; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); }
.brand small { display: block; font-size: 11px; font-weight: 500; color: #93a1c0; line-height: 1.2; }
.nav { display: flex; gap: 4px; align-items: center; margin-right: auto; }
.nav a { color: #cfd8ea; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; transition: .15s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a.active { color: var(--brand); background: rgba(245,179,1,.12); }
.hotline-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #3d2a00; font-weight: 800; padding: 8px 16px; border-radius: 12px; font-size: 14px; white-space: nowrap; }
.hotline-chip svg { width: 16px; height: 16px; }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 10px; padding: 7px 11px; cursor: pointer; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--dark); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; border-top: 1px solid rgba(255,255,255,.08); }
  .nav.open { display: flex; }
  .menu-btn { display: inline-block; margin-right: auto; }
  .brand small { display: none; }
}

/* ===== Hero ===== */
.hero { background: radial-gradient(1200px 500px at 70% -10%, #22305a 0%, var(--dark) 55%); color: #fff; padding: 64px 0 72px; }
.hero-inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.hero h1 { font-size: clamp(26px, 4.6vw, 44px); font-weight: 800; line-height: 1.5; }
.hero h1 .hl { color: var(--brand); }
.hero p.lead { color: #b9c4dc; font-size: clamp(14.5px, 2vw, 17.5px); margin: 14px 0 26px; max-width: 640px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; font-family: inherit; font-weight: 700; border-radius: 13px; padding: 11px 22px; font-size: 15px; transition: .15s; }
.btn-hero { background: var(--brand); color: #3d2a00; font-size: 16.5px; padding: 14px 28px; box-shadow: 0 8px 24px -8px rgba(245,179,1,.55); }
.btn-hero:hover { transform: translateY(-1px); }
.btn-hero.red { background: var(--red); color: #fff; box-shadow: 0 8px 24px -8px rgba(220,38,38,.6); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover { background: #1c2947; }
.btn-amber { background: var(--brand); color: #3d2a00; }
.btn-green { background: var(--green); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: #c8d2e4; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #dbe3f3; padding: 7px 15px; border-radius: 999px; font-size: 13.5px; }
.chip svg { width: 15px; height: 15px; color: var(--brand); }

/* ===== Sections ===== */
.section { padding: 56px 0 8px; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-title { font-size: clamp(20px, 3vw, 28px); font-weight: 800; display: flex; align-items: center; gap: 12px; }
.section-title .tico { width: 44px; height: 44px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.section-title .tico svg { width: 22px; height: 22px; }
.tico.red { background: var(--red-soft); color: var(--red); }
.tico.green { background: var(--green-soft); color: var(--green); }
.tico.blue { background: var(--blue-soft); color: var(--blue); }
.tico.amber { background: #fdf3d7; color: var(--brand-ink); }
.section-sub { color: var(--muted); margin-top: 6px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.svc-card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: .15s; position: relative; }
.svc-card:hover { border-color: #d4dbea; box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-card .svc-icon { width: 46px; height: 46px; border-radius: 13px; background: #f2f5fb; color: var(--dark); display: inline-flex; align-items: center; justify-content: center; }
.svc-card .svc-icon svg { width: 23px; height: 23px; }
.svc-card .svc-name { font-weight: 700; font-size: 15.5px; }
.svc-card .svc-desc { color: var(--muted); font-size: 13.5px; line-height: 1.7; flex: 1; }
.svc-card .svc-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; flex-wrap: wrap; gap: 8px; }
.price-chip { font-weight: 800; color: var(--ink); font-size: 15px; }
.price-chip small { font-weight: 500; color: var(--muted); font-size: 11.5px; margin-right: 3px; }
.eta-chip { font-size: 12px; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 2px 10px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.step { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step-num { width: 34px; height: 34px; border-radius: 10px; background: var(--dark); color: var(--brand); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.step h4 { font-size: 15px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 13.5px; }

/* women banner */
.banner-women { background: linear-gradient(120deg, #2a1147, #47156b); color: #fff; border-radius: 20px; padding: 30px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 48px 0 8px; }
.banner-women .bw-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.14); display: inline-flex; align-items: center; justify-content: center; color: #f0abfc; }
.banner-women .bw-icon svg { width: 28px; height: 28px; }
.banner-women h3 { font-size: 18px; margin-bottom: 4px; }
.banner-women p { color: #e4d0f5; font-size: 14px; max-width: 640px; }

/* locations */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.loc-card { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; cursor: pointer; transition: .15s; }
.loc-card:hover { border-color: #c8d2e4; }
.loc-card.selected { border-color: var(--green); background: #f4fcf9; }
.loc-card h4 { font-size: 15px; margin-bottom: 2px; }
.loc-card .area { color: var(--green); font-size: 12.5px; font-weight: 600; }
.loc-card p { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ===== Forms / wizard ===== */
.panel { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 26px; margin-top: 22px; }
.wiz-steps { display: flex; gap: 8px; margin: 20px 0 4px; flex-wrap: wrap; }
.wiz-step { flex: 1; min-width: 110px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px; border-bottom: 3px solid var(--line); }
.wiz-step.active { color: var(--dark); border-color: var(--brand); }
.wiz-step.done { color: var(--green); border-color: var(--green); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px;
  font-family: inherit; font-size: 14.5px; background: #fbfcfe; color: var(--ink); transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(245,179,1,.15); }
.field textarea { resize: vertical; min-height: 74px; }
.check-row { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fbfcfe; }
.check-row input { width: 17px; height: 17px; accent-color: var(--green); }
.check-row span { font-size: 13.5px; font-weight: 600; }
.svc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.svc-pick .svc-card { cursor: pointer; }
.svc-pick .svc-card.selected { border-color: var(--brand); background: #fffcf2; box-shadow: 0 0 0 3px rgba(245,179,1,.18); }
.svc-check { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 15px; cursor: pointer; background: #fff; transition: .15s; }
.svc-check:hover { border-color: #c8d2e4; }
.svc-check.selected { border-color: var(--green); background: #f4fcf9; }
.svc-check input { width: 17px; height: 17px; accent-color: var(--green); margin-top: 4px; }
.svc-check .n { font-weight: 700; font-size: 14px; }
.svc-check .d { color: var(--muted); font-size: 12.5px; }
.svc-check .p { font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.group-title { font-size: 14px; font-weight: 700; color: var(--muted); margin: 18px 0 10px; display: flex; align-items: center; gap: 8px; }
.group-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.summary { background: #f8f9fc; border: 1.5px dashed #ccd5e5; border-radius: 14px; padding: 16px 18px; margin-top: 18px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.total-row { border-top: 1.5px solid #dfe5f0; margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 16px; display: flex; justify-content: space-between; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 4px; text-align: center; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.slot:hover { border-color: #c8d2e4; }
.slot.selected { background: var(--dark); color: var(--brand); border-color: var(--dark); }
.slot:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.geo-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--green-soft); color: var(--green); border-radius: 10px; padding: 7px 13px; font-size: 13px; font-weight: 600; }
.geo-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--blue-soft); color: var(--blue); border: none; border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }

/* done box */
.done-box { text-align: center; padding: 46px 22px; }
.done-box .ok-ic { width: 74px; height: 74px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.done-box .ok-ic svg { width: 36px; height: 36px; }
.done-box h2 { font-size: 22px; margin-bottom: 6px; }
.code-big { font-size: 30px; font-weight: 800; letter-spacing: 2px; background: var(--dark); color: var(--brand); display: inline-block; padding: 10px 28px; border-radius: 14px; margin: 14px 0 8px; direction: ltr; }
.done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ===== Track page ===== */
.track-wrap { max-width: 680px; margin: 30px auto; }
.track-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.status-big { background: var(--dark); color: #fff; border-radius: 18px; padding: 22px 26px; display: flex; align-items: center; gap: 16px; }
.status-big .pulse { width: 13px; height: 13px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(245,179,1,.6); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(245,179,1,0); } 100% { box-shadow: 0 0 0 0 rgba(245,179,1,0); } }
.status-big h3 { font-size: 18px; }
.status-big .muted2 { color: #9aa8c7; font-size: 13px; }
.timeline { margin: 22px 4px; }
.tl-item { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.tl-item::before { content: ''; position: absolute; right: 13px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; background: #eef1f7; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; flex: none; z-index: 1; }
.tl-dot svg { width: 14px; height: 14px; }
.tl-item.active .tl-dot { background: var(--brand); color: #3d2a00; }
.tl-item.active .tl-label { font-weight: 800; color: var(--ink); }
.tl-item.done .tl-dot { background: var(--green); color: #fff; }
.tl-label { font-size: 14.5px; font-weight: 600; }
.tl-time { font-size: 12px; color: var(--muted); }
.tech-card { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.track-info { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-top: 14px; }
.track-info .ti-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }

/* ===== Plans ===== */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 26px; position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: 0 14px 40px -14px rgba(245,179,1,.4); }
.plan-tag { position: absolute; top: -13px; right: 22px; background: var(--brand); color: #3d2a00; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 14px; }
.plan h3 { font-size: 18px; }
.plan-price { font-size: 26px; font-weight: 800; margin: 10px 0 2px; }
.plan-price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.plan-features { list-style: none; margin: 16px 0 22px; flex: 1; }
.plan-features li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; padding: 5px 0; color: #333d4f; }
.plan-features li svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 5px; }
.plans-note { color: var(--muted); font-size: 12.5px; margin-top: 14px; }

/* footer */
.footer { background: var(--dark); color: #93a1c0; margin-top: 70px; padding: 40px 0 26px; font-size: 13.5px; }
.footer-grid { max-width: 1120px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.footer a { display: block; padding: 3px 0; }
.footer a:hover { color: var(--brand); }
.footer-bottom { max-width: 1120px; margin: 26px auto 0; padding: 16px 20px 0; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; }

/* toast */
#toast { position: fixed; bottom: 24px; right: 50%; transform: translateX(50%) translateY(20px); background: var(--dark); color: #fff; padding: 11px 22px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; box-shadow: 0 10px 30px rgba(2,6,23,.35); }
#toast.show { opacity: 1; transform: translateX(50%) translateY(0); }

/* ===== Admin ===== */
.admin-wrap { max-width: 1180px; margin: 0 auto; padding: 26px 20px 60px; }
.admin-login { max-width: 380px; margin: 60px auto; }
.admin-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-top h2 { font-size: 20px; }
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tab { background: none; border: none; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--muted); padding: 10px 16px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab.active { color: var(--dark); border-color: var(--brand); }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat-card .v { font-size: 24px; font-weight: 800; }
.stat-card .l { font-size: 12.5px; color: var(--muted); }
.stat-card.warn .v { color: var(--red); }
.req-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; }
.req-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.req-code { font-weight: 800; direction: ltr; color: var(--dark); }
.req-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 18px; font-size: 13.5px; }
.req-body .k { color: var(--muted); font-size: 12px; }
.req-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.mini-input { border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 10px; font-family: inherit; font-size: 13.5px; width: 90px; }
.mini-select { border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 10px; font-family: inherit; font-size: 13.5px; background: #fff; }
details.tl-details { margin-top: 10px; }
details.tl-details summary { cursor: pointer; font-size: 12.5px; color: var(--blue); }
.tbl { width: 100%; border-collapse: collapse; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 13.5px; }
.tbl th { background: #f8f9fc; text-align: right; padding: 10px 14px; font-size: 12.5px; color: var(--muted); }
.tbl td { padding: 9px 14px; border-top: 1px solid var(--line); }
.tbl input.price-in { border: 1.5px solid var(--line); border-radius: 9px; padding: 6px 10px; width: 130px; font-family: inherit; direction: ltr; text-align: left; }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }

/* page head for inner pages */
.page-head { background: var(--dark); color: #fff; padding: 40px 0; }
.page-head h1 { font-size: clamp(21px, 3vw, 30px); font-weight: 800; }
.page-head p { color: #b9c4dc; margin-top: 6px; max-width: 640px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: #9aa8c7; font-size: 13px; margin-bottom: 14px; }
.back-link:hover { color: var(--brand); }

/* ===== Login / OTP ===== */
.login-wrap { padding: 34px 20px 90px; display: flex; justify-content: center; }
.login-card { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 28px 24px; width: 100%; max-width: 420px; box-shadow: var(--shadow); }
.login-logo { width: 52px; height: 52px; margin-bottom: 12px; }
.login-card h1 { font-size: 21px; margin-bottom: 4px; }
.otp-input { text-align: center; font-size: 24px; letter-spacing: 12px; font-weight: 800; padding: 14px; }
.btn-block { width: 100%; margin-top: 16px; min-height: 48px; }
.link-btn { background: none; border: none; color: var(--blue); font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; padding: 10px 6px; }
.link-btn[disabled] { color: var(--muted); cursor: default; }
.login-actions { display: flex; justify-content: space-between; margin-top: 6px; }
.demo-code { margin-top: 16px; background: #fff8e6; border: 1.5px dashed #f0c96a; color: #7a5200; border-radius: 12px; padding: 12px 14px; font-size: 13.5px; line-height: 1.9; }
.demo-code strong { direction: ltr; display: inline-block; }
.login-terms { text-align: center; margin-top: 18px; }
.account-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.account-actions .btn { min-height: 48px; }

/* ===== Topbar account chips ===== */
.user-chip { display: inline-flex; align-items: center; gap: 6px; color: #cfd8ea; font-size: 13.5px; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.07); white-space: nowrap; }
.user-chip:hover { color: #fff; background: rgba(255,255,255,.13); }
.login-chip { display: inline-flex; align-items: center; gap: 6px; color: #3d2a00; background: var(--brand); font-weight: 700; padding: 8px 14px; border-radius: 10px; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 900px) { .user-chip span { display: none; } }
@media (max-width: 480px) {
  .hl-text { display: none; }
  .hotline-chip { padding: 9px 11px; }
  .topbar-inner { gap: 8px; }
  .login-chip { padding: 9px 11px; font-size: 12.5px; }
}

/* ===== Bottom nav (mobile) ===== */
.mobilenav { display: none; }
@media (max-width: 720px) {
  .mobilenav {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; bottom: 0; right: 0; left: 0; background: #fff;
    border-top: 1px solid var(--line); z-index: 60;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 18px rgba(16,24,40,.06);
  }
  .mobilenav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 2px 8px; color: var(--muted); font-size: 11px; font-weight: 600; }
  .mobilenav a.active { color: var(--dark); }
  .mobilenav a.active svg { color: var(--brand); }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}

/* ===== Mobile polish ===== */
@media (max-width: 720px) {
  body { font-size: 15px; }
  .hero { padding: 40px 0 44px; }
  .hero h1 { font-size: 25px; line-height: 1.65; }
  .hero p.lead { font-size: 15px; margin: 12px 0 20px; }
  .hero-cta .btn { width: 100%; }
  .chips { gap: 8px; margin-top: 22px; }
  .chip { font-size: 12.5px; padding: 6px 12px; }
  .section { padding: 34px 0 4px; }
  .section-title { font-size: 19px; gap: 10px; }
  .section-title .tico { width: 38px; height: 38px; border-radius: 11px; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .panel { padding: 18px 16px; border-radius: 16px; }
  .wiz-step { font-size: 11.5px; padding: 7px 2px; min-width: 0; }
  .wiz-steps { gap: 4px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 12px 14px; }
  .btn { min-height: 46px; }
  .btn-sm { min-height: 38px; }
  .done-box { padding: 30px 14px; }
  .code-big { font-size: 24px; padding: 9px 20px; }
  .banner-women { padding: 22px; border-radius: 16px; }
  .loc-grid { grid-template-columns: 1fr; }
  .step { padding: 16px; }
  .form-grid { gap: 12px; }
  .track-wrap { margin: 18px auto; padding: 0 16px; }
  .status-big { padding: 18px; border-radius: 16px; gap: 12px; }
  .status-big h3 { font-size: 16.5px; }
  .login-wrap { padding: 22px 16px 80px; }
  .login-card { padding: 22px 18px; border-radius: 18px; }
  .svc-pick { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .footer-grid { gap: 20px; }
  .footer { margin-top: 44px; padding-bottom: 20px; }
  .admin-wrap { padding: 16px 14px 80px; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .req-card { padding: 15px 16px; }
  .req-body { grid-template-columns: 1fr; }
  .tbl { display: block; overflow-x: auto; white-space: nowrap; }
  .tabs .tab { font-size: 13px; padding: 9px 10px; }
  .admin-login { margin: 30px auto; }
}
@media (display-mode: standalone) {
  .topbar { padding-top: env(safe-area-inset-top); }
  .pwa-install { display: none !important; }
}
