.customer-auth-page {
    padding-top: 96px;
}

.customer-auth-card {
    max-width: 720px;
    padding: 2rem;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}

.customer-auth-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.customer-auth-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.customer-auth-tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.4rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    width: fit-content;
    margin-bottom: 1.5rem;
}

.customer-auth-tab {
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    color: #475569;
    font-weight: 700;
}

.customer-auth-tab.is-active {
    background: #0f172a;
    color: #fff;
}

.customer-auth-header {
    margin-bottom: 1.25rem;
}

.customer-auth-header h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.9rem, 3.6vw, 2.5rem);
    color: #0f172a;
}

.customer-auth-header p {
    margin: 0;
    color: #64748b;
}

.customer-auth-highlight,
.customer-auth-google-missing {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 1.2rem;
    margin-bottom: 1.25rem;
}

.customer-auth-highlight {
    background: rgba(244, 184, 96, 0.18);
    color: #7c4a00;
}

.customer-auth-google-missing {
    flex-direction: column;
    background: rgba(15, 23, 42, 0.05);
    color: #475569;
}

.customer-auth-google-missing span {
    color: #64748b;
}

.customer-auth-google-missing code {
    color: #0f172a;
}

.customer-auth-google-title {
    margin: 0 0 0.75rem;
    font-weight: 700;
    color: #0f172a;
}

.customer-auth-google {
    display: flex;
    justify-content: center;
    padding: 0.85rem 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.25rem;
    background: rgba(248, 250, 252, 0.8);
}

.customer-auth-divider {
    position: relative;
    text-align: center;
    margin: 1.25rem 0;
}

.customer-auth-divider::before {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.customer-auth-divider span {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    color: #64748b;
}

.customer-auth-form {
    display: grid;
    gap: 1.1rem;
}

.customer-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.customer-auth-field {
    display: grid;
    gap: 0.45rem;
}

.customer-auth-field--full {
    grid-column: 1 / -1;
}

.customer-auth-field label {
    font-weight: 700;
    color: #0f172a;
}

.customer-auth-input-wrap {
    position: relative;
}

.customer-auth-input-wrap i:first-child {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.customer-auth-input-wrap .form-control {
    min-height: 3.5rem;
    padding-left: 2.9rem;
    padding-right: 3rem;
    border-radius: 1rem;
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.96);
}

.customer-auth-input-wrap .form-control:focus {
    border-color: rgba(31, 111, 95, 0.4);
    box-shadow: 0 0 0 0.2rem rgba(31, 111, 95, 0.1);
}

.customer-auth-toggle {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #475569;
}

.customer-auth-submit {
    min-height: 3.5rem;
    border-radius: 1rem;
    font-weight: 700;
}

.customer-auth-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    color: #475569;
}

.customer-auth-footer a {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 991px) {
    .customer-auth-page {
        padding-top: 88px;
    }
}

@media (max-width: 767px) {
    .customer-auth-card {
        padding: 1.35rem;
    }

    .customer-auth-brand,
    .customer-auth-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .customer-auth-grid {
        grid-template-columns: 1fr;
    }

    .customer-auth-tabs,
    .customer-auth-tab {
        width: 100%;
    }
}
