/* Sign-in (v3.12) — Gour Fresh navy + gold, Material 3 shapes. Stand-alone (no Bootstrap) so it opens fast. */
@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url('../fonts/roboto-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 500; font-display: swap; src: url('../fonts/roboto-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 700; font-display: swap; src: url('../fonts/roboto-latin-700-normal.woff2') format('woff2'); }
:root {
  --navy: #0d2a6b; --navy-2: #123a91; --navy-3: #071a47; --gold: #c99a3e; --gold-2: #e5c27a;
  --p: #0b57d0; --pc: #d3e3fd; --opc: #041e49; --sc: #c2e7ff; --s: #f4f6fb; --card: #ffffff;
  --on: #1b1c1f; --onv: #4a4e57; --ov: #c4c7ce; --hi: #e9eef6; --err: #b3261e; --errc: #fbe3e1; --warn: #8a5300; --warnc: #fff1d6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body.lg { margin: 0; min-height: 100vh; min-height: 100dvh; font-family: Roboto, 'Noto Sans Bengali', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--on); letter-spacing: .01em;
  background: radial-gradient(1200px 520px at 100% -10%, rgba(201, 154, 62, .14), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(18, 58, 145, .12), transparent 60%), var(--s); }
button { font: inherit; color: inherit; touch-action: manipulation; }
.lg-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .lg-shell { grid-template-columns: minmax(420px, 46%) 1fr; } .lg-shell.one { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- brand panel (computer) */
.lg-brand { display: none; }
@media (min-width: 992px) {
  .lg-brand { display: flex; flex-direction: column; position: relative; overflow: hidden; padding: 56px 64px 36px; color: #fff;
    background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 48%, var(--navy-3) 100%); }
  .lg-brand::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px); pointer-events: none; }
}
.lg-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.lg-glow.g1 { width: 460px; height: 460px; right: -170px; top: -160px; background: radial-gradient(circle, rgba(229, 194, 122, .28), transparent 65%); }
.lg-glow.g2 { width: 380px; height: 380px; left: -140px; bottom: -150px; background: radial-gradient(circle, rgba(120, 160, 255, .22), transparent 65%); }
.lg-emblem { width: 132px; height: 132px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); position: relative; z-index: 1; animation: lg-float 6s ease-in-out infinite; }
@keyframes lg-float { 50% { transform: translateY(-6px); } }
.lg-word { font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif; font-size: 30px; letter-spacing: .32em; margin-top: 22px; font-weight: 500; position: relative; z-index: 1; }
.lg-word-bn { color: var(--gold-2); font-size: 20px; margin-top: 2px; position: relative; z-index: 1; }
.lg-title { font-size: 30px; font-weight: 400; line-height: 1.25; margin: 40px 0 6px; position: relative; z-index: 1; }
.lg-title span { display: block; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-top: 6px; font-weight: 500; }
.lg-feats { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; position: relative; z-index: 1; max-width: 500px; }
.lg-feats li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(4px);
  animation: lg-up .6s cubic-bezier(.2, 0, 0, 1) both; }
.lg-feats li:nth-child(2) { animation-delay: .08s; } .lg-feats li:nth-child(3) { animation-delay: .16s; }
.lg-feats i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--navy-3); background: linear-gradient(145deg, var(--gold-2), var(--gold)); }
.lg-feats b { display: block; font-weight: 500; font-size: 15.5px; } .lg-feats span { display: block; font-size: 13.5px; opacity: .82; line-height: 1.5; margin-top: 2px; }
.lg-made { margin-top: auto; padding-top: 26px; font-size: 12px; opacity: .6; position: relative; z-index: 1; }
@keyframes lg-up { from { opacity: 0; transform: translateY(10px); } }

/* ---------------------------------------------------------------- sign-in card */
.lg-main { display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); }
.lg-card { width: 100%; max-width: 420px; background: var(--card); border-radius: 28px; padding: 26px 22px 16px; box-shadow: 0 1px 2px rgba(13,42,107,.08), 0 10px 34px rgba(13,42,107,.10);
  position: relative; animation: lg-up .45s cubic-bezier(.2, 0, 0, 1) both; }
@media (min-width: 992px) { .lg-card { padding: 34px 34px 18px; } }
.lg-head { text-align: center; margin-bottom: 8px; }
.lg-logo { width: 150px; height: auto; display: inline-block; }
@media (min-width: 992px) { .lg-head { display: none; } }
.lg-ticker { position: relative; height: 34px; margin: 10px auto 2px; max-width: 320px; }
.lg-ticker span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--navy); background: #f3f0e6; border-radius: 99px;
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.lg-ticker span.on { opacity: 1; transform: none; }
.lg-ticker i { color: var(--gold); }
.lg-card h1 { font-size: 26px; font-weight: 400; margin: 14px 0 4px; } .lg-card h1.c, .lg-sub.c { text-align: center; }
.lg-sub { margin: 0 0 16px; color: var(--onv); font-size: 14px; }
.lg-alert { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; margin: 10px 0 4px; }
.lg-alert.bad { background: var(--errc); color: var(--err); } .lg-alert.warn { background: var(--warnc); color: var(--warn); }
.lg-alert[hidden] { display: none; }
.lg-view[hidden] { display: none; }
.lg-view { animation: lg-in .25s cubic-bezier(.2, 0, 0, 1); }
@keyframes lg-in { from { opacity: 0; transform: translateX(10px); } }

/* accounts */
.av { width: 44px; height: 44px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; font-size: 16px; }
.av.big { width: 76px; height: 76px; font-size: 28px; }
.a0 { background: var(--pc); color: var(--opc); } .a1 { background: #c4eed0; color: #072711; } .a2 { background: #ffe2b8; color: #3d2400; } .a3 { background: #f3d9f6; color: #3a0b43; } .a4 { background: #d7e3d0; color: #1e2d16; }
.lg-accs { display: grid; gap: 4px; padding: 6px; background: var(--s); border-radius: 22px; }
.lg-acc { position: relative; display: flex; align-items: center; border-radius: 18px; background: var(--card); }
.lg-acc-go { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 12px 6px 12px 12px; border: 0; background: transparent; border-radius: 18px; text-align: left; cursor: pointer; }
.lg-acc-go:hover, .lg-acc-go:focus-visible { background: #eef3fb; outline: none; } .lg-acc-go:active { background: var(--sc); }
.lg-acc .n { flex: 1; min-width: 0; } .lg-acc .n b { display: block; font-weight: 500; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-acc .n > span { font-size: 12.5px; color: var(--onv); }
.chip { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 8px; background: var(--hi); color: var(--onv); margin-left: 4px; vertical-align: 2px; }
.lg-fpi { color: var(--p); font-size: 18px; margin-right: 2px; }
.lg-more { width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%; color: var(--onv); font-size: 17px; margin-right: 4px; cursor: pointer; }
.lg-more:hover { background: var(--hi); }
.lg-menu { position: absolute; right: 8px; top: 52px; z-index: 5; background: #fff; border-radius: 14px; padding: 6px 0; min-width: 230px; box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 10px 24px rgba(0,0,0,.12); }
.lg-menu[hidden] { display: none; }
.lg-menu button { display: flex; gap: 12px; align-items: center; width: 100%; padding: 11px 16px; border: 0; background: transparent; font-size: 14px; text-align: left; cursor: pointer; }
.lg-menu button:hover { background: var(--s); } .lg-menu .r { color: var(--err); }
.lg-other { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 12px; padding: 12px 16px; border-radius: 18px; border: 1px solid var(--ov); background: transparent; color: var(--p); font-weight: 500; font-size: 14.5px; cursor: pointer; }
.lg-other .av { width: 36px; height: 36px; border: 1.5px dashed var(--p); font-size: 17px; }
.lg-other:hover { background: #eef3fb; }

/* PIN */
.lg-back { position: absolute; left: 12px; top: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; font-size: 20px; color: var(--onv); cursor: pointer; }
.lg-back:hover { background: var(--hi); }
.lg-who { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 8px; }
.lg-who b { font-size: 21px; font-weight: 400; margin-top: 12px; } .lg-who > span:last-child { font-size: 13px; color: var(--onv); margin-top: 2px; }
.lg-dots { display: flex; gap: 18px; justify-content: center; margin: 24px 0 8px; }
.lg-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--onv); transition: background-color .12s ease, transform .12s ease; }
.lg-dots i.f { background: var(--navy); border-color: var(--navy); transform: scale(1.12); }
.lg-dots.shake { animation: lg-shake .4s ease; }
@keyframes lg-shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.lg-hint { text-align: center; font-size: 13px; color: var(--onv); min-height: 18px; }
.lg-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 26px 4px; max-width: 330px; margin: 0 auto; }
.lg-pad button { height: 62px; border-radius: 50%; border: 0; background: #eef1f7; font-size: 25px; cursor: pointer; transition: background-color .1s ease, transform .08s ease; }
.lg-pad button:hover { background: #e3e8f2; } .lg-pad button:active { background: var(--sc); transform: scale(.94); }
.lg-pad .x { background: transparent; font-size: 22px; color: var(--onv); }
.lg-pad .fp { background: linear-gradient(145deg, #f6e7c4, #e9cf93); color: var(--navy-3); font-size: 26px; }
.lg-pad .fp[hidden], .lg-pad .sp[hidden] { display: none; }
.lg-link { display: block; margin: 16px auto 4px; border: 0; background: transparent; color: var(--p); font-weight: 500; font-size: 14px; cursor: pointer; padding: 8px 12px; border-radius: 99px; }
.lg-link:hover { background: #eef3fb; } .lg-link.sm { margin: 0; padding: 4px 6px; font-size: 13.5px; }
.lg-fpbig { width: 88px; height: 88px; margin: 18px auto 0; border-radius: 28px; display: flex; align-items: center; justify-content: center; font-size: 44px; color: var(--navy-3); background: linear-gradient(145deg, #f6e7c4, #e9cf93); }
.lg-fpbig.ok { background: #c4eed0; color: #072711; }

/* form */
.lg-field { position: relative; display: block; margin: 0 0 14px; }
.lg-field > span { position: absolute; top: -8px; left: 14px; padding: 0 4px; background: var(--card); font-size: 12px; color: var(--onv); z-index: 1; transition: color .15s ease; }
.lg-field > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--onv); font-size: 17px; pointer-events: none; }
.lg-field input { width: 100%; height: 54px; border-radius: 14px; border: 1px solid #8f939c; padding: 0 46px 0 44px; font-size: 16px; background: var(--card); color: var(--on); outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.lg-field input:focus { border-color: var(--p); box-shadow: inset 0 0 0 1px var(--p); }
.lg-field:focus-within > span { color: var(--p); }
.lg-field .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; background: transparent; border-radius: 50%; color: var(--onv); font-size: 18px; cursor: pointer; }
.lg-check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; font-size: 14px; cursor: pointer; }
.lg-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--p); flex: none; }
.lg-check b { font-weight: 500; } .lg-check small { display: block; color: var(--onv); font-size: 12px; margin-top: 2px; line-height: 1.45; }
.lg-btn { width: 100%; height: 52px; border: 0; border-radius: 99px; color: #fff; font-size: 15.5px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  background: linear-gradient(135deg, var(--navy-2), var(--p)); box-shadow: 0 4px 14px rgba(11, 87, 208, .28); transition: transform .08s ease, box-shadow .15s ease, filter .15s ease; }
.lg-btn:hover { filter: brightness(1.06); } .lg-btn:active { transform: scale(.98); } .lg-btn:disabled { opacity: .7; }
.lg-btn i { transition: transform .2s ease; } .lg-btn:hover i { transform: translateX(3px); }
.lg-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13.5px; }
.lg-row a { color: var(--p); font-weight: 500; text-decoration: none; }
.lg-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--hi); font-size: 12px; color: var(--onv); }
.lg-net { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--s); }
.lg-net i { width: 8px; height: 8px; border-radius: 50%; background: #1e8e3e; } .lg-net.off i { background: var(--err); }
body.lg-in .lg-card { transition: opacity .25s ease, transform .25s ease; opacity: .6; transform: scale(.99); }
@media (max-width: 380px) { .lg-pad { gap: 10px; padding: 14px 14px 4px; } .lg-pad button { height: 56px; } .lg-card { padding: 22px 16px 14px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
[hidden] { display: none !important; }
/* PIN screen: only the person and the keypad (no logo) */
.lg-card.pinmode .lg-head, .lg-card.pinmode > .lg-alert.warn { display: none; }
.lg-card.pinmode { padding-top: 18px; }

.lg-tip { display: flex; gap: 10px; align-items: flex-start; text-align: left; background: #f3f0e6; color: #3b3a33; border-radius: 14px; padding: 10px 12px; font-size: 12.5px; line-height: 1.5; margin: 0 0 14px; }
.lg-tip i { color: var(--gold); font-size: 16px; margin-top: 1px; }
.lg-btn:disabled { cursor: progress; }

/* ---------- v3.13 welcome screen after sign-in (covers the server wait), then a zoom into the app ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 220ms ease both lg-vt-out; }
@keyframes lg-vt-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.lg-splash { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(120% 80% at 50% 0%, #ffffff 0%, #eef3fb 55%, #e3ecf9 100%); animation: lgSpIn .28s ease both; }
.lg-sp-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; max-width: 320px; }
.lg-sp-logo { position: relative; width: 112px; height: 112px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; animation: lgSpPop .5s cubic-bezier(.2, .9, .3, 1.3) both; }
.lg-sp-logo img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 10px 30px rgba(13, 42, 107, .18); background: #fff; }
.lg-sp-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(13, 42, 107, .12); border-top-color: #0d2a6b; animation: lgSpR 1s linear infinite; }
.lg-sp-hi { font-size: .95rem; color: #5b6475; animation: lgSpUp .35s .08s ease both; }
.lg-sp-name { font-size: 1.5rem; font-weight: 700; color: #0d2a6b; animation: lgSpUp .35s .14s ease both; min-height: 1.2em; }
.lg-sp-bar { width: 160px; height: 4px; border-radius: 4px; background: rgba(13, 42, 107, .1); overflow: hidden; position: relative; margin: 14px 0 6px; animation: lgSpUp .35s .2s ease both; }
.lg-sp-bar i { position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; border-radius: 4px; background: linear-gradient(90deg, #0d2a6b, #2f6fe0); animation: lgSpBar 1.1s ease-in-out infinite; }
.lg-sp-msg { font-size: .88rem; color: #5b6475; min-height: 1.3em; animation: lgSpUp .35s .26s ease both; }
.lg-sp-retry { margin-top: 12px; border: 0; border-radius: 14px; padding: 10px 18px; background: #0d2a6b; color: #fff; font-weight: 600; }
.lg-sp-retry[hidden] { display: none; }
@keyframes lgSpIn { from { opacity: 0; } }
@keyframes lgSpPop { from { opacity: 0; transform: scale(.7); } }
@keyframes lgSpUp { from { opacity: 0; transform: translateY(8px); } }
@keyframes lgSpR { to { transform: rotate(360deg); } }
@keyframes lgSpBar { 0% { left: -40%; } 100% { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .lg-splash, .lg-splash * { animation-duration: .01s !important; animation-iteration-count: 1 !important; } }

/* v3.19 "বাংলা" button next to a long English text */
.bnt-b { display: inline-flex; align-items: center; vertical-align: 1px; border: 1px solid #c7d4ea; background: #f2f6fd; color: #0b57d0; border-radius: 99px; font-size: 11.5px; font-weight: 600; line-height: 1; padding: 3px 8px; margin-left: 4px; cursor: pointer; white-space: nowrap; }
.bnt-b:active { background: #e1ebfb; }
.bnt-bn[hidden], .bnt-en[hidden] { display: none !important; }

/* v3.26 — Theme A "Bento Light": indigo → violet like the rest of the app (gold logo accents kept) */
:root { --navy: #1e2a78; --navy-2: #4338ca; --navy-3: #151a46; --p: #4f46e5; --pc: #eef0ff; --opc: #312e81; --sc: #e0e7ff; --s: #f3f4f8; --hi: #eceef6; }
body.lg { background: radial-gradient(1200px 520px at 100% -10%, rgba(124, 58, 237, .12), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(67, 56, 202, .12), transparent 60%), var(--s); }
.lg-btn { background: linear-gradient(135deg, #1e40af 0%, #4338ca 55%, #7c3aed 100%); box-shadow: 0 14px 26px -14px #4338ca; }
.lg-card { border-radius: 26px; }
/* v3.46 demo */
.lg-demo { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; border-radius: 12px; padding: 8px 12px; font-size: .85rem; margin-bottom: 12px; text-align: center; }
.lg-trydemo { display: block; text-align: center; margin-top: 14px; font-size: .88rem; color: #b45309; text-decoration: none; font-weight: 600; }
.lg-trydemo:hover { text-decoration: underline; }
.lg-dlapp { color: #15803d; } .lg-dlapp small { font-weight: 400; color: #64748b; }

/* v4.4 — F008 Design B: Code / Password / PIN */
.lg-tabs { display: flex; gap: 4px; background: #eef1f6; border-radius: 14px; padding: 4px; margin: 0 0 16px; }
.lg-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; border-radius: 10px; padding: 9px 6px; font: inherit; font-size: 14px; color: var(--onv); cursor: pointer; }
.lg-tabs button.on { background: #fff; color: var(--p); font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.lg-chlabel { font-size: 13px; color: var(--onv); margin: 2px 0 8px; }
.lg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.lg-chips label { cursor: pointer; }
.lg-chips input { position: absolute; opacity: 0; pointer-events: none; }
.lg-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1px solid #c4c7c5; font-size: 13.5px; }
.lg-chips input:checked + span { background: var(--pc); border-color: var(--p); color: var(--opc); font-weight: 500; }
.lg-chips input:focus-visible + span { outline: 2px solid var(--p); outline-offset: 2px; }
.lg-sent { margin: 16px 0 12px; padding: 10px 12px; border-radius: 12px; background: #e6f4ea; color: #137333; font-size: 13.5px; line-height: 1.45; }
.lg-otp input { letter-spacing: .5em; font-size: 20px; font-variant-numeric: tabular-nums; }
.lg-small { font-size: 12px; color: var(--onv); margin-left: auto; text-align: right; }
.lg-pinnote { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: #f4f6fa; font-size: 14px; line-height: 1.45; margin-bottom: 8px; }
.lg-pinnote i { font-size: 22px; color: var(--p); }
.lg-pinnote b { display: block; font-weight: 500; margin-bottom: 2px; } .lg-pinnote span { color: var(--onv); font-size: 13px; }
@media (prefers-color-scheme: dark) {
  .lg-tabs { background: #26292e; } .lg-tabs button.on { background: #33373d; color: #a8c7fa; }
  .lg-chips input:checked + span { background: #1e3a5f; color: #d3e3fd; } .lg-sent { background: #0d3b1e; color: #a8dab5; } .lg-pinnote { background: #26292e; }
}
/* v4.8 F015 — language on the sign-in page */
.lg-langs{display:flex;justify-content:center;gap:.4rem;margin-top:.6rem;flex-wrap:wrap}
.lg-langs a{padding:.2rem .7rem;border-radius:999px;font-size:.8rem;text-decoration:none;color:inherit;border:1px solid rgba(127,127,127,.35)}
.lg-langs a.on{background:var(--pc,#0b57d0);color:var(--opc,#fff);border-color:transparent}
