.page-customer-auth main {
    min-height: calc(100vh - 160px);
    background:
        radial-gradient(circle at 12% 12%, rgba(72, 191, 181, .16), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(52, 92, 150, .12), transparent 36%),
        linear-gradient(135deg, #f7fbfc 0%, #edf5f6 100%);
}

.ca-shell {
    min-height: calc(100vh - 160px);
    display: grid;
    place-items: center;
    padding: clamp(48px, 8vw, 100px) 20px;
}

.ca-card {
    width: min(100%, 540px);
    padding: clamp(30px, 5vw, 54px);
    border: 1px solid rgba(17, 54, 88, .1);
    border-radius: 30px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 28px 80px rgba(7, 35, 63, .14);
    backdrop-filter: blur(12px);
}

.ca-card-wide {
    width: min(100%, 620px);
}

.ca-kicker {
    margin: 0 0 10px;
    color: #278f88;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ca-card h1 {
    margin: 0;
    color: #071f3b;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.05;
}

.ca-lead {
    margin: 18px 0 30px;
    color: #607083;
    line-height: 1.75;
}

.ca-alert {
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.ca-alert-error {
    border: 1px solid #efc5ca;
    color: #9b2632;
    background: #fff1f2;
}

.ca-alert-success {
    border: 1px solid #c7e7db;
    color: #1d6c52;
    background: #eef9f5;
}

.ca-form {
    display: grid;
    gap: 20px;
}

.ca-field {
    display: grid;
    gap: 8px;
    color: #102c49;
    font-size: .94rem;
    font-weight: 750;
}

.ca-field input {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #d8e3e8;
    border-radius: 14px;
    outline: none;
    color: #14283e;
    background: #fff;
    font: inherit;
    font-weight: 500;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ca-field input:focus {
    border-color: #319b94;
    box-shadow: 0 0 0 4px rgba(49, 155, 148, .13);
}

.ca-password-wrap {
    position: relative;
    display: block;
}

.ca-password-wrap input {
    padding-right: 82px;
}

.ca-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    padding: 8px 9px;
    border: 0;
    color: #123c62;
    background: transparent;
    font: inherit;
    font-size: .85rem;
    font-weight: 800;
    cursor: pointer;
}

.ca-field-help {
    color: #718092;
    font-weight: 500;
}

.ca-field-error {
    color: #a32935;
    font-weight: 750;
}

.ca-check-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #45596e;
    font-size: .92rem;
    line-height: 1.55;
}

.ca-check-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #2f9992;
}

.ca-check-row a,
.ca-switch a {
    color: #123f67;
    font-weight: 800;
}

.ca-submit {
    min-height: 54px;
    padding: 15px 20px;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #0b3157, #1d6285);
    box-shadow: 0 14px 28px rgba(10, 49, 87, .2);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ca-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(10, 49, 87, .25);
}

.ca-submit:disabled {
    opacity: .72;
    cursor: wait;
}

.ca-switch {
    margin: 26px 0 0;
    color: #687789;
    text-align: center;
}

@media (max-width: 620px) {
    .ca-shell {
        padding: 26px 14px 50px;
    }

    .ca-card {
        padding: 30px 22px;
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ca-field input,
    .ca-submit {
        transition: none;
    }
}


.ca-alert-info {
    border: 1px solid #c9ddea;
    color: #245679;
    background: #eef6fb;
}

.ca-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #278f88, #123f67);
    font-size: 1.7rem;
    box-shadow: 0 12px 28px rgba(18, 63, 103, .18);
}

.ca-muted {
    margin: -8px 0 26px;
    color: #687789;
    line-height: 1.7;
}

.ca-switch-compact {
    margin-top: 12px;
}
