:root { --navy:#103D62; --sky:#0EA5E9; --sky-deep:#0284C7; --sky-soft:#E0F2FE; --ink:#0F172A; --muted:#64748B; --line:#E2E8F0; --bg:#F4F9FC; --white:#fff; --green:#059669; --red:#B91C1C; }
* { box-sizing:border-box; margin:0; padding:0; }
body { font-family:"Poppins",system-ui,-apple-system,Segoe UI,Arial,sans-serif; color:var(--ink); background:var(--bg); min-height:100vh; line-height:1.5; }
a { color:var(--sky-deep); text-decoration:none; }
.link { color:var(--sky-deep); font-weight:600; font-size:14px; }
.muted { color:var(--muted); font-size:14px; }
.fine { color:var(--muted); font-size:12px; margin-top:18px; text-align:center; }
.msg { font-size:14px; margin-top:12px; min-height:20px; text-align:center; }
.msg.err { color:var(--red); } .msg.ok { color:var(--green); }
.btn { display:block; width:100%; text-align:center; padding:14px; border-radius:999px; font-weight:600; font-size:15px; border:0; cursor:pointer; font-family:inherit; margin-top:16px; text-decoration:none; }
.btn.primary { background:linear-gradient(135deg,var(--sky),var(--sky-deep)); color:#fff; box-shadow:0 14px 28px -14px rgba(2,132,199,.7); }
.btn.ghost { background:#fff; color:var(--sky-deep); border:1.5px solid #B6C7D6; }
.btn:disabled { opacity:.6; cursor:default; }
label { display:block; font-size:14px; font-weight:600; color:var(--navy); margin-top:16px; }
input, select, textarea { width:100%; padding:13px 15px; font-size:16px; font-family:inherit; border:1.5px solid #B6C7D6; border-radius:12px; margin-top:7px; background:#fff; color:var(--ink); }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--sky); box-shadow:0 0 0 4px rgba(14,165,233,.15); }
.pw { position:relative; } .pw input { padding-right:70px; }
.eye { position:absolute; right:10px; top:50%; transform:translateY(-50%); margin-top:3px; background:none; border:0; color:var(--sky-deep); font-weight:600; cursor:pointer; font-size:13px; font-family:inherit; }
.row { display:flex; justify-content:flex-end; margin-top:10px; }
.divider { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:13px; margin:22px 0 4px; }
.divider::before, .divider::after { content:""; flex:1; height:1px; background:var(--line); }

/* Login and forgot-password layout */
body.auth { display:grid; grid-template-columns: 1fr 1fr; }
.brandpanel { background:linear-gradient(135deg,var(--navy),#0B5C8F 60%,var(--sky)); color:#fff; padding:56px; display:flex; flex-direction:column; justify-content:center; }
.brand { display:flex; align-items:center; gap:12px; margin-bottom:40px; }
.brand b { display:block; font-size:18px; } .brand small { font-size:11px; letter-spacing:.1em; text-transform:uppercase; opacity:.8; }
.brandpanel h2 { font-size:38px; line-height:1.15; margin-bottom:10px; }
.brandpanel .ml { font-family:"Noto Sans Malayalam",sans-serif; opacity:.95; margin-bottom:18px; font-size:16px; }
.brandpanel .lead { opacity:.9; max-width:420px; font-size:15px; }
.authcard { align-self:center; justify-self:center; width:min(440px,92vw); background:#fff; border:1px solid var(--line); border-radius:24px; padding:36px 32px; box-shadow:0 30px 60px -28px rgba(16,61,98,.35); margin:24px; }
.authcard h1 { color:var(--navy); font-size:26px; }
.authcard .muted { margin-bottom:6px; }
@media (max-width:860px) { body.auth { grid-template-columns:1fr; } .brandpanel { padding:28px 24px 40px; } .brandpanel h2 { font-size:26px; } .brandpanel .lead { display:none; } .authcard { margin:-28px 16px 24px; } }

/* Dashboard */
.top { background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:5; }
.top .in { max-width:1080px; margin:0 auto; padding:14px 20px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.top .brand { margin:0; color:var(--navy); } .top .brand small { color:var(--muted); }
.top .brand b { color:var(--navy); font-size:16px; }
.wrap { max-width:1080px; margin:0 auto; padding:28px 20px 60px; }
.hello { background:linear-gradient(135deg,var(--navy),#0B5C8F 60%,var(--sky)); color:#fff; border-radius:24px; padding:28px 30px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.hello h1 { font-size:26px; } .hello p { opacity:.9; font-size:14px; }
.hello .pill { background:rgba(255,255,255,.18); padding:8px 14px; border-radius:999px; font-size:13px; font-weight:600; }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:24px; }
.tile { background:#fff; border:1px solid var(--line); border-radius:20px; padding:22px; display:flex; flex-direction:column; gap:6px; transition:transform .2s, box-shadow .2s; }
.tile:hover { transform:translateY(-3px); box-shadow:0 18px 40px -24px rgba(16,61,98,.4); }
.tile .ic { width:44px; height:44px; border-radius:14px; background:var(--sky-soft); display:grid; place-items:center; font-size:20px; margin-bottom:6px; }
.tile h3 { color:var(--navy); font-size:17px; } .tile p { color:var(--muted); font-size:14px; }
.tile .soon { font-size:12px; color:var(--sky-deep); font-weight:600; margin-top:auto; padding-top:8px; }
.section-title { color:var(--navy); font-size:18px; margin:34px 0 12px; }
@media (max-width:860px) { .grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:520px) { .grid { grid-template-columns:minmax(0,1fr); } .hello h1 { font-size:22px; } }
