/**
 * Plugin Style Isolation
 * Targeted overrides to prevent WordPress theme interference.
 * Uses !important sparingly — only where themes are known to break layout.
 */

/* Box-sizing reset */
.rtb-booking-form,
.rtb-booking-form *,
.rtb-booking-form *::before,
.rtb-booking-form *::after {
    box-sizing: border-box !important;
}

/* Font family — inherit from the restaurant's site */
.rtb-booking-form {
    font-family: inherit;
}

/* Labels: prevent theme from clipping text */
.rtb-booking-form label,
.rtb-booking-form .rtb-booking-form__label {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: 100% !important;
}

/* Select: fix vertical alignment */
.rtb-booking-form select,
.rtb-booking-form .rtb-booking-form__select {
    line-height: normal;
    min-height: 44px;
}

/* Buttons: fix vertical text alignment */
.rtb-booking-form button,
.rtb-booking-form .rtb-booking-form__submit,
.rtb-booking-form .rtb-wizard-next,
.rtb-booking-form .rtb-wizard-prev {
    line-height: 1;
    vertical-align: middle;
}

/* Inputs: prevent theme line-height from pushing text */
.rtb-booking-form input,
.rtb-booking-form .rtb-booking-form__input {
    line-height: normal;
}
