    .login-shell {
        min-height: 100vh;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: #f4f7f5;
        font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    }

    /* Hero side */
    .login-hero {
        position: relative;
        overflow: hidden;
        color: #fff;
        padding: 3rem 3.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 100vh;
    }

    .hero-bg {
        position: absolute; inset: 0;
        background:
            radial-gradient(900px 600px at 20% 0%, rgba(255,255,255,0.12), transparent 60%),
            radial-gradient(700px 500px at 100% 100%, rgba(255, 199, 44, 0.22), transparent 60%),
            linear-gradient(135deg, #062a5a 0%, #0d3d8a 45%, #1c64d4 100%);
        z-index: 0;
    }

    .hero-skyline {
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: 30%;
        background: url('/img/pasig-skyline.svg') bottom center / cover no-repeat;
        opacity: 0.85;
        z-index: 1;
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: 2.25rem;
        height: 100%;
    }

    .hero-brand {
        display: flex;
        align-items: center;
        gap: 0.9rem;
    }

    .hero-logo {
        width: 64px;
        height: 64px;
        object-fit: contain;
        filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
    }

    .hero-eyebrow {
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        color: rgba(255,255,255,0.75);
        font-weight: 600;
    }

    .hero-wordmark {
        font-size: 1.35rem;
        font-weight: 800;
        letter-spacing: -0.01em;
        margin-top: 2px;
    }

    .hero-copy { max-width: 460px; }

    .hero-copy h1 {
        font-size: 2.25rem;
        line-height: 1.15;
        font-weight: 800;
        color: #fff;
        margin: 0 0 0.9rem;
        letter-spacing: -0.02em;
    }

    .hero-copy p {
        font-size: 1rem;
        line-height: 1.6;
        color: rgba(255,255,255,0.85);
        margin: 0;
    }

    .hero-features {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }

    .hero-features li {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        color: rgba(255,255,255,0.92);
        font-size: 0.95rem;
        font-weight: 500;
    }

    .feat-icon {
        width: 26px; height: 26px;
        border-radius: 50%;
        background: rgba(255, 199, 44, 0.2);
        color: #ffc72c;
        display: grid;
        place-items: center;
        flex-shrink: 0;
        border: 1px solid rgba(255, 199, 44, 0.35);
    }

    .feat-icon svg { width: 14px; height: 14px; }

    .hero-footer {
        font-size: 0.78rem;
        color: rgba(255,255,255,0.6);
        letter-spacing: 0.02em;
        margin-top: auto;
    }

    /* Panel side */
    .login-panel {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3rem 2rem;
    }

    .login-card {
        width: 100%;
        max-width: 420px;
        background: #fff;
        border-radius: 20px;
        padding: 2.5rem 2.25rem 2rem;
        box-shadow:
            0 1px 2px rgba(15, 23, 42, 0.06),
            0 20px 40px rgba(6, 42, 90, 0.08);
        border: 1px solid #e2e8f0;
    }

    .login-card-head { text-align: center; margin-bottom: 1.75rem; }

    .login-card-logo {
        width: 88px;
        height: 88px;
        margin-bottom: 0.85rem;
        object-fit: contain;
    }

    .login-card h2 {
        font-size: 1.5rem;
        font-weight: 800;
        color: #0f1b17;
        margin: 0 0 0.35rem;
        letter-spacing: -0.01em;
    }

    .muted {
        color: #64748b;
        font-size: 0.9rem;
        margin: 0;
    }

    .login-alert {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        background: #fef2f2;
        border: 1px solid #fecaca;
        color: #b91c1c;
        padding: 0.7rem 0.9rem;
        border-radius: 10px;
        font-size: 0.88rem;
        font-weight: 500;
        margin-bottom: 1.2rem;
    }

    .login-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .field label {
        display: block;
        font-size: 0.82rem;
        font-weight: 600;
        color: #334155;
        margin-bottom: 0.4rem;
    }

    .input-wrap {
        position: relative;
    }

    .input-icon {
        position: absolute;
        left: 0.85rem;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        width: 18px; height: 18px;
        pointer-events: none;
    }

    .input-icon svg { width: 100%; height: 100%; }

    .input-wrap input {
        width: 100%;
        padding: 0.75rem 0.9rem 0.75rem 2.55rem;
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        font-size: 0.95rem;
        font-family: inherit;
        color: #0f1b17;
        background: #fff;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

    .input-wrap input::placeholder { color: #94a3b8; }

    /* Make room for the Show/Hide toggle on password fields. */
    .input-wrap-with-toggle input { padding-right: 4.25rem; }

    .pw-toggle {
        position: absolute;
        right: 0.4rem;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: 0;
        color: #0d3d8a;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        padding: 0.45rem 0.7rem;
        border-radius: 6px;
        cursor: pointer;
    }
    .pw-toggle:hover  { background: #e8f0ff; }
    .pw-toggle:focus  { outline: 2px solid rgba(28, 100, 212, 0.4); outline-offset: 1px; }

    .input-wrap input:focus {
        outline: none;
        border-color: #1c64d4;
        box-shadow: 0 0 0 3px rgba(28, 100, 212, 0.18);
    }

    .login-btn {
        margin-top: 0.5rem;
        width: 100%;
        background: linear-gradient(135deg, #0d3d8a, #1c64d4);
        color: #fff;
        border: 0;
        padding: 0.85rem 1rem;
        border-radius: 10px;
        font-size: 0.98rem;
        font-weight: 700;
        letter-spacing: 0.01em;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        box-shadow: 0 6px 16px rgba(13, 61, 138, 0.28);
        transition: transform .08s ease, box-shadow .15s ease, filter .15s ease;
    }

    .login-btn:hover {
        filter: brightness(1.06);
        box-shadow: 0 10px 24px rgba(13, 61, 138, 0.32);
    }

    .login-btn:active { transform: translateY(1px); }

    .login-card-foot {
        text-align: center;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
        border-top: 1px solid #f1f5f9;
    }

    .login-card-foot small {
        color: #64748b;
        font-size: 0.78rem;
    }

    @media (max-width: 960px) {
        .login-shell { grid-template-columns: 1fr; }
        .login-hero { min-height: auto; padding: 2.5rem 1.75rem; }
        .hero-copy h1 { font-size: 1.75rem; }
        .hero-skyline { height: 40%; opacity: 0.6; }
        .login-panel { padding: 2.5rem 1.25rem; }
    }

    @media (max-width: 480px) {
        .login-card { padding: 2rem 1.5rem 1.5rem; border-radius: 16px; }
    }

/* ---- "Forgot password" additions ---------------------------------------------------------------- */
.forgot-row { display: flex; justify-content: flex-end; margin-top: -0.35rem; }
.forgot-link {
    color: #0d3d8a; font-size: 0.82rem; font-weight: 600; text-decoration: none;
}
.forgot-link:hover { text-decoration: underline; }

.login-notice {
    display: flex; align-items: center; gap: 0.6rem;
    background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534;
    padding: 0.7rem 0.9rem; border-radius: 10px; font-size: 0.88rem; font-weight: 500; margin-bottom: 1.2rem;
}

.login-link-btn {
    background: transparent; border: 0; color: #0d3d8a; font-weight: 700; font-size: 0.85rem;
    cursor: pointer; padding: 0.4rem 0.2rem; font-family: inherit;
}
.login-link-btn:hover { text-decoration: underline; }
.login-secondary {
    display: flex; justify-content: space-between; align-items: center; margin-top: 0.75rem;
}
.login-secondary a { color: #0d3d8a; font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.login-secondary a:hover { text-decoration: underline; }

.code-input { letter-spacing: 0.35em; font-weight: 700; font-size: 1.25rem; text-align: center; }
.field-hint { color: #64748b; font-size: 0.78rem; margin-top: 0.35rem; }
