/* =============================== */
/* BOOKING SIDEBAR                 */
/* =============================== */

.ezb-booking-box {
    width: 320px;
    margin-bottom: 32px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
}

/* TITLE */
.ezb-booking-title {
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* FIELD */
.ezb-booking-field {
    margin-bottom: 14px;
}

.ezb-booking-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
}

.ezb-booking-field input,
.ezb-booking-field select {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 10px;
}

/* PRICE */
.ezb-booking-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0;
    font-size: 0.95rem;
}

.ezb-booking-price strong {
    font-size: 1.2rem;
}

/* CTA */
.ezb-booking-cta {
    width: 100%;
    padding: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--ez-primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.ezb-booking-cta:hover {
    background: var(--ez-primary);
}

/* NOTE */
.ezb-booking-note {
    margin-top: 10px;
    font-size: 0.75rem;
    text-align: center;
    color: #0a8f3a;
}

.ezb-booking-trigger {
    padding: 12px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    cursor: pointer;
}

.ezb-booking-trigger:hover {
    border-color: var(--ez-primary);
}

.ezb-booking-value {
    font-size: 0.9rem;
    color: #333;
}

.ezb-hidden-date-input {
    position: absolute;
    height: 0;
    pointer-events: none;
    opacity: 0;
}

.ezb-booking-value.active {
    font-weight: 600;
    color: #111;
}

.flatpickr-calendar {
    margin-top: 2px !important;
}

.ezb-booking-field .flatpickr-calendar {
    margin-top: 2px !important;
}

.flatpickr-day {
    position: relative;
}

.ezb-calendar-price {
    display: block;
    margin-top: 2px;
    font-size: 0.6rem;
    line-height: 1;
    color: #0066ff;
}

.ezb-day-badge {
    margin-top: 2px;
    padding: 2px 6px;
    font-size: 0.65rem;
    color: #d97706;
    background: #fff7ed;
    border-radius: 6px;
}

.ezb-guests-panel {
    margin-top: 8px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
}

.ezb-guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ezb-guest-row small {
    display: block;
    font-size: 12px;
    color: #888;
}

.ezb-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ezb-counter button {
    width: 32px;
    height: 32px;
    font-size: 18px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.ezb-counter span {
    min-width: 20px;
    font-weight: 600;
    text-align: center;
}

.ezb-inquiry-link {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ezb-inquiry-link:hover {
    text-decoration: underline;
    color: #0066ff;
}

.ezb-booking-date-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 14px 0;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #8a5a00;
    background-color: #fff6e5;
    border: 1px solid #ffd9a0;
    border-radius: 8px;
}

.ezb-booking-date-banner-icon {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
}

.ezb-booking-date-banner-text {
    flex: 1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .ezb-searchbar-collapsed {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
        padding: 12px 16px;
        font-size: 0.95rem;
        background: #fff;
        background: var(--ez-primary);
        box-shadow: 0 2px 12px rgba(0,0,0,0.12);
        border-radius: 14px;
        border-color: var(--ez-primary) !important;
        transition: all 0.25s ease;
        color:#fff;
        cursor: pointer;
    }

    .ezb-searchbar-collapsed span {
        font-weight: normal;
    }

    .ezb-booking-sidebar {
        position: fixed;
        top: 72px;
        left: 50%;
        width: calc(100vw - 32px);
        transform: translateX(-50%);
        z-index: 9998;
    }

    .ezb-booking-box {
        width: 100%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
}
