/*
 * Login Page
 * Path: /assets/css/pages/login.css
 */

.nsog-login-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(216, 170, 53, 0.24), transparent 34%),
        linear-gradient(135deg, #061f3d 0%, #0d2f5f 52%, #031426 100%);
    color: #ffffff;
}

.nsog-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 42px;
    align-items: center;
    width: min(1180px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 48px 0;
}

.nsog-login-brand-panel {
    display: grid;
    gap: 24px;
    max-width: 680px;
}

.nsog-login-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--nsog-gold), #f2d47b);
    color: var(--nsog-navy);
    font-size: 20px;
    font-weight: 950;
    box-shadow: 0 20px 60px rgba(216, 170, 53, 0.28);
}

.nsog-login-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--nsog-gold);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nsog-login-brand-panel h1 {
    max-width: 620px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.nsog-login-brand-panel p {
    max-width: 620px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
    line-height: 1.7;
}

.nsog-login-card {
    padding: 34px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
    color: var(--nsog-text);
}

.nsog-login-card-header {
    margin-bottom: 22px;
}

.nsog-login-card-header h2 {
    margin: 0;
    color: var(--nsog-navy);
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.nsog-login-card-header p {
    margin: 8px 0 0;
    color: var(--nsog-muted);
    font-size: 14px;
    line-height: 1.5;
}

.nsog-login-card .nsog-field {
    margin-bottom: 16px;
}

.nsog-login-card .nsog-field label {
    color: var(--nsog-navy);
    font-weight: 900;
}

.nsog-login-card input {
    min-height: 48px;
}

.nsog-btn.full {
    width: 100%;
    justify-content: center;
    min-height: 50px;
    margin-top: 4px;
}

.nsog-login-footer-note {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.09);
    color: var(--nsog-muted);
    font-size: 12px;
    font-weight: 800;
}

.nsog-login-footer-note strong {
    color: var(--nsog-navy);
}

@media (max-width: 900px) {
    .nsog-login-shell {
        grid-template-columns: 1fr;
        width: min(620px, calc(100% - 36px));
    }

    .nsog-login-brand-panel {
        text-align: center;
        justify-items: center;
    }
}

@media (max-width: 560px) {
    .nsog-login-shell {
        width: min(100% - 28px, 620px);
        padding: 28px 0;
    }

    .nsog-login-card {
        padding: 24px;
        border-radius: 24px;
    }

    .nsog-login-footer-note {
        flex-direction: column;
    }
}

.nsog-login-brand-mark.has-image {
    width: auto;
    min-width: 120px;
    max-width: 260px;
    height: 86px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.96);
}

.nsog-login-brand-mark.has-image img {
    max-width: 220px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.nsog-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.nsog-password-wrap input {
    width: 100%;
    padding-right: 46px;
}

.nsog-password-toggle {
    position: absolute;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nsog-password-toggle:hover,
.nsog-password-toggle:focus {
    background: rgba(15, 23, 42, 0.08);
    color: var(--nsog-navy);
    outline: none;
}

.nsog-password-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(216, 170, 53, 0.35);
}

.nsog-eye-icon {
    width: 19px;
    height: 19px;
    fill: currentColor;
}