/* =====================================================================
   RTO Nerul kiosk: plum + gold theme (same palette as the staff pages)
   Loaded AFTER <style id="ds-v3"> so it overrides it. Colour/style only:
   no markup, ids, text, handlers, JS, API or database are touched.
   To undo: remove the <link rel="stylesheet" href="kiosk-theme.css..."> line.
   ===================================================================== */
:root{
  --plum:#4A1642; --plum-2:#6B2160; --plum-3:#5B1A52; --plum-soft:#F4E9F2; --gold-2:#E8B923;

  --mh-crimson:#6B2160; --mh-crimson-hi:#8A2F7D; --mh-deep:#4A1642;
  --mh-saffron:#E8B923; --mh-orange:#D9A61A; --mh-slate:#4A1642; --mh-teal:#17805A;
  --red-700:#5B1A52;
  --ink:#241524; --ink-soft:#4A1642; --muted:#6B5A70;
  --bg:#FBF8F4; --surface-2:#FDFAFC; --surface-3:#F4EDF2;
  --border:#EADFE6; --border-strong:#B9A4B4;
  --primary:#4A1642; --primary-strong:#3A1034; --primary-ink:#241524; --primary-tint:#F4E9F2;
  --accent:#6B2160; --accent-strong:#4A1642; --accent-tint:#F4E9F2;
  --danger:#B3261E;
  --gold:#E8B923; --gold-tint:#FBF1CC; --gold-ink:#6B4E00;
  --ring:rgba(107,33,96,.28);
  --e1:0 1px 2px rgba(74,22,66,.06),0 2px 6px rgba(74,22,66,.05);
  --e2:0 2px 4px rgba(74,22,66,.06),0 8px 22px rgba(74,22,66,.09);
  --e3:0 4px 8px rgba(74,22,66,.08),0 16px 40px rgba(74,22,66,.16);
  --e4:0 8px 16px rgba(74,22,66,.10),0 28px 64px rgba(74,22,66,.24);
}
/* the printed Form 29 keeps its original colours */
#printForm{ --red-700:#B02A2B; --mh-crimson:#D73435; --mh-deep:#9E2E2D; --mh-saffron:#F39C11; --mh-orange:#E84C3D; --mh-slate:#2D3E50;
  --gold:#F39C11; --gold-tint:#FDEBCB; --gold-ink:#7A4A00; --danger:#B02A2B; --accent-strong:#8C2021; --accent-tint:#FCE8E7; --ring:rgba(215,52,53,.28); }

body{ background:var(--bg); color:var(--ink); }
.main{ background:radial-gradient(700px 320px at 100% 0, rgba(232,185,35,.12), transparent 65%), radial-gradient(700px 320px at 0 100%, rgba(107,33,96,.07), transparent 65%), var(--bg); }

/* ---------- sidebar ---------- */
.sidebar, .sidebar.in-flow, .sidebar.hidden{
  background:radial-gradient(260px 220px at 0 0, rgba(255,255,255,.10), transparent 70%), linear-gradient(175deg,#6B2160 0%,#5B1A52 55%,#4A1642 100%);
  box-shadow:var(--e3), inset 0 1px 0 rgba(255,255,255,.16);
}
.sidebar .gh-t small{ color:#EBD9E7; }
.staff-btn{ background:#2E0E29; border-color:rgba(255,255,255,.3); }
.staff-btn:hover{ background:#230A1F; }
.lang-switch{ background:rgba(0,0,0,.2); }

/* ---------- headings, cards, buttons ---------- */
.tile, .opt{ --tint:#F4E9F2; --chip:#F4E9F2; --chipfg:#6B2160; }
.tile.selected, .opt.selected{ box-shadow:0 0 0 4px rgba(107,33,96,.2), var(--e3); }
.lang-tiles button[aria-pressed="true"]{ box-shadow:0 0 0 4px rgba(107,33,96,.2), var(--e3); }
.input:focus, .ta:focus, select.input:focus{ box-shadow:0 0 0 5px rgba(107,33,96,.2); }
.btn-primary{ background:linear-gradient(180deg,#7A2870,#5B1A52 60%,#4A1642); box-shadow:var(--e2), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:hover{ background:linear-gradient(180deg,#8A2F7D,#6B2160 60%,#4A1642); }
.btn-accent, .foot .btn-primary{ background:linear-gradient(180deg,#F2CB4A,#E8B923); color:#2A1F00; }
.btn-accent:hover, .foot .btn-primary:hover{ background:linear-gradient(180deg,#F7D766,#EDBE2C); color:#2A1F00; }
.kb-done{ color:#2A1F00; } .kb-done:active{ background:#C99A12; }
.kb-shift.active{ color:#2A1F00; }
.kb-back{ background:#B3261E; }
@keyframes ds-glow{ 0%,100%{ box-shadow:0 0 0 4px rgba(107,33,96,.12), var(--e3) } 50%{ box-shadow:0 0 0 12px rgba(107,33,96,.12), var(--e3) } }

/* ---------- home (attract) screen ---------- */
.attract-left{ background:radial-gradient(420px 300px at 0 0, rgba(232,185,35,.14), transparent 70%), #fff; }
.attract .crest{ background:radial-gradient(circle at 30% 25%,#fff,#F6EAF4 65%); }
.attract .pulse{ background:linear-gradient(180deg,#7A2870,#5B1A52 65%,#4A1642); box-shadow:0 14px 30px rgba(74,22,66,.38), inset 0 1px 0 rgba(255,255,255,.25); }
.attract .pulse::before, .attract .pulse::after{ background:rgba(107,33,96,.38); }
.attract .gov{ color:var(--plum-2); }
.seal-mark circle[fill="#F4EFE3"]{ fill:#F6EAF4; }

/* ---------- success + staff chooser + admin overlay ---------- */
.token-box{ background:linear-gradient(165deg,#6B2160,#4A1642); }
#pinBackdrop .modal h2{ background:linear-gradient(180deg,#6B2160,#4A1642); }
#pinBackdrop .modal a:nth-child(2) > span:first-child{ background:#F4E9F2 !important; color:#6B2160; }
.admin-head{ background:linear-gradient(180deg,#6B2160,#4A1642); }
.admin-head .sub{ color:#EBD9E7; }
.admin-head .btn-primary{ background:#2E0E29; }
table.recs tr.clickable:hover td{ background:#F4E9F2; }
table.recs td .tok{ color:var(--plum-2); }
