.customer-auth {
    margin: 0 auto;
    max-width: 1160px;
}

.customer-auth__header {
    background: var(--store-primary);
    border-radius: var(--store-radius-lg);
    color: #fff;
    margin-bottom: var(--store-space-5);
    padding: clamp(var(--store-space-5), 5vw, var(--store-space-7));
}

.customer-auth__header h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1;
    margin: 0 0 var(--store-space-2);
}

.customer-auth__header p {
    color: rgba(255, 255, 255, .72);
    margin: 0;
    max-width: 620px;
}

.customer-auth__grid {
    align-items: start;
    display: grid;
    gap: var(--store-space-5);
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
}

.customer-auth-card {
    background: var(--store-surface);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius-lg);
    box-shadow: var(--store-shadow-sm);
    padding: clamp(var(--store-space-5), 4vw, var(--store-space-6));
}

.customer-auth-card__title {
    align-items: center;
    color: var(--store-text);
    display: flex;
    font-size: 1.2rem;
    font-weight: 900;
    gap: var(--store-space-2);
    margin-bottom: var(--store-space-2);
}

.customer-auth-card__text,
.customer-auth-note {
    color: var(--store-text-muted);
}

.customer-auth-card__text {
    margin-bottom: var(--store-space-4);
}

.customer-auth-section {
    border-top: 1px solid var(--store-border);
    margin-top: var(--store-space-5);
    padding-top: var(--store-space-5);
}

.customer-auth-section:first-of-type {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.customer-auth-section__title {
    color: var(--store-text);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: var(--store-space-3);
    text-transform: uppercase;
}

.customer-auth .form-control,
.customer-auth .form-select {
    background: var(--store-surface-soft);
    border-color: var(--store-border);
    border-radius: var(--store-radius-md);
    min-height: 48px;
}

.customer-auth .form-control:focus,
.customer-auth .form-select:focus {
    border-color: var(--store-primary);
    box-shadow: 0 0 0 .2rem rgba(17, 24, 39, .12);
}

.customer-password-field {
    position: relative;
}

.customer-password-field .form-control {
    padding-right: 3rem;
}

.customer-password-toggle {
    background: transparent;
    border: 0;
    color: var(--store-text-muted);
    min-height: 2.25rem;
    min-width: 2.25rem;
    position: absolute;
    right: .4rem;
    top: 50%;
    transform: translateY(-50%);
}

.customer-auth-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: var(--store-space-3);
    justify-content: space-between;
    margin-top: var(--store-space-4);
}

.customer-auth-actions .btn {
    border-radius: var(--store-radius-pill);
    font-weight: 900;
    min-height: 46px;
    min-width: 160px;
}

.customer-auth-note {
    font-size: .9rem;
}

@media (max-width: 991.98px) {
    .customer-auth__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .customer-auth__header,
    .customer-auth-card {
        padding: var(--store-space-5);
    }

    .customer-auth-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-auth-actions .btn,
    .customer-auth-actions a {
        text-align: center;
        width: 100%;
    }
}
