/* Smart CSC Tools — portal styles (auto-built from the demo design 1) */
/* ============================================================
   Smart CSC Tools — साझा स्टाइल (तीनों डिज़ाइन के लिए)
   हर डिज़ाइन सिर्फ़ ये CSS वेरिएबल बदलता है
   ============================================================ */
:root {
  --bg: #f3f4fa; --surface: #ffffff; --surface-2: #f6f6fb; --text: #1d1b2f; --muted: #6b6880;
  --border: #e5e3ef; --accent: #6d28d9; --accent-2: #0ea5a4; --accent-contrast: #fff; --accent-soft: rgba(109, 40, 217, .1);
  --success: #059669; --danger: #dc2626; --warn: #d97706;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 12px 32px -14px rgba(30, 20, 70, .28);
  --font: 'Poppins', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
svg { display: block; }

/* ---------- बटन ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px 18px; font-weight: 600; font-size: 14px; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); box-shadow: 0 8px 18px -8px var(--accent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

/* ---------- मिनी कार्ड आइकन (टूल) ---------- */
.tico { position: relative; flex: none; width: 38px; height: 26px; border-radius: 5px; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 3px 8px -3px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .25); overflow: hidden; }
.tico::before { content: ''; position: absolute; left: 5px; top: 8px; width: 9px; height: 9px; border-radius: 2px; background: rgba(255, 255, 255, .85); }
.tico::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(0, 0, 0, .18); }
.tico i { position: absolute; right: 4px; top: 3px; font-style: normal; font-size: 9px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.soon-ico { --c1: #cbd5e1; --c2: #94a3b8; }
.soon-ico::before { display: none; }
.soon-ico i { right: 0; left: 0; top: 2px; text-align: center; font-size: 16px; }

/* ---------- साइडबार नेव (बेस) ---------- */
.nav-sec { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .55; padding: 16px 14px 6px; display: flex; align-items: center; gap: 8px; }
.nav-sec em { font-style: normal; background: rgba(255, 255, 255, .15); padding: 1px 7px; border-radius: 20px; letter-spacing: 0; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 2px 0; border: 0; background: transparent; border-radius: 12px; text-align: left; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.nav-ico { width: 38px; display: grid; place-items: center; flex: none; }
.nav-ico svg { width: 20px; height: 20px; }
.nav-label { flex: 1; min-width: 0; line-height: 1.25; }
.nav-label small { display: block; font-size: 11px; opacity: .6; font-weight: 400; }
.nav-badge, .nav-price { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px; background: rgba(255, 255, 255, .14); white-space: nowrap; }
.nav-soon { font-size: 12px; opacity: .45; padding: 10px 14px; font-style: italic; }

/* ---------- व्यू ---------- */
.view, .frames { display: none; position: absolute; inset: 0; }
.view.active { display: block; overflow-y: auto; }
.frames.active { display: block; }
.frame-box { display: none; position: absolute; inset: 0; }
.frame-box.active { display: block; }
.frame-box iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.frame-load { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; color: var(--muted); font-weight: 500; background: var(--bg); z-index: 1; transition: opacity .3s; }
.frame-box.loaded .frame-load { opacity: 0; pointer-events: none; }
.spin { width: 38px; height: 38px; border-radius: 50%; border: 4px solid var(--border); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.view-pad { max-width: 1180px; margin: 0 auto; padding: 28px 28px 60px; }
.notice { display: flex; align-items: center; gap: 12px; background: var(--accent-soft); color: var(--text); border: 1px solid var(--border); padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 20px; }
.notice svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

.home-hero { display: grid; grid-template-columns: 1fr 300px; gap: 20px; margin-bottom: 30px; }
.hh-text { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.hh-text h2 { margin: 0 0 8px; font-size: 26px; }
.hh-text p { margin: 0 0 20px; color: var(--muted); line-height: 1.6; max-width: 560px; }
.hh-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.wallet-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 24px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.wallet-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.wallet-card span { font-size: 13px; opacity: .85; }
.wallet-card strong { font-size: 34px; line-height: 1.15; font-weight: 700; }
.wallet-card small { opacity: .8; font-size: 12px; }
.wc-add { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 10px; padding: 9px 14px; background: rgba(255, 255, 255, .95); color: #1d1b2f; font-weight: 700; font-size: 13px; }
.wc-add svg { width: 16px; height: 16px; }
.home-hero .wallet-card .wc-add { margin-top: 18px; }

.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 14px; }
.sec-title.first { margin-top: 0; }
.sec-title h3 { margin: 0; font-size: 18px; }
.sec-title span { color: var(--muted); font-size: 13px; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-bottom: 32px; }
.tool-card { display: flex; flex-direction: column; gap: 14px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.tool-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.tool-card .tico { width: 54px; height: 36px; border-radius: 7px; }
.tool-card .tico::before { left: 7px; top: 11px; width: 13px; height: 13px; }
.tool-card .tico i { font-size: 11px; right: 6px; top: 4px; }
.tc-body b { display: block; font-size: 16px; margin-bottom: 4px; }
.tc-body small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.tc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px dashed var(--border); }
.tc-price { font-weight: 700; color: var(--accent); }
.tc-price em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 12px; }
.tc-open { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.tc-open svg { width: 16px; height: 16px; }
.tool-card.soon { box-shadow: none; border-style: dashed; background: transparent; cursor: default; }
.tool-card.soon:hover { transform: none; border-color: var(--border); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.step em { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.step b { display: block; margin-bottom: 4px; }
.step small { color: var(--muted); font-size: 13px; }

/* वॉलेट पेज */
.wallet-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.wallet-card.big { min-height: 170px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.stat span { color: var(--muted); font-size: 13px; }
.stat b { font-size: 24px; }
.quick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.quick button { border: 1px solid var(--border); background: var(--surface); padding: 7px 14px; border-radius: 20px; font-weight: 600; font-size: 13px; }
.quick button:hover { border-color: var(--accent); color: var(--accent); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.panel-h h3 { margin: 0; font-size: 16px; }
.panel-h span { color: var(--muted); font-size: 13px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 12px 20px; background: var(--surface-2); }
.tbl td { padding: 13px 20px; border-top: 1px solid var(--border); white-space: nowrap; }
.tbl td:nth-child(2) { white-space: normal; min-width: 200px; }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.amt.credit, .amt.refund { color: var(--success); font-weight: 600; }
.amt.debit { color: var(--danger); font-weight: 600; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.pill.credit { background: rgba(5, 150, 105, .12); color: var(--success); }
.pill.debit { background: rgba(220, 38, 38, .1); color: var(--danger); }
.pill.refund { background: rgba(217, 119, 6, .12); color: var(--warn); }
.tag { font-style: normal; font-size: 11px; color: var(--warn); }
.empty-mini { padding: 30px; text-align: center; color: var(--muted); }
.empty-box { text-align: center; max-width: 460px; margin: 40px auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.empty-box > svg { width: 46px; height: 46px; margin: 0 auto 10px; color: var(--accent); }
.empty-box h3 { margin: 0 0 6px; }
.empty-box p { color: var(--muted); margin: 0 0 18px; }
.empty-box .hh-actions { justify-content: center; }

/* ---------- मोडल ---------- */
.mdl-wrap { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 12, 35, .55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.mdl-wrap.in { opacity: 1; }
.mdl { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: #1d1b2f; border-radius: 20px; padding: 26px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); transform: translateY(12px) scale(.98); transition: transform .2s; font-family: var(--font); }
.mdl-wrap.in .mdl { transform: none; }
.mdl-x { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f0f7; display: grid; place-items: center; color: #555; }
.mdl-x svg { width: 18px; height: 18px; }
.mdl-title { margin: 0 0 6px; font-size: 20px; padding-right: 36px; }
.mdl-sub { margin: 0 0 16px; color: #6b6880; font-size: 14px; }
.mdl .btn-ghost { background: #f4f3fa; color: #1d1b2f; border-color: #e5e3ef; }
.seg { display: flex; background: #f1f0f7; border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.seg button { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: 9px; font-weight: 600; font-size: 14px; color: #6b6880; }
.seg button.on { background: #fff; color: var(--accent); box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .15); }
.frm { display: flex; flex-direction: column; gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld > span { font-size: 13px; font-weight: 600; color: #4b4860; }
.fld input { border: 1.5px solid #e2e0ec; border-radius: 11px; padding: 11px 13px; font-size: 15px; outline: none; transition: border-color .2s; background: #fff; color: #1d1b2f; }
.fld input:focus { border-color: var(--accent); }
.reg-only { display: none; }
.is-reg .reg-only { display: flex; }
.frm-err { color: var(--danger); font-size: 13px; min-height: 18px; }
.or { display: flex; align-items: center; gap: 10px; color: #9a97ad; font-size: 12px; margin: 14px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: #e8e6f0; }

.amt-in { display: flex; align-items: center; border: 1.5px solid #e2e0ec; border-radius: 12px; padding: 0 14px; }
.amt-in:focus-within { border-color: var(--accent); }
.amt-in b { font-size: 22px; color: #6b6880; }
.amt-in input { border: 0 !important; font-size: 26px; font-weight: 700; width: 100%; padding: 10px 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.chips button { border: 1.5px solid #e2e0ec; background: #fff; padding: 7px 13px; border-radius: 20px; font-weight: 600; font-size: 13px; }
.chips button.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 14px; }
.methods button { border: 1.5px solid #e2e0ec; background: #fff; border-radius: 12px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.methods button svg { width: 22px; height: 22px; color: #6b6880; }
.methods button b { font-size: 13px; }
.methods button small { font-size: 10px; color: #8a879c; }
.methods button.on { border-color: var(--accent); background: var(--accent-soft); }
.methods button.on svg { color: var(--accent); }
.demo-note { display: flex; gap: 10px; background: #fff7e6; border: 1px solid #fde3a7; color: #7a5200; font-size: 12px; line-height: 1.5; padding: 10px 12px; border-radius: 10px; margin-bottom: 8px; }
.demo-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.pay-min { text-align: center; color: #9a97ad; font-size: 12px; margin: 10px 0 0; }
.pay-wait, .pay-ok { text-align: center; padding: 20px 0 6px; }
.pay-wait .spin { margin: 0 auto 16px; width: 54px; height: 54px; }
.pay-wait h4, .pay-ok h4 { margin: 0 0 6px; font-size: 18px; }
.pay-wait p, .pay-ok p { margin: 0 0 6px; color: #6b6880; }
.pay-ok small { display: block; color: #9a97ad; margin-bottom: 18px; }
.ok-tick { width: 68px; height: 68px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; animation: pop .35s ease; }
.ok-tick svg { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

.charge-tool { display: flex; align-items: center; gap: 12px; background: #f6f5fb; border-radius: 14px; padding: 14px; margin: 10px 0 14px; }
.charge-tool .tico { width: 50px; height: 34px; }
.charge-tool b { display: block; }
.charge-tool small { color: #6b6880; font-size: 12px; }
.charge-rows > div { display: flex; justify-content: space-between; padding: 9px 2px; font-size: 14px; }
.charge-rows .neg b { color: var(--danger); }
.charge-rows .tot { border-top: 1px dashed #dcdae6; margin-top: 4px; padding-top: 12px; font-weight: 700; }
.chk { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b6880; margin: 12px 0 4px; }
.mdl-actions { display: flex; gap: 10px; margin-top: 16px; }
.mdl-actions .btn { flex: 1; }
.mdl-actions .btn.no { flex: 0 0 auto; }

/* ---------- टोस्ट ---------- */
.toast-box { position: fixed; z-index: 1100; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; max-width: calc(100vw - 36px); }
.toast { background: #1d1b2f; color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 14px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); animation: tin .25s ease; transition: opacity .4s, transform .4s; border-left: 4px solid #8b8aa0; }
.toast.ok { border-left-color: #22c55e; }
.toast.err { border-left-color: #ef4444; }
.toast.out { opacity: 0; transform: translateY(8px); }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; }
  .wallet-top { grid-template-columns: 1fr 1fr; }
  .wallet-top .wallet-card { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .view-pad { padding: 18px 16px 50px; }
  .steps { grid-template-columns: 1fr; }
  .wallet-top { grid-template-columns: 1fr; }
  .hh-text { padding: 20px; }
}

/* ===== डिज़ाइन 1 ===== */
/* ===== डिज़ाइन 1 — क्लासिक (फ़ोटो जैसा: टील बैनर + पर्पल साइडबार) ===== */
:root {
  --bg: #eef0f7; --surface: #fff; --surface-2: #f5f5fb; --text: #1e1b33; --muted: #6a6784; --border: #e4e2ee;
  --accent: #6d28d9; --accent-2: #0d9488; --accent-soft: rgba(109, 40, 217, .09);
  --side-w: 272px; --banner-h: 150px;
}
.app { height: 100vh; display: flex; flex-direction: column; }

/* बैनर */
.banner { position: relative; height: var(--banner-h); flex: none; overflow: hidden; background: linear-gradient(100deg, #0a4658 0%, #0d7a85 42%, #0f8c90 55%, #0a5a6e 100%); }
.bn-waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.bn-deco { position: absolute; width: 130px; height: 70px; }
.bn-deco.l { left: 6%; bottom: 14px; }
.bn-deco.r { right: 8%; top: 22px; }
.bn-text { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px; }
.bn-text h1 { margin: 0; font-family: 'Kaushan Script', cursive; font-weight: 400; font-size: 64px; line-height: 1; color: #fff; letter-spacing: 1px; text-shadow: 0 3px 0 #08394a, 0 8px 22px rgba(0, 0, 0, .35); }
.bn-text p { margin: 10px 0 0; font-weight: 700; font-size: 19px; letter-spacing: .4px; color: #fff; text-shadow: 0 2px 0 #062f3d, 0 4px 10px rgba(0, 0, 0, .3); }
.bn-user { position: absolute; z-index: 3; right: 16px; top: 14px; display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); color: #fff; font-weight: 600; font-size: 14px; }
.chip svg { width: 18px; height: 18px; }
.chip:hover { background: rgba(255, 255, 255, .24); }
.chip.add { background: #f5b82e; color: #3b2600; border-color: #f5b82e; padding: 0 12px; }

/* बॉडी + हिडन साइडबार */
.body { position: relative; flex: 1; min-height: 0; }
.main { position: absolute; inset: 0; transition: left .3s cubic-bezier(.2, .8, .2, 1); }
.menu-pinned .main { left: var(--side-w); }
.side { position: absolute; z-index: 30; top: 0; bottom: 0; left: 0; width: var(--side-w); display: flex; flex-direction: column; color: #fff;
  background: linear-gradient(180deg, #2a0f46 0%, #46165f 38%, #66195b 72%, #3b0c3f 100%);
  transform: translateX(-100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.menu-open .side { transform: none; box-shadow: 24px 0 60px -12px rgba(25, 0, 45, .5); }
.menu-pinned .side { box-shadow: none; }
.side-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.logo { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #f5b82e, #f97316); display: grid; place-items: center; font-weight: 800; color: #3b1600; font-size: 14px; }
.side-head b { display: block; font-size: 15px; letter-spacing: 1px; }
.side-head small { display: block; font-size: 11px; opacity: .6; }
.pin { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; }
.pin svg { width: 17px; height: 17px; }
.menu-pinned .pin { background: #f5b82e; color: #3b2600; }
.side-nav { flex: 1; overflow-y: auto; padding: 4px 10px 10px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.side .nav-item { color: rgba(255, 255, 255, .88); position: relative; }
.side .nav-item:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.side .nav-item.active { background: rgba(255, 255, 255, .16); color: #fff; }
.side .nav-item.active::before { content: ''; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: #f5b82e; }
.side .nav-badge { background: rgba(245, 184, 46, .2); color: #ffd774; }
.side .nav-price { background: rgba(255, 255, 255, .12); }
.side-foot { padding: 12px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; gap: 10px; }
.ava { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; }
.ava svg { width: 20px; height: 20px; }
.side-foot .who { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }
.side-foot .who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot .who small { opacity: .6; font-size: 11px; }
.side-foot [data-auth] { border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 10px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.side-foot [data-auth] svg { width: 16px; height: 16px; }

.hot { position: absolute; z-index: 25; left: 0; top: 0; bottom: 0; width: 14px; }
.handle { position: absolute; z-index: 26; left: 0; top: 50%; transform: translateY(-50%); width: 30px; padding: 14px 0; border: 0; border-radius: 0 14px 14px 0; background: linear-gradient(180deg, #46165f, #6a1b5a); color: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 4px 6px 18px -6px rgba(40, 0, 60, .5); transition: opacity .2s, transform .2s; }
.handle svg { width: 16px; height: 16px; }
.handle span { writing-mode: vertical-rl; font-size: 12px; font-weight: 600; letter-spacing: 2px; }
.menu-open .handle { opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
  :root { --banner-h: 118px; }
  .bn-text { padding-top: 26px; }
  .bn-text h1 { font-size: 40px; }
  .bn-text p { font-size: 13px; margin-top: 6px; }
  .bn-deco { display: none; }
  .bn-user { right: 10px; top: 8px; gap: 6px; }
  .chip { height: 32px; padding: 0 10px; font-size: 13px; }
  .chip [data-auth-label], .chip.auth span { display: none; }
  .menu-pinned .main { left: 0; }
}

/* ===== प्लगइन (सर्वर वर्ज़न) की अतिरिक्त स्टाइल ===== */
.spin.sm { width: 16px; height: 16px; border-width: 2px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.btn:disabled { opacity: .75; cursor: wait; }
a.btn { text-decoration: none; }
.secure { display: flex; gap: 10px; align-items: center; background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; padding: 10px 12px; border-radius: 10px; margin-bottom: 8px; font-size: 13px; }
.secure svg { width: 22px; height: 22px; flex: none; color: #16a34a; }
.secure b { display: block; }
.secure small { color: #3f6b4f; font-size: 11px; }
.forgot { text-align: center; font-size: 13px; color: #6b6880; margin: 14px 0 0; }
.forgot a { color: var(--accent); font-weight: 600; }
.empty-box.locked .tico { width: 64px; height: 42px; margin: 0 auto 14px; border-radius: 8px; }
.empty-box.locked .tico::before { left: 8px; top: 12px; width: 15px; height: 15px; }
.empty-box.locked .tico i { font-size: 12px; right: 7px; top: 5px; }
.ref { color: var(--muted); font-size: 11px; }
.sec-title span a { color: var(--accent); font-weight: 600; }

/* ===================== v2: Poppins, Credit, सूचना बोर्ड, Refer, Live Chat ===================== */
.bn-text h1 { font-family: var(--font); font-weight: 800; font-size: 54px; letter-spacing: -1px; }
.bn-text p { font-weight: 600; }
.mdl, .toast, .cw, input, textarea, select, button { font-family: var(--font); }

/* वॉलेट कार्ड: बड़ा नंबर + "Credit" */
.wallet-card strong em { font-style: normal; }
.wallet-card strong small { font-size: 15px; font-weight: 600; opacity: .85; }
.amt-in { gap: 8px; }
.amt-in b { font-size: 15px; color: #6b6880; font-weight: 600; }

/* नेव: Refer % और Live की बत्ती */
.nav-new { font-size: 10px; font-weight: 800; background: #f5b82e; color: #3b2600; padding: 2px 7px; border-radius: 20px; }
.nav-live { width: 10px; height: 10px; border-radius: 50%; background: #9ca3af; flex: none; margin-right: 4px; }
.nav-live.on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .28); animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, .08); } }

/* ---------- बैनर के नीचे गिनती वाली पट्टी ---------- */
.stats-strip { background: #fff; border-bottom: 1px solid var(--border); }
.st-wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px 28px 16px; gap: 10px; }
.st-item { text-align: center; }
.st-item b { display: block; font-size: 40px; font-weight: 800; line-height: 1.1; color: #b0123f; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.st-item span { display: block; margin-top: 4px; color: #4b5563; font-size: 14px; font-weight: 500; }

/* ---------- सूचना बोर्ड ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 16px; }
.board-big { grid-template-columns: 1fr; }
.post { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); min-width: 0; }
.post-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.post-head time { margin-left: auto; color: var(--muted); font-size: 12px; }
.ppin { color: #b45309; display: inline-flex; }
.ppin svg { width: 16px; height: 16px; }
.ptype { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.ptype.notice { background: #e0f2fe; color: #0369a1; }
.ptype.tool { background: #dcfce7; color: #15803d; }
.ptype.offer { background: linear-gradient(90deg, #f97316, #db2777); color: #fff; }
.ptype.live { background: #dc2626; color: #fff; animation: liveBlink 1.6s ease-in-out infinite; }
@keyframes liveBlink { 50% { opacity: .75; } }
.post h4 { margin: 0; font-size: 19px; line-height: 1.35; }
.post p { margin: 10px 0 0; line-height: 1.75; font-size: 14.5px; }
.post-img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-top: 12px; background: var(--surface-2); }
.post-video { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; margin-top: 12px; }
.post-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-link { margin-top: 14px; }
.post-offer { border-color: #fdba74; background: linear-gradient(135deg, #fff, #fff7ed 60%, #fdf2f8); }
.post-live { border-color: #fca5a5; }
.post.pinned { border-width: 2px; }
.board-empty { text-align: center; padding: 40px 20px; border: 2px dashed var(--border); border-radius: var(--radius); color: var(--muted); background: var(--surface); }
.board-empty svg { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--accent); }
.board-empty b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }

/* ---------- Refer & Earn ---------- */
.refer-hero { display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(135deg, #6d28d9, #0d9488); color: #fff; border-radius: var(--radius); padding: 24px; margin-bottom: 16px; box-shadow: var(--shadow); }
.rh-ico { flex: none; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.rh-ico svg { width: 30px; height: 30px; }
.refer-hero h3 { margin: 0 0 6px; font-size: 21px; }
.refer-hero p { margin: 0 0 12px; line-height: 1.7; opacity: .95; }
.rh-eg { display: flex; gap: 8px; flex-wrap: wrap; }
.rh-eg span { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); padding: 5px 12px; border-radius: 20px; font-size: 13px; }
.rl-row { display: flex; gap: 10px; padding: 16px 20px; flex-wrap: wrap; }
.rl-row input { flex: 1; min-width: 220px; border: 1.5px solid var(--border); border-radius: 12px; padding: 11px 13px; font-size: 14px; background: var(--surface-2); color: var(--text); }
.wallet-top.ref-stats { grid-template-columns: repeat(3, 1fr); }
.ref-hint { display: flex; gap: 8px; align-items: center; background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; padding: 9px 12px; border-radius: 10px; font-size: 13px; }
.ref-hint svg { width: 18px; height: 18px; flex: none; }
.is-reg .ref-hint.reg-only { display: flex; }
.ok-note { display: flex; gap: 10px; align-items: flex-start; background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; padding: 10px 12px; border-radius: 10px; font-size: 13px; margin: 12px 0 10px; }
.ok-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.req-done .btn { margin-top: 8px; }
.pane[hidden] { display: none; }

/* ---------- Live Chat (नीचे दाएँ कोने में) ---------- */
.cw { position: fixed; right: 18px; bottom: 18px; z-index: 900; }
.cw-btn { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; color: #fff; display: grid; place-items: center;
  background: linear-gradient(135deg, #6d28d9, #0d9488); box-shadow: 0 12px 28px -10px rgba(76, 29, 149, .7); transition: transform .2s; }
.cw-btn:hover { transform: scale(1.06); }
.cw-btn svg { width: 27px; height: 27px; }
.cw-dot { position: absolute; right: 2px; bottom: 2px; width: 15px; height: 15px; border-radius: 50%; background: #9ca3af; border: 3px solid #fff; }
.cw.online .cw-dot { background: #22c55e; animation: livePulse 1.8s ease-in-out infinite; }
.cw-badge { position: absolute; left: -2px; top: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.cw-badge[hidden] { display: none; }
.cw-tip { position: absolute; right: 70px; bottom: 12px; white-space: nowrap; background: #fff; color: #1e1b33; font-size: 13px; padding: 8px 14px; border-radius: 20px; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .35); opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s; display: flex; align-items: center; gap: 6px; }
.cw-tip.in { opacity: 1; transform: none; }
.cw-tip i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.cw-tip[hidden] { display: none; }
.cw-panel { position: absolute; right: 0; bottom: 72px; width: 360px; height: min(560px, calc(100vh - 110px)); background: #fff; color: #1e1b33; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 70px -20px rgba(20, 10, 50, .5); animation: cwIn .22s ease; }
.cw-panel[hidden] { display: none; }
@keyframes cwIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.cw-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; color: #fff; background: linear-gradient(135deg, #46165f, #6a1b5a); }
.cw-ava { position: relative; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; flex: none; }
.cw-ava svg { width: 21px; height: 21px; }
.cw-ava .cw-dot { right: -1px; bottom: -1px; width: 13px; height: 13px; border-color: #5a1860; }
.cw-ht { flex: 1; min-width: 0; line-height: 1.3; }
.cw-ht b { display: block; font-size: 15px; }
.cw-ht small { font-size: 12px; opacity: .85; }
.cw-x { width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }
.cw-x svg { width: 18px; height: 18px; }
.cw-body { flex: 1; overflow-y: auto; padding: 14px; background: #f5f4fa; display: flex; flex-direction: column; gap: 10px; }
.cw-intro { background: #fff; border: 1px solid #ebe9f3; border-radius: 14px; padding: 12px; font-size: 13px; line-height: 1.6; color: #4b4860; }
.cw-intro svg { width: 14px; height: 14px; display: inline; vertical-align: -2px; }
.cw-off { display: inline-block; margin-top: 6px; color: #b45309; }
.cw-msg { display: flex; flex-direction: column; max-width: 82%; }
.cw-msg.me { align-self: flex-end; align-items: flex-end; }
.cw-msg.them { align-self: flex-start; }
.cw-bub { padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.55; word-wrap: break-word; overflow-wrap: anywhere; }
.cw-msg.me .cw-bub { background: #6d28d9; color: #fff; border-bottom-right-radius: 4px; }
.cw-msg.them .cw-bub { background: #fff; border: 1px solid #ebe9f3; border-bottom-left-radius: 4px; }
.cw-bub img { display: block; max-width: 220px; max-height: 240px; border-radius: 10px; margin-bottom: 4px; }
.cw-bub span { display: block; }
.cw-msg small { font-size: 10.5px; color: #8a879c; margin-top: 3px; }
.cw-guest { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px 0; border-top: 1px solid #ebe9f3; }
.cw-guest[hidden] { display: none; }
.cw-guest input, .cw-foot textarea { border: 1.5px solid #e2e0ec; border-radius: 10px; padding: 9px 10px; font-size: 14px; outline: none; background: #fff; color: #1e1b33; min-width: 0; }
.cw-guest input:focus, .cw-foot textarea:focus { border-color: #6d28d9; }
.cw-prev { display: flex; align-items: center; gap: 10px; padding: 8px 12px 0; font-size: 12px; color: #4b4860; }
.cw-prev[hidden] { display: none; }
.cw-prev img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; border: 1px solid #e2e0ec; }
.cw-prev span { flex: 1; }
.cw-prev button { width: 28px; height: 28px; border-radius: 8px; border: 0; background: #f1f0f7; display: grid; place-items: center; color: #555; }
.cw-prev button svg { width: 14px; height: 14px; }
.cw-foot { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 12px; }
.cw-foot textarea { flex: 1; resize: none; max-height: 110px; line-height: 1.4; font-family: var(--font); }
.cw-attach, .cw-send { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 0; display: grid; place-items: center; }
.cw-attach { background: #f1f0f7; color: #4b4860; }
.cw-send { background: #6d28d9; color: #fff; }
.cw-send.busy { opacity: .6; }
.cw-attach svg, .cw-send svg { width: 19px; height: 19px; }
.cw.open .cw-tip { display: none; }

@media (max-width: 760px) {
  .bn-text h1 { font-size: 34px; letter-spacing: -.5px; }
  .st-wrap { grid-template-columns: 1fr 1fr; padding: 14px 16px; gap: 14px 10px; }
  .st-item b { font-size: 30px; }
  .st-item span { font-size: 12.5px; }
  .board { grid-template-columns: 1fr; }
  .wallet-top.ref-stats { grid-template-columns: 1fr 1fr 1fr; }
  .refer-hero { flex-direction: column; padding: 20px; }
  .cw { right: 12px; bottom: 12px; }
  .cw-panel { width: calc(100vw - 24px); height: min(560px, calc(100vh - 96px)); }
  .cw-tip { display: none !important; }
}

/* ===== होम पेज: Refer & Earn कार्ड ===== */
.home-refer { display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(135deg, #fff8eb, #ffffff 70%); border: 1px solid #fde3a7; border-radius: var(--radius); padding: 20px 22px; margin-bottom: 28px; box-shadow: var(--shadow); }
.hr-ico { flex: none; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -10px #f97316; }
.hr-ico svg { width: 28px; height: 28px; }
.hr-main { flex: 1; min-width: 0; }
.hr-main h3 { margin: 0 0 4px; font-size: 18px; }
.hr-main p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.home-refer .rl-row { padding: 0; }
.hr-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.hr-stats b { color: var(--text); }
.hr-more { margin-left: auto; border: 0; background: none; color: var(--accent); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; padding: 0; }
.hr-more svg { width: 16px; height: 16px; }
.hr-note { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
@media (max-width: 560px) {
  .home-refer { flex-direction: column; padding: 16px; }
  .hr-more { margin-left: 0; }
}

/* ग्राहक की जानकारी (Register + My Profile) */
.fld .req { color: var(--danger); font-style: normal; }
.fld select { border: 1.5px solid #e2e0ec; border-radius: 11px; padding: 11px 10px; font-size: 15px; outline: none; background: #fff; color: #1d1b2f; font-family: var(--font); }
.fld select:focus { border-color: var(--accent); }
.fld input:disabled { background: #f4f3f9; color: #6b6880; }
.reg-col { flex-direction: column; gap: 12px; }
.frm .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.frm .row2 .fld, .frm .row2 .fld input, .fld select { min-width: 0; width: 100%; box-sizing: border-box; }
.more { border: 1.5px dashed #d9d6e8; border-radius: 12px; padding: 10px 12px; background: #fbfaff; }
.more summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--accent); }
.more[open] summary { margin-bottom: 10px; }
.more-in { display: flex; flex-direction: column; gap: 12px; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: #4b4860; cursor: pointer; }
.consent input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.prof-note { display: flex; gap: 9px; align-items: center; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; padding: 10px 12px; border-radius: 12px; font-size: 13px; margin: 0 0 14px; }
.prof-note svg { width: 18px; height: 18px; flex: none; }
.prof-note a { color: inherit; font-weight: 700; }
.side-foot .who[data-profile] { cursor: pointer; }
