/* ===== CUSTOMER AUTH (UNITED) ===== */

.customer-main-section {
    padding: 36px 0 90px;
}

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

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

.customer-auth-card.reservation-form-card {
    background: #ffffff;
    border: 1px solid rgba(198, 172, 131, 0.35);
    box-shadow: 0 16px 30px rgba(45, 32, 20, 0.12);
    border-radius: 18px;
    padding: 30px;
}

.customer-auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.customer-auth-logo {
    display: inline-block;
    margin-bottom: 14px;
}

.customer-auth-logo img {
    height: 62px;
    width: auto;
    object-fit: contain;
}

.customer-auth-title {
    margin: 0;
    color: #a83232;
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.12;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.customer-auth-subtitle {
    margin: 10px 0 0;
    color: #5f4c38;
    font-size: 14px;
}

.customer-auth-form .form-group {
    margin-bottom: 16px;
}

.customer-auth-form .form-group:last-of-type {
    margin-bottom: 0;
}

.customer-auth-form .form-label,
.customer-auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #7a5b34;
    font-size: 14px;
    font-weight: 600;
}

.customer-auth-form .form-control,
.customer-auth-form .form-select,
.customer-auth-form input,
.customer-auth-form select,
.customer-auth-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(198, 172, 131, 0.42);
    background: #fffdf8;
    color: #1b150f;
    padding: 11px 14px;
    font-size: 14px;
    line-height: 1.3;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.customer-auth-form input::placeholder,
.customer-auth-form textarea::placeholder {
    color: #9a8572;
}

.customer-auth-form .form-control:focus,
.customer-auth-form .form-select:focus,
.customer-auth-form input:focus,
.customer-auth-form select:focus,
.customer-auth-form textarea:focus {
    border-color: #a83232;
    box-shadow: 0 0 0 3px rgba(168, 50, 50, 0.14);
    outline: 0;
}

.customer-auth-form .password-input-wrapper {
    position: relative;
}

.customer-auth-form .password-input-wrapper input {
    padding-inline-end: 44px;
}

.customer-auth-form .password-toggle {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #71553a;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.customer-auth-form .password-toggle:hover {
    background: rgba(198, 172, 131, 0.2);
    color: #a83232;
}

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

.customer-auth-form .form-note,
.customer-auth-form small {
    display: block;
    margin-top: 5px;
    color: #8b745f;
    font-size: 12px;
}

.customer-auth-card.reservation-form-card .text-muted,
.customer-auth-card.reservation-form-card .form-text,
.customer-auth-card.reservation-form-card small {
    color: #7d6853 !important;
}

.customer-auth-card.reservation-form-card .form-control,
.customer-auth-card.reservation-form-card .form-select,
.customer-auth-card.reservation-form-card input,
.customer-auth-card.reservation-form-card select,
.customer-auth-card.reservation-form-card textarea {
    min-height: 44px;
    color: #1b150f !important;
    background: #fffdf8 !important;
    border-color: rgba(198, 172, 131, 0.42) !important;
}

.customer-auth-card.reservation-form-card .form-control::placeholder,
.customer-auth-card.reservation-form-card textarea::placeholder,
.customer-auth-card.reservation-form-card input::placeholder {
    color: #9a8572 !important;
}

.customer-auth-form .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 4px;
    color: #5f4c38;
    font-size: 13px;
}

.customer-auth-form .remember-me input {
    width: 16px;
    height: 16px;
    accent-color: #a83232;
}

.customer-auth-form .btn-submit {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: #a83232;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 18px;
    margin-top: 18px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.customer-auth-form .btn-submit:hover {
    background: #8f2929;
    transform: translateY(-1px);
}

.customer-auth-form .form-footer {
    text-align: center;
    margin-top: 18px;
    color: #5f4c38;
    font-size: 13px;
}

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

.customer-auth-form .form-footer a:hover {
    color: #8f2929;
}

.customer-auth-form .alert {
    position: relative;
    display: block;
    padding: 12px 44px 12px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.45;
    border: 1px solid transparent;
    box-shadow: 0 10px 18px rgba(33, 25, 17, 0.08);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.customer-auth-form .alert.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
}

.customer-auth-card.reservation-form-card .customer-auth-form .alert-danger {
    background: #fff3f1 !important;
    border-color: #e4aca6 !important;
    color: #7f2a2a !important;
}

.customer-auth-card.reservation-form-card .customer-auth-form .alert-success {
    background: #eef8ee !important;
    border-color: #add9ad !important;
    color: #226636 !important;
}

.customer-auth-form .alert .customer-auth-alert-message {
    display: block;
    padding-inline-end: 4px;
}

.customer-auth-form .alert .customer-auth-alert-close {
    position: absolute;
    inset-inline-end: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
}

.customer-auth-form .alert .customer-auth-alert-close:hover {
    background: rgba(0, 0, 0, 0.14);
}

.customer-auth-form .required-asterisk {
    color: #a83232;
    font-weight: 700;
}

.customer-auth-links {
    margin-top: 14px;
    text-align: center;
}

.customer-auth-links a {
    color: #a83232;
    font-size: 13px;
    text-decoration: none;
}

.customer-auth-links a:hover {
    color: #8f2929;
}

.customer-auth-password-feedback {
    display: none;
    margin-top: 5px;
    font-size: 12px;
}

.shipping-method-group {
    display: none;
}

@media (max-width: 991px) {
    .customer-main-section {
        padding: 24px 0 72px;
    }

    .customer-auth-card.reservation-form-card {
        padding: 24px 18px;
    }
}

@media (min-width: 992px) {
    .customer-auth-title {
        font-size: 34px;
    }

    .customer-auth-subtitle {
        font-size: 15px;
    }

    .customer-auth-form .form-label,
    .customer-auth-form label {
        font-size: 15px;
    }

    .customer-auth-form .form-control,
    .customer-auth-form .form-select,
    .customer-auth-form input,
    .customer-auth-form select,
    .customer-auth-form textarea {
        font-size: 15px;
        min-height: 46px;
    }
}

@media (max-width: 680px) {
    .customer-auth-form .form-row {
        grid-template-columns: 1fr;
    }

    .customer-auth-title {
        font-size: 24px;
    }

    .customer-auth-subtitle {
        font-size: 13px;
    }

    .customer-auth-form .form-label,
    .customer-auth-form label {
        font-size: 13px;
    }

    .customer-auth-form .form-control,
    .customer-auth-form .form-select,
    .customer-auth-form input,
    .customer-auth-form select,
    .customer-auth-form textarea {
        min-height: 42px;
        font-size: 13px;
    }
}
