/* BB Booking — theme-adaptive base styles.
   All colors inherit from the parent. Override these CSS variables in
   Elementor → Custom CSS to brand the widget:

   .bb-booking-widget {
       --bb-accent: #b58105;       (filled button background)
       --bb-accent-text: #fff;     (filled button text)
       --bb-radius: 6px;
       --bb-gap: 10px;
   }
*/
.bb-booking-widget {
    --bb-accent: currentColor;
    --bb-accent-text: #fff;
    --bb-radius: 6px;
    --bb-gap: 10px;
    --bb-border-opacity: 0.35;
    --bb-hover-bg: rgba(127, 127, 127, 0.12);

    max-width: 560px;
    margin: 0 auto;
    font-family: inherit;
    color: inherit;
}
.bb-booking-widget * { box-sizing: border-box; }

.bb-booking-widget .bb-intro {
    margin: 0 0 1.25em;
    opacity: 0.8;
    font-size: 0.95em;
}
.bb-booking-widget .bb-heading {
    margin: 0 0 1em;
    font-size: 1.15em;
    font-weight: 600;
    color: inherit;
    line-height: 1.3;
}
.bb-booking-widget .bb-tz {
    font-size: 0.72em;
    opacity: 0.7;
    font-weight: 400;
    margin-left: 6px;
}

.bb-booking-widget .bb-dates,
.bb-booking-widget .bb-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--bb-gap);
}

.bb-booking-widget .bb-date-btn,
.bb-booking-widget .bb-slot-btn {
    padding: 12px 10px;
    background: transparent;
    border: 1px solid;
    border-color: currentColor;
    color: inherit;
    border-radius: var(--bb-radius);
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    text-align: center;
    opacity: 0.75;
    transition: opacity .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.bb-booking-widget .bb-date-btn:hover,
.bb-booking-widget .bb-slot-btn:hover {
    opacity: 1;
    background-color: var(--bb-hover-bg);
    box-shadow: inset 0 0 0 1px currentColor;
}

.bb-booking-widget .bb-selected-date,
.bb-booking-widget .bb-selected-when {
    margin: 0 0 14px;
    padding: 8px 12px;
    background: var(--bb-hover-bg);
    border-radius: var(--bb-radius);
    font-size: 14px;
    opacity: 0.9;
}

.bb-booking-widget .bb-form {
    display: flex;
    flex-direction: column;
    gap: var(--bb-gap);
    margin-bottom: 12px;
}
.bb-booking-widget .bb-form input,
.bb-booking-widget .bb-form textarea {
    padding: 10px 12px;
    background: transparent;
    border: 1px solid;
    border-color: currentColor;
    border-radius: var(--bb-radius);
    color: inherit;
    font-size: 15px;
    font-family: inherit;
    width: 100%;
    opacity: 0.85;
    transition: opacity .15s ease, box-shadow .15s ease;
}
.bb-booking-widget .bb-form input::placeholder,
.bb-booking-widget .bb-form textarea::placeholder {
    color: inherit;
    opacity: 0.55;
}
.bb-booking-widget .bb-form input:focus,
.bb-booking-widget .bb-form textarea:focus {
    outline: none;
    opacity: 1;
    box-shadow: inset 0 0 0 1px currentColor;
}
.bb-booking-widget .bb-form textarea {
    min-height: 90px;
    resize: vertical;
}

.bb-booking-widget .bb-submit {
    padding: 12px;
    background: var(--bb-accent);
    color: var(--bb-accent-text);
    border: none;
    border-radius: var(--bb-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: filter .15s ease;
}
.bb-booking-widget .bb-submit:hover { filter: brightness(1.1); }
.bb-booking-widget .bb-submit:disabled { opacity: .6; cursor: not-allowed; }

.bb-booking-widget .bb-back {
    margin-top: 10px;
    background: none;
    border: none;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
    padding: 6px 0;
    font-size: 13px;
    font-family: inherit;
    transition: opacity .15s ease;
}
.bb-booking-widget .bb-back:hover { opacity: 1; }

.bb-booking-widget .bb-empty,
.bb-booking-widget .bb-loading {
    opacity: 0.65;
    font-size: 14px;
    margin: 0;
    grid-column: 1 / -1;
}
.bb-booking-widget .bb-step-success {
    text-align: center;
    padding: 20px 0;
}
