body.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
    background:
        radial-gradient(circle at 12% 18%, rgba(94, 234, 212, 0.18), transparent 30%),
        linear-gradient(135deg, #0e1d30 0%, #173557 46%, #eef4fb 46%, #f7faff 100%);
    color: var(--text);
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(360px, 1fr);
    width: min(920px, 100%);
    min-height: 590px;
    overflow: hidden;
    border: 1px solid rgba(15, 32, 51, 0.16);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
}

.auth-showcase {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px 32px;
    color: #fff;
    background: linear-gradient(155deg, #0e1d30 0%, #173557 68%, #1d4ed8 140%);
}

.auth-showcase-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-showcase-brand .brand-mark {
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8, #5eead4);
    font-size: 1rem;
}

.auth-showcase-copy {
    max-width: 290px;
    margin: auto 0;
}

.auth-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #93c5fd;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-showcase h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.auth-showcase p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.auth-trust-list {
    display: grid;
    gap: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.auth-trust-list i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5eead4;
    box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.12);
}

.auth-layout .auth-shell {
    align-self: center;
    width: auto;
    margin: 28px;
    padding: 34px 30px;
    background: #fff;
    border: 1px solid rgba(15, 32, 51, 0.08);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.auth-layout .auth-header {
    margin-bottom: 28px;
    text-align: left;
}

.auth-layout .auth-header .brand-mark {
    width: 46px;
    height: 46px;
    margin: 0 0 20px;
    border-radius: 14px;
    background: rgba(29, 78, 216, 0.08);
    color: var(--primary);
    font-size: 1.1rem;
}

.auth-layout .auth-header h1 {
    margin-bottom: 8px;
    letter-spacing: 0;
}

.auth-alert-success {
    background: rgba(20, 128, 74, 0.08) !important;
    border-color: rgba(20, 128, 74, 0.2) !important;
    color: var(--success) !important;
}

.auth-alert-success .alert-icon {
    background: rgba(20, 128, 74, 0.14) !important;
}

.auth-layout input {
    background: #f8fafc;
    border-color: rgba(15, 32, 51, 0.12);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-layout input:hover {
    border-color: rgba(29, 78, 216, 0.28);
}

.auth-layout input:focus {
    background: #fff;
}

.auth-layout .btn-primary {
    min-height: 50px;
    border-radius: 13px;
    box-shadow: 0 12px 22px rgba(29, 78, 216, 0.2);
}

.auth-layout .bottom-link {
    padding-top: 18px;
    border-top: 1px solid rgba(15, 32, 51, 0.08);
}

@media (max-width: 720px) {
    body.auth-page {
        padding: 18px 12px;
        background: linear-gradient(160deg, #0e1d30 0%, #173557 36%, #f7faff 36%, #f7faff 100%);
    }

    .auth-layout {
        display: block;
        min-height: auto;
        border-radius: 22px;
    }

    .auth-showcase {
        min-height: 230px;
        padding: 24px 22px;
    }

    .auth-showcase-copy {
        margin: 28px 0 0;
    }

    .auth-showcase h2 {
        font-size: 1.8rem;
    }

    .auth-showcase p {
        display: none;
    }

    .auth-trust-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 18px;
        margin-top: 22px;
    }

    .auth-layout .auth-shell {
        margin: 0;
        padding: 28px 22px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
}
