/* Scoped exclusively to the original TripRex tour booking form. */
.booking-form-wrap #v-pills-contact-tab,
.booking-form-wrap #v-pills-contact {
    display: none !important;
}

#tour_booking_form .trw-customer-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
    margin: 0 0 28px;
    padding: 22px;
    border: 1px solid #e7eaee;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    box-shadow: 0 10px 30px rgb(17 24 39 / 6%);
}

#tour_booking_form .trw-customer-fields__heading {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding: 0 0 2px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

#tour_booking_form .trw-customer-field {
    margin: 0;
}

#tour_booking_form .trw-customer-field__label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

#tour_booking_form .trw-customer-field__input {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid #d7dce2;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font: inherit;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#tour_booking_form .trw-customer-field__input::placeholder {
    color: #9ca3af;
}

#tour_booking_form .trw-customer-field__input:hover {
    border-color: #c4ccd6;
}

#tour_booking_form .trw-customer-field__input:focus {
    border-color: #666;
    outline: 2px solid transparent;
    box-shadow: 0 0 0 4px rgb(0 0 0 / 6%);
    transform: translateY(-1px);
}

#tour_booking_form .tour-date-wrap {
    margin-top: 2px;
}

#tour_booking_form .trw-booking-error {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #f2c5c5;
    border-radius: 10px;
    background: #fff5f5;
    color: #9c2020;
    font-size: 14px;
    line-height: 1.5;
}

#tour_booking_form .trw-booking-error[hidden] {
    display: none;
}

@media (max-width: 767px) {
    #tour_booking_form .trw-customer-fields {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 14px;
        border-radius: 14px;
    }

    #tour_booking_form .trw-customer-field__input {
        min-height: 50px;
        padding: 13px 14px;
    }
}
