/* ==========================================================================
   Jair Transportation — Booking form UI tweaks
   - Hide QuanticaLabs footer credit on booking form
   - Compact cookie notice on mobile so it does not cover booking form
   ========================================================================== */

/* --- Hide plugin branding on customer-facing booking form ----------------- */
.chbs-copyright {
    display: none !important;
}

/* --- Cookie notice: compact mobile treatment ------------------------------ */
@media (max-width: 767px) {
    #cookie-notice.cookie-notice {
        width: auto !important;
        max-width: calc(100vw - 20px) !important;
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #cookie-notice.cookie-notice .inner_box {
        padding: 10px 12px !important;
        border-radius: 8px !important;
    }

    /* Keep description and Accept button on a single row */
    #cookie-notice.cookie-notice .d-flex {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    #cookie-notice.cookie-notice p {
        font-size: 12px !important;
        line-height: 1.35 !important;
        letter-spacing: 0.2px !important;
        margin: 0 !important;
        flex: 1 1 auto;
    }

    #cookie-notice.cookie-notice button,
    #cookie-notice.cookie-notice button#accept-cookies {
        padding: 6px 12px !important;
        font-size: 12px !important;
        white-space: nowrap;
        flex: 0 0 auto;
        line-height: 1.2 !important;
    }
}

/* Slightly narrower on very small screens (older/small phones) */
@media (max-width: 380px) {
    #cookie-notice.cookie-notice p {
        font-size: 11px !important;
    }
    #cookie-notice.cookie-notice button,
    #cookie-notice.cookie-notice button#accept-cookies {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }
}
