/* ===== colour themes: default = classic (navy menu, blue). Change data-theme on <html> (picker in the top bar) ===== */
:root{--brand:#2563eb;--brand-dark:#1e3a8a;--brand-light:#3b82f6;--brand-soft:#e8f0fe;--brand-hover:#1d4ed8;--brand-active:#1e40af;--side-a:#151f38;--side-b:#1e2a4a;--accent:#f59e0b;--active-bg:#2563eb;--active-fg:#ffffff;--brand-rgb:37,99,235;--brand-light-rgb:59,130,246;--brand-dark-rgb:30,58,138}
:root[data-theme="teal"]{--brand:#0f766e;--brand-dark:#0a3d3b;--brand-light:#14b8a6;--brand-soft:#e4f5f2;--brand-hover:#0c5f58;--brand-active:#0a4d48;--side-a:#0a3d3b;--side-b:#0f766e;--accent:#f59e0b;--active-bg:#ffffff;--active-fg:#0f766e;--brand-rgb:15,118,110;--brand-light-rgb:20,184,166;--brand-dark-rgb:10,61,59}
:root[data-theme="indigo"]{--brand:#4f46e5;--brand-dark:#312e81;--brand-light:#818cf8;--brand-soft:#eef2ff;--brand-hover:#4338ca;--brand-active:#3730a3;--side-a:#1e1b4b;--side-b:#4338ca;--accent:#f59e0b;--active-bg:#ffffff;--active-fg:#4f46e5;--brand-rgb:79,70,229;--brand-light-rgb:129,140,248;--brand-dark-rgb:49,46,129}
:root[data-theme="maroon"]{--brand:#9f1239;--brand-dark:#4c0519;--brand-light:#fb7185;--brand-soft:#ffe4e6;--brand-hover:#881337;--brand-active:#6b0f2c;--side-a:#4c0519;--side-b:#9f1239;--accent:#d4a017;--active-bg:#ffffff;--active-fg:#9f1239;--brand-rgb:159,18,57;--brand-light-rgb:251,113,133;--brand-dark-rgb:76,5,25}
:root[data-theme="orange"]{--brand:#ea580c;--brand-dark:#1f2937;--brand-light:#fb923c;--brand-soft:#ffedd5;--brand-hover:#c2410c;--brand-active:#9a3412;--side-a:#111827;--side-b:#374151;--accent:#fbbf24;--active-bg:#ffffff;--active-fg:#ea580c;--brand-rgb:234,88,12;--brand-light-rgb:251,146,60;--brand-dark-rgb:31,41,55}
:root[data-theme="emerald"]{--brand:#059669;--brand-dark:#064e3b;--brand-light:#34d399;--brand-soft:#d1fae5;--brand-hover:#047857;--brand-active:#065f46;--side-a:#064e3b;--side-b:#059669;--accent:#f59e0b;--active-bg:#ffffff;--active-fg:#059669;--brand-rgb:5,150,105;--brand-light-rgb:52,211,153;--brand-dark-rgb:6,78,59}

/* login + OTP pages */
html,body{height:100%}
body.lg{margin:0;font-family:'Inter','Segoe UI',system-ui,-apple-system,Arial,sans-serif;background:#f5f7fa;color:#1f2937;-webkit-font-smoothing:antialiased}
.lg-wrap{display:flex;min-height:100vh}
.lg-brand{flex:1.1;position:relative;overflow:hidden;color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:48px 56px;
  background:linear-gradient(150deg,var(--side-a) 0%,var(--side-b) 100%)}
.lg-brand::before,.lg-brand::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.06)}
.lg-brand::before{width:520px;height:520px;right:-180px;top:-160px}
.lg-brand::after{width:360px;height:360px;left:-120px;bottom:-130px}
.lg-brand>*{position:relative;z-index:1}
.lg-mark{display:flex;align-items:center;gap:12px;font-weight:700;font-size:1.15rem;letter-spacing:.2px}
.lg-mark i{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;font-size:1.15rem}
.lg-hero h2{font-size:2.3rem;font-weight:800;letter-spacing:-.03em;line-height:1.15;margin-bottom:14px}
.lg-hero p{opacity:.85;font-size:1.02rem;max-width:430px;margin-bottom:26px}
.lg-feat{list-style:none;padding:0;margin:0}
.lg-feat li{display:flex;align-items:center;gap:12px;margin-bottom:12px;opacity:.95}
.lg-feat i{width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;font-size:.8rem}
.lg-meta{font-size:.82rem;opacity:.7}
.lg-form{flex:1;display:flex;align-items:center;justify-content:center;padding:32px;background:#fff}
.lg-box{width:100%;max-width:400px}
.lg-box h1{font-size:1.65rem;font-weight:800;color:var(--brand-dark);letter-spacing:-.02em;margin-bottom:4px}
.lg-box .sub{color:#64748b;margin-bottom:24px}
.lg-tabs{display:flex;background:#f1f5f9;border-radius:12px;padding:4px;margin-bottom:20px}
.lg-tabs button{flex:1;border:0;background:transparent;padding:10px;border-radius:9px;font-weight:600;color:#64748b;font-size:.92rem}
.lg-tabs button.on{background:#fff;color:var(--brand);box-shadow:0 2px 8px rgba(var(--brand-rgb),.16)}
.lg-box label.lb{font-size:.8rem;font-weight:600;color:#475569;margin-bottom:6px}
.lg-box .input-group-text{background:#f1f5f9;border-color:#d5dce6;color:var(--brand)}
.lg-box .form-control{border-color:#d5dce6;padding:.7rem .9rem}
.lg-box .form-control:focus{border-color:var(--brand-light);box-shadow:0 0 0 .2rem rgba(var(--brand-light-rgb),.18)}
.lg-box .btn-eye{border-color:#d5dce6;background:#f1f5f9;color:var(--brand)}
.btn-login{background:var(--brand);border:0;color:#fff;font-weight:600;padding:12px;border-radius:10px;box-shadow:0 8px 18px rgba(var(--brand-rgb),.28)}
.btn-login:hover{color:#fff;background:var(--brand-hover)}
.lg-foot{text-align:center;color:#94a3b8;font-size:.78rem;margin-top:26px}
@media(max-width:900px){
  .lg-wrap{flex-direction:column}
  .lg-brand{flex:none;padding:28px 26px}.lg-hero,.lg-meta{display:none}
  .lg-form{padding:28px 22px;align-items:flex-start}
}
