/* ChargeNest v3.0 - presentation-only login enhancement. Auth PHP is untouched. */
:root { --cn30-navy:#102845; --cn30-blue:#1554b7; --cn30-yellow:#ffc527; --cn30-slate:#64748b; }
body.auth-page {
  background:
    radial-gradient(ellipse at 15% 20%,rgba(37,101,190,.19),transparent 48%),
    radial-gradient(ellipse at 86% 85%,rgba(255,197,39,.11),transparent 36%),
    #eef4fb;
  min-height:100dvh;
}
body.auth-page .auth-shell { max-width:520px; margin-inline:auto; padding:clamp(18px,5vh,56px) 20px 32px; }
body.auth-page .auth-shell > .auth-logo { display:none!important; }
body.auth-page .auth-card {
  background:#fff;
  border:1px solid rgba(18,47,81,.10);
  box-shadow:0 25px 80px rgba(17,45,79,.14),0 2px 12px rgba(17,45,79,.045);
  border-radius:24px;
  padding:clamp(24px,5vw,42px);
  max-width:100%;
}
.cn30-login-identity { display:flex;flex-direction:column;align-items:center;gap:12px;margin:0 0 28px;text-align:center; }
.cn30-login-identity a.cn30-logo-link { display:block;width:min(100%,345px);line-height:0; }
.cn30-login-identity img { display:block;width:100%;height:auto;object-fit:contain; }
.cn30-login-identity .cn30-login-kicker { font-size:.70rem;letter-spacing:.18em;font-weight:800;text-transform:uppercase;color:#526983; }
.cn30-login-identity::after { content:"";display:block;width:76px;height:3px;margin-top:10px;border-radius:99px;background:linear-gradient(90deg,var(--cn30-yellow),#276bd2); }
body.auth-page .auth-card h1 { color:var(--cn30-navy);letter-spacing:-.035em; }
body.auth-page .auth-card label { color:#19344f; }
body.auth-page .auth-card input { min-height:46px;border:1px solid #cbd8e7;background:#fff;border-radius:12px; }
body.auth-page .auth-card input:focus-visible { outline:3px solid rgba(36,101,191,.24);border-color:#276bd2; }
body.auth-page .auth-card button[type="submit"] { background:linear-gradient(120deg,#164f9e,#102e59);border-radius:12px;color:#fff;font-weight:750;min-height:48px;box-shadow:0 10px 26px rgba(22,79,158,.22); }
body.auth-page .auth-card button[type="submit"]:hover { filter:brightness(1.10); }
.cn30-login-links { display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin:22px 0 0;padding:16px 0 0;border-top:1px solid #e5ecf3;font-size:.82rem; }
.cn30-login-links a { color:#24599c;text-decoration:none;font-weight:650; }
.cn30-login-links a:hover,.cn30-login-links a:focus-visible { text-decoration:underline; }
body.auth-page .auth-shell > small { display:block;color:#718098;text-align:center;margin-top:22px; }
@media (max-width:530px) {
 body.auth-page .auth-shell { padding:22px 12px 24px; }
 body.auth-page .auth-card { padding:26px 20px; border-radius:18px; }
 .cn30-login-identity a.cn30-logo-link { width:min(100%,295px); }
 .cn30-login-identity { margin-bottom:22px; }
}
@media (prefers-reduced-motion: reduce) { body.auth-page * { scroll-behavior:auto!important;transition:none!important;animation:none!important; } }
