﻿/* =========================================================
   Shelvera web authentication flows
   Extends the existing login-shell design for:
   Sign Up, Confirm Email, Forgot Password and Reset Password.
   ========================================================= */

.login-shell .auth-secondary-copy {
    margin: 0;
    max-width: 34rem;
    color: var(--sv-login-text-soft);
    font-size: .94rem;
    line-height: 1.7;
}

.login-shell .auth-benefits {
    display: grid;
    gap: .8rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--sv-login-text-soft);
}

    .login-shell .auth-benefits li {
        position: relative;
        padding-left: 1.8rem;
        line-height: 1.55;
    }

        .login-shell .auth-benefits li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.2rem;
            height: 1.2rem;
            margin-top: .12rem;
            border-radius: 50%;
            background: rgba(75, 99, 255, .12);
            color: var(--sv-login-accent-2);
            font-size: .76rem;
            font-weight: 800;
        }

.login-shell .auth-card .login-form-panel {
    align-items: flex-start;
}

.login-shell .auth-card-compact .login-form-panel {
    align-items: center;
}

.login-shell .auth-form-stack {
    width: 100%;
    max-width: 420px;
}

    .login-shell .auth-form-stack form {
        max-width: none;
    }

.login-shell .auth-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}

.login-shell .auth-field-hint {
    display: block;
    padding-top: .32rem;
    color: var(--sv-login-text-muted);
    font-size: .78rem;
    line-height: 1.45;
}

.login-shell .auth-code-input {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .32rem;
    text-align: center;
}

.login-shell .auth-inline-link-row {
    display: flex;
    justify-content: flex-end;
    font-size: .92rem;
    font-weight: 600;
}

.login-shell .auth-form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .34rem;
    margin-top: 1.25rem;
    color: var(--sv-login-text-soft);
    font-size: .93rem;
}

    .login-shell .auth-form-footer a,
    .login-shell .auth-inline-link-row a {
        color: var(--sv-login-accent-2);
        font-weight: 700;
    }

        .login-shell .auth-form-footer a:hover,
        .login-shell .auth-inline-link-row a:hover {
            text-decoration: underline;
        }

.login-shell .auth-form-footer-tight {
    margin-top: .8rem;
}

.login-shell .auth-secondary-form {
    margin-top: .9rem;
    text-align: center;
}

.login-shell .auth-link-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: .4rem .85rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--sv-login-accent-2);
    font-size: .92rem;
    font-weight: 700;
    transition: background-color .16s ease, color .16s ease;
}

    .login-shell .auth-link-button:hover:not(:disabled),
    .login-shell .auth-link-button:focus-visible:not(:disabled) {
        background: rgba(75, 99, 255, .08);
    }

    .login-shell .auth-link-button:disabled {
        color: var(--sv-login-text-muted);
        cursor: not-allowed;
    }

@media (max-width: 575.98px) {
    .login-shell .auth-name-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}