/* VITO Rewards: only what the dealer app's look (app.css) does not have. Same navy, cards, pills, curve and glass. */
:root { --gold-1: #ffd66b; --gold-2: #f5a623; --gold-3: #c97c00; --mint: #e7f7ee; }

/* gold point coin */
.coin { width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: #8a5400;
  background: radial-gradient(circle at 32% 28%, #fff6cf 0 12%, var(--gold-1) 30%, var(--gold-2) 72%, var(--gold-3) 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.45), inset 0 -4px 8px rgba(150, 80, 0, 0.35), 0 6px 14px rgba(201, 124, 0, 0.35); }
.coin.sm { width: 34px; height: 34px; } .coin.sm svg { width: 18px; height: 18px; }
.coin.lg { width: 64px; height: 64px; }

/* balance card: big number, rupee line under it */
.balance { display: flex; align-items: center; gap: 14px; }
.balance .pts { font-size: min(2rem, 8.4vw); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; white-space: nowrap; }
.balance .pts small { font-size: 0.55em; font-weight: 700; letter-spacing: 0; margin-left: 6px; }
.balance .inr { font-size: 0.86rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
.balance .lab { font-size: 0.78rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.ph .balance .lab, .ph .balance .inr { color: rgba(255, 255, 255, 0.78); }

/* home shortcut tiles with their own colours (storyboard), on white cards */
.tiles.rw { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile .ic.k-navy { background: var(--brand-grad) !important; color: #fff !important; box-shadow: 0 6px 14px rgba(11, 37, 69, 0.25); }
.tile .ic.k-red { background: #fde8ea !important; color: #d93a4a !important; }
.tile .ic.k-green { background: var(--green-bg) !important; color: var(--green) !important; }
.tile .ic.k-blue { background: var(--blue-bg) !important; color: var(--blue) !important; }
.tile .ic.k-orange { background: var(--orange-bg) !important; color: var(--orange) !important; }
.tile .ic.k-grey { background: var(--grey-bg) !important; color: var(--muted) !important; }
.tile.soon { opacity: 0.62; }
.tile .soonchip { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.04em; color: var(--muted); background: var(--grey-bg); border-radius: 999px; padding: 2px 7px; margin-top: -4px; }

/* artwork tile: real picture when admin uploads one, else a calm gradient with a line icon */
.art { width: 60px; height: 60px; border-radius: 18px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
  background: linear-gradient(145deg, #eef3fb, #dfe8f6); color: var(--navy-2); }
.art img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.art.k1 { background: linear-gradient(145deg, #e9f0ff, #d5e2fb); color: #2a4fa0; }
.art.k2 { background: linear-gradient(145deg, #fff3e2, #ffe2bd); color: #b0640a; }
.art.k3 { background: linear-gradient(145deg, #e8f7ef, #cdeedb); color: #1f7a45; }
.art.k4 { background: linear-gradient(145deg, #f3ecff, #e2d6fb); color: #5e3aa8; }
.art.k5 { background: linear-gradient(145deg, #ffecee, #fdd6db); color: #b4303f; }
.art.xl { width: 100%; height: 168px; border-radius: 20px; }
.art.xl svg { width: 76px; height: 76px; }
.art.lg { width: 84px; height: 84px; border-radius: 22px; }
.art.lg svg { width: 40px; height: 40px; }
:root[data-theme="dark"] .art { filter: saturate(0.8) brightness(0.85); }

/* promo banner on Home */
.banner { position: relative; overflow: hidden; border-radius: var(--radius); padding: 18px 18px 18px; color: #fff; background: var(--brand-grad); box-shadow: var(--shadow); min-height: 108px; display: flex; align-items: center; gap: 12px; }
.banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 160px at 100% 0%, rgba(255, 255, 255, 0.2), transparent 70%), radial-gradient(200px 140px at 0% 100%, rgba(255, 214, 107, 0.18), transparent 70%); }
.banner > * { position: relative; }
.banner b { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; display: block; }
.banner span { font-size: 0.86rem; opacity: 0.85; }
.banner .bart { width: 84px; height: 84px; flex: 0 0 auto; border-radius: 22px; background: rgba(255, 255, 255, 0.14); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.banner.img { padding: 0; min-height: 0; }
.banner.img img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; display: block; }

/* featured offer card (Offers & Rewards) */
.feature { padding: 0; overflow: hidden; }
.feature .fimg { position: relative; height: 150px; background: linear-gradient(140deg, #fff3e2, #ffe0bd 60%, #ffd29a); display: flex; align-items: center; justify-content: center; color: #b0640a; }
.feature .fimg img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.feature .fimg svg { width: 84px; height: 84px; }
.feature .body { padding: 16px; }
.feature .title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.feature .tag { position: absolute; top: 12px; left: 12px; }

/* progress bar with a gold fill for points */
.bar.gold > i { background: linear-gradient(90deg, var(--gold-2), var(--gold-1)); }

/* scanner */
.scanner { position: relative; border-radius: 26px; overflow: hidden; background: #0d1622; aspect-ratio: 3 / 3.6; max-height: 56dvh; width: 100%; box-shadow: var(--shadow-up); }
.scanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scanner .frame { position: absolute; left: 50%; top: 46%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.scanner .frame i { position: absolute; width: 34px; height: 34px; border: 4px solid #3ddc84; }
.scanner .frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.scanner .frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
.scanner .frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
.scanner .frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.scanner .laser { position: absolute; left: 8%; right: 8%; height: 2px; top: 10%; background: linear-gradient(90deg, transparent, #3ddc84, transparent); box-shadow: 0 0 12px #3ddc84; animation: laser 2.2s ease-in-out infinite; }
@keyframes laser { 0%, 100% { top: 10%; } 50% { top: 88%; } }
.scanner .hint { position: absolute; left: 16px; right: 16px; bottom: 14px; text-align: center; color: #fff; font-size: 0.86rem; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.scanner .idle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #cfd8e6; text-align: center; padding: 24px; }
.scanner .busy { position: absolute; inset: 0; background: rgba(13, 22, 34, 0.55); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; gap: 10px; }
.scanacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scanacts .btn { flex-direction: column; gap: 6px; min-height: 76px; border-radius: 22px; font-size: 0.82rem; }
.scanacts .btn.on { background: var(--gold-1); color: #5a3a00; }
.codein { font-size: max(16px, 1.25rem) !important; letter-spacing: 0.14em; text-align: center; font-weight: 800; text-transform: uppercase; font-variant-numeric: tabular-nums; }

/* token added: tick + confetti */
.success { position: relative; text-align: center; padding: 26px 16px 18px; overflow: hidden; }
.success .tick { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, #4fd987, #1f9b52); box-shadow: 0 12px 26px rgba(31, 155, 82, 0.35); animation: pop 0.45s cubic-bezier(0.3, 1.5, 0.5, 1); }
.success h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; width: 8px; height: 14px; border-radius: 2px; top: -16px; animation: fall 1.8s ease-in forwards; opacity: 0.9; }
@keyframes fall { to { transform: translateY(300px) rotate(540deg); opacity: 0; } }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.plus { color: var(--green); font-weight: 800; white-space: nowrap; }
.minus { color: var(--red); font-weight: 800; white-space: nowrap; }

/* denominations */
.denoms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.denom { border: 0; border-radius: 18px; background: var(--field); padding: 12px 6px; text-align: center; cursor: pointer; color: var(--ink); line-height: 1.2; }
.denom b { display: block; font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.denom span { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.denom.on { background: var(--brand-grad); color: #fff; box-shadow: 0 8px 18px rgba(11, 37, 69, 0.22); }
.denom.on span { color: rgba(255, 255, 255, 0.8); }
.denom:disabled { opacity: 0.45; cursor: default; }

/* how it works */
.steps { display: flex; flex-direction: column; gap: 0; }
.stepr { display: flex; gap: 14px; padding: 14px 16px; position: relative; }
.stepr + .stepr::before { content: ""; position: absolute; left: 41px; top: -14px; height: 28px; width: 2px; background: var(--line); }
.stepr .n { width: 52px; height: 52px; border-radius: 18px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; position: relative; }
.stepr .n em { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-style: normal; font-size: 0.68rem; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--card); }
.stepr .t { font-weight: 800; font-size: 0.98rem; }
.stepr .s { font-size: 0.84rem; color: var(--muted); margin-top: 2px; }

/* sample token picture */
.sample { margin: 4px auto 0; width: min(260px, 80%); border-radius: 22px; padding: 18px 18px 14px; background: linear-gradient(160deg, #f9fafc, #eef1f6); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); text-align: center; }
.sample .logo { color: var(--navy); font-size: 1.4rem; }
.sample svg.qr { width: 72%; height: auto; margin: 12px auto 8px; display: block; }
.sample .code { font-weight: 800; font-size: 0.95rem; letter-spacing: 0.12em; color: var(--ink); }
.sample .stamp { display: inline-block; margin-top: 8px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; color: var(--red); border: 2px solid var(--red); border-radius: 8px; padding: 2px 8px; transform: rotate(-4deg); }

/* OTP boxes */
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp input { text-align: center; font-size: max(16px, 1.35rem) !important; font-weight: 800; padding: 0; min-height: 56px; }

/* login hero */
.login .ph.rw { padding-bottom: 86px; }
.login .ph.rw .logo { margin-top: calc(4vh + 8px); }
.login .ph.rw .claim { font-size: 1.32rem; font-weight: 800; letter-spacing: 0.02em; line-height: 1.25; margin-top: 18px; }
.packs { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.packs .pk { width: 64px; height: 78px; border-radius: 14px 14px 10px 10px; background: linear-gradient(180deg, #2a3f63, #101d33); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 18px rgba(0, 0, 0, 0.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 900; font-style: italic; font-size: 0.82rem; letter-spacing: 0.04em; }
.packs .pk:nth-child(2) { transform: translateY(-8px) scale(1.08); background: linear-gradient(180deg, #e9edf4, #b9c4d6); color: var(--navy); }
.packs .pk small { font-style: normal; font-size: 0.5rem; letter-spacing: 0.16em; font-weight: 700; opacity: 0.8; }
.claims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 420px; margin: 18px auto 0; width: calc(100% - 32px); }
.claims div { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--ink-2); }
.claims .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--soft); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.orline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.orline::before, .orline::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* profile header */
.me { display: flex; align-items: center; gap: 14px; }
.me .avatar { width: 58px; height: 58px; font-size: 1.15rem; background: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.me .photo { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.me .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.me .pen { position: absolute; right: -2px; top: 38px; width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--navy-3, #0b2545); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); }
.me .linkbtn { background: none; border: 0; color: rgba(255, 255, 255, 0.85); padding: 2px 4px; text-decoration: underline; }
.me .n { font-size: 1.2rem; font-weight: 800; }
.me .m { font-size: 0.86rem; opacity: 0.8; }

/* helpers */
.help-body { white-space: pre-line; font-size: 0.92rem; line-height: 1.55; color: var(--ink-2); }
.soonnote { font-size: 0.72rem; font-weight: 700; color: var(--muted); background: var(--grey-bg); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.callcard { display: flex; align-items: center; gap: 14px; }
.callcard .ph-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-grad); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ref { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.03em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.li .pts { text-align: right; flex: 0 0 auto; }
.li .pts b { display: block; }
.masked { letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.offlist .li { align-items: center; }
.eligible { color: var(--green); font-weight: 700; }
.stepr .n.art { overflow: visible; }
.card .denom { background: var(--field); }
.card .denom.on { background: var(--brand-grad); }

/* ---- calm VITO look (Tanishq): navy + white only, like the dealer app. No rainbow tiles, no gold, no confetti. ---- */
.coin { background: var(--soft) !important; color: var(--navy) !important; box-shadow: none !important; }
:root[data-theme="dark"] .coin { color: var(--soft-ink) !important; }
.tile .ic.k-navy, .tile .ic.k-red, .tile .ic.k-green, .tile .ic.k-blue, .tile .ic.k-orange, .tile .ic.k-grey { background: var(--soft) !important; color: var(--navy) !important; box-shadow: none !important; }
.tile .ic.k-navy { background: var(--brand-grad) !important; color: #fff !important; }
.art, .art.k1, .art.k2, .art.k3, .art.k4, .art.k5 { background: var(--soft) !important; color: var(--navy) !important; }
.feature .fimg { background: var(--soft) !important; color: var(--navy) !important; }
.bar.gold > i { background: var(--navy-3) !important; }
.confetti { display: none; }
.success .tick { background: var(--green-bg) !important; color: var(--green) !important; box-shadow: none !important; }
.li .avatar.c-green, .li .avatar.c-orange, .li .avatar.c-blue, .li .avatar.c-red, .li .avatar.c-grey, .callcard .ph-ic { background: var(--soft) !important; color: var(--navy) !important; }
.li .avatar.c-red .t, .li.notif .dot-l.red { }
.chip.nodot.orange { background: var(--soft); color: var(--navy); }
.scanacts .btn.on { background: var(--navy); color: #fff; }
.scanner .frame i { border-color: #fff; }
.scanner .laser { background: linear-gradient(90deg, transparent, #fff, transparent); box-shadow: 0 0 10px rgba(255,255,255,.8); }
.banner::before { background: radial-gradient(260px 160px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 70%); }
.stepr .n em { background: var(--navy); }
.plus { color: var(--ink); } .minus { color: var(--ink-2); }
.li.notif .dot-l.red { background: var(--navy-3); }
.sec.onhead { color: rgba(255,255,255,.88); }  /* first group label sits on the dark header */
/* yes / no settings: a switch, as on the phone */
input.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 14px; background: #c9d1dc; position: relative; cursor: pointer; transition: background 0.15s; flex: 0 0 auto; }
input.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 11px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: left 0.15s; }
input.switch:checked { background: #1b7f3b; }
input.switch:checked::after { left: 21px; }
