
body { background: #faf8f3 !important; }
.blue-banner {
    background: linear-gradient(135deg, #050b1a 0%, #07101f 50%, #0b3f7a 100%) !important;
    padding: 40px 20px 44px !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.blue-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.40;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.32 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.blue-banner h1 {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
    position: relative;
    z-index: 1;
}
.auth-form { padding: 0 16px; }
.auth-form .uk-container > .uk-grid { max-width: 460px; margin: -32px auto 40px !important; }
/* No-banner variant: card sits in normal flow on cream canvas */
.auth-form--no-banner .uk-container > .uk-grid { margin: 32px auto 40px !important; }
.auth-card-head { text-align: center; margin-bottom: 18px; }
.auth-card-head h1 {
    font-size: 1.5rem; font-weight: 800; color: #0f172a;
    margin: 0 0 6px; letter-spacing: -0.02em;
}
.auth-card-head p {
    font-size: 0.9rem; color: #64748b; line-height: 1.5; margin: 0;
}
.auth-form .uk-width-large {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    padding: 32px 28px !important;
    position: relative;
    z-index: 2;
}
.auth-form p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
    text-align: center;
    margin-bottom: 22px;
}
.auth-form .formRow--input {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-form .formRow--input:focus {
    border-color: #1670bf !important;
    /* Strengthened focus glow (was 0.12 alpha — too faint to read as a focus
       indicator; WCAG 2.4.7). Keyboard + mouse both get a clear blue halo. */
    box-shadow: 0 0 0 3px rgba(22, 112, 191, 0.40) !important;
    outline: none !important;
}
.auth-form a[href*="forget"],
.auth-form a[href*="login"],
.auth-form a[href*="register"],
.auth-form a[href*="signup"] {
    color: #1670bf !important;
    font-weight: 600;
    text-decoration: none;
}
.auth-form a[href*="forget"]:hover,
.auth-form a[href*="login"]:hover,
.auth-form a[href*="register"]:hover,
.auth-form a[href*="signup"]:hover { text-decoration: underline; }
.auth-form .uk-button-primary,
.auth-form button[type="submit"]:not(.uk-button-text) {
    background: linear-gradient(135deg, #1670bf 0%, #0b3f7a 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 14px 36px !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: 0 8px 22px rgba(11, 63, 122, 0.25);
    transition: transform 0.15s, box-shadow 0.15s;
    width: 100%;
}
.auth-form .uk-button-primary:hover,
.auth-form button[type="submit"]:not(.uk-button-text):hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(11, 63, 122, 0.35) !important;
}
.auth-form .new-account {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 6px;
}
.auth-form .new-account a {
    color: #1670bf;
    font-weight: 700;
    text-decoration: none;
}
.auth-form .new-account a:hover { text-decoration: underline; }
@media (max-width: 520px) {
    .auth-form .uk-width-large { padding: 22px 18px !important; }
    .blue-banner { padding: 32px 20px 36px !important; }
}
/* Fix: cookie consent banner (~80px) at bottom can cover the submit button
   on narrow viewports. Add breathing room so the button is always reachable. */
@media (max-width: 768px) {
    .auth-form { padding-bottom: 100px; }
}
