.pay-process {
    display: block;
    background: var(--white);
}

.pay-process-container {
    display: flex;
    justify-content: space-between;
}

.pay-process-content {
    width: 60.39vw;
}

.check-button {
    cursor: pointer;
    width: 1.2vw;
}

@media (max-width: 768px) {
    .pay-process {
        padding: 4vw 3vw;
    }

    .pay-process .regular-12.gray.mb-8 {
        height: 3vw;
    }

    .pay-process-container {
        display: block;
    }

    .pay-process-content {
        width: 100%;
        margin-top: 15vw;
    }

    .cambiar-tarifa {
        margin-bottom: 3.7vw;
    }

    .pay-info-h {
        margin-top: 4.8vw;
    }

    .pay-process-content .bold-16.gray.mb-16 {
        height: 4vw;
    }

    .pay-process-content .check-button {
        width: 3.2vw;
        height: 3.2vw;
        margin-right: 2.5vw;
    }

    #btn-pay-process {
        width: 100%;
        height: 10vw;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 2vw;
    }
}

@media (min-width: 1400px) {
    .pay-process {
        transform: scale(0.8);
        transform-origin: top center;
        padding: 3vw 7.2vw;
        margin-bottom: -14vw;
    }
}

/* 
    @@ Nuevo CSS
*/

.booking-form-component {
    font-family: "Poppins Regular";
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card Base Style */
.form-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e6e3;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e6e3;
}

.section-header svg {
    width: 20px;
    height: 20px;
    stroke: #6b5d4f;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #6B7A5A;
}

.selected-schedule-card {
    border: 1px solid #E5DDD5;
    background: #F5F1ED;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.selected-schedule-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 8px;
}

.selected-schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.selected-schedule-label {
    font-size: 13px;
    color: #6b6b6b;
}

.selected-schedule-value {
    font-size: 13px;
    color: #6B7A5A;
    font-weight: 500;
    text-align: right;
}

/* Payment Summary */
.payment-summary {
    border: 1px solid #E5DDD5;
    background: #F5F1ED;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #6B7A5A;
}

.summary-row,
.summary-row.header {
    margin-bottom: 4px;
}

.summary-row span {
    color: #6B7A5A;
    font-weight: 400;
}

.summary-row.total {
    border-top: 1px solid #e8e6e3;
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 600;
    color: #6B7A5A;
    font-size: 15px;
}

.changes-policy-box {
    border: 1px solid #E5DDD5;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 25px 1px 25px 25px;
    margin-bottom: 24px;
}

.changes-policy-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border: 0;
    background: transparent;
    width: 100%;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.changes-policy-title {
    color: #6B7A5A;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 400;
    font-family: 'Redtone', sans-serif;
}

.changes-policy-icon {
    width: 16px;
    height: 16px;
    color: #B5B5B5;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.changes-policy-content {
    color: #6B7A5A;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: -0.3125px;
    width: 662px;
    max-width: calc(100% - 24px);
    margin: 22px auto 0;
    font-weight: 400;
    font-family: 'Redtone', sans-serif;
}

.changes-policy-box.is-expanded .changes-policy-icon {
    transform: rotate(180deg);
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group.inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #2d2d2d;
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E5DDD5;
    border-radius: 8px;
    font-size: 14px;
    font-family: "Poppins Regular";
    color: #717182;
    background: #F3F3F5;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #6b5d4f;
    background: white;
}

.form-input::placeholder {
    color: #a0a0a0;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Guest Information Section */
.guest-section {
    margin-bottom: 32px;
}

.section-description {
    font-size: 13px;
    color: #6b6b6b;
    margin-bottom: 24px;
    line-height: 1.5;
}

.guest-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 16px;
    display: block;
}

.additional-guest-card {
    background: #F5F1ED;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.guest-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #6b6b6b;
    margin-bottom: 16px;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #6B7A5A;
    border-radius: 4px;
    border: 1px solid #030213;
    background: #6B7A5A;
}

.checkbox-label {
    font-size: 13px;
    color: #2d2d2d;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label a {
    color: #6b5d4f;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.required-indicator {
    color: #d32f2f;
    margin-left: 2px;
}

/* Special Offer Box */
.payment-offer-box {
    background: #F5F1ED;
    border: 1px solid #E5DDD5;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.offer-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 4px;
}

.offer-description {
    font-size: 12px;
    color: #6b6b6b;
    line-height: 1.4;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    flex: 1;
    padding: 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Redtone', sans-serif;
}

.btn-back {
    background: white;
    color: #2d2d2d;
    border: 2px solid #e8e6e3;
}

.btn-back:hover {
    border-color: #6b5d4f;
    background: #faf9f7;
}

.btn-continue {
    background: #6b5d4f;
    color: white;
    border: 2px solid #6b5d4f;
}

.btn-continue:hover {
    background: #5a4d40;
}

.btn-continue:disabled {
    background: #d0d0d0;
    border-color: #d0d0d0;
    cursor: not-allowed;
    pointer-events: none;
}

/* Loading state for submit button */
.btn-continue.loading {
    position: relative;
    pointer-events: none;
    color: transparent;
    background: #6b5d4f;
    border-color: #6b5d4f;
}

.btn-continue.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spinner 0.6s linear infinite;
}

@keyframes btn-spinner {
    to { transform: rotate(360deg); }
}

/* Inline Payment Error Banner */
.pay-error-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff5f5;
    border: 1.5px solid #e53935;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 20px;
    margin-bottom: 4px;
    animation: banner-fade-in 0.25s ease;
}

@keyframes banner-fade-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pay-error-banner__icon {
    flex-shrink: 0;
    color: #e53935;
    width: 22px;
    height: 22px;
    margin-top: 1px;
}

.pay-error-banner__icon svg {
    width: 22px;
    height: 22px;
}

.pay-error-banner__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pay-error-banner__message {
    font-size: 13.5px;
    font-weight: 600;
    color: #c62828;
    line-height: 1.4;
}

.pay-error-banner__hint {
    font-size: 12.5px;
    color: #b71c1c;
    line-height: 1.4;
    opacity: 0.85;
}

/* Error Message */
.error-message {
    font-size: 12px;
    color: #d32f2f;
    margin-top: 6px;
    display: none;
}

.form-group.error .form-input,
.form-group.error .form-select {
    border-color: #d32f2f;
}

.form-group.error .error-message {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-card {
        padding: 20px;
    }

    .changes-policy-box {
        padding: 20px 16px;
    }

    .changes-policy-header {
        gap: 12px;
        justify-content: flex-start;
    }

    .changes-policy-title {
        font-size: 15px;
        line-height: 22px;
    }

    .changes-policy-content {
        width: 100%;
        max-width: 100%;
        margin-top: 16px;
    }

    .form-group.inline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .button-group {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
    }

    .section-header {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .form-card {
        padding: 16px;
    }

    .payment-summary {
        padding: 16px;
    }

    .additional-guest-card {
        padding: 16px;
    }

    .section-header svg {
        width: 18px;
        height: 18px;
    }
}

@media (min-width: 1024px) {
    .booking-form-component {
        max-width: 860px;
    }

    .form-card {
        padding: 32px;
    }
}