/* =========================================================
   LOGIN PAGE – ABOUT-PAGE COLOR LANGUAGE
   ========================================================= */

.login-body {
    background: #fffdf0; /* same warm base as About page */
}

/* Layout */
.login-layout {
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

/* HERO BACKGROUND – soft yellow like About */
.login-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(
            circle at top center,
            rgba(255, 244, 200, 0.9),
            #fffdf0 65%
        );
}

/* CARD */
.login-card {
    width: 100%;
    max-width: 420px;

    background: #ffffff;
    border-radius: 20px;
    padding: 28px;

    box-shadow:
        0 24px 40px rgba(0,0,0,0.12),
        0 8px 16px rgba(124,102,244,0.12);

    border-top: 6px solid var(--brand-purple);
}

/* BRAND */
.login-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.login-brand img {
    height: 44px;
}

/* TITLE */
.login-card h1 {
    font-size: 1.55rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 6px;
    color: #111827;
}

.login-subtext {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 18px;
}

/* INPUTS */
.login-card .form-control {
    height: 48px;
    border-radius: 12px;
    font-size: 1rem;
}

/* BUTTON */
.btn-login {
    background: var(--brand-purple);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 13px;
    border-radius: 12px;
    margin-top: 12px;
}

.btn-login:hover {
    opacity: 0.95;
}

/* LINKS */
.login-links {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.login-links a {
    color: var(--brand-purple);
    font-weight: 600;
    text-decoration: none;
}

/* MOBILE */
@media (max-width: 768px) {

    .login-layout {
        padding: 32px 14px;
    }

    .login-card {
        max-width: 100%;
        padding: 24px;
        border-radius: 18px;
    }

    .login-card h1 {
        font-size: 1.45rem;
    }
}
/* =========================================================
   FIX CLICK BLOCKING (CRITICAL)
   ========================================================= */

.login-layout,
.login-hero {
    position: relative;
    z-index: 1;
}

.login-card {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

/* Ensure background layers never block clicks */
.login-hero::before,
.login-hero::after {
    pointer-events: none;
}
.login-link-forgot {
    pointer-events: auto;
    cursor: pointer;
    z-index: 10;
    position: relative;
}
