.sbe-widget {
    display: flex;
    gap: 12px;
    align-items: center;
    font-family: system-ui, -apple-system;
}

.sbe-input {
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    min-width: 220px;
}

.sbe-label {
    display: block;
    font-size: 11px;
    color: #666;
}

.sbe-value {
    font-size: 14px;
    font-weight: 500;
}

.sbe-button {
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.sbe-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.flatpickr-day.inRange {
    background: #eee;
    border-color: transparent;
}

.sbe-icon-button {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.sbe-icon-button .material-icons {
    font-size: 22px;
}

/* Disabled state */
.sbe-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.sbe-nights {
    margin-top: 4px;
    font-size: 12px;
    color: #666;
}

.sbe-input {
    line-height: 1.3;
}

/* ---------------------------------
   FLATPICKR FIXES (CRITICAL)
---------------------------------- */

/* Allow calendar to overflow properly */
.sbe-widget {
    position: relative;
    overflow: visible !important;
}

/* Flatpickr container */
.flatpickr-calendar {
    overflow: visible !important;
    box-sizing: border-box;
}

/* Ensure months are clickable */
.flatpickr-innerContainer,
.flatpickr-rContainer,
.flatpickr-days {
    overflow: visible !important;
}

/* Prevent second month from being visually muted */
.flatpickr-months,
.flatpickr-month {
    opacity: 1 !important;
}

/* Ensure second month is fully interactive */
.flatpickr-calendar *::before,
.flatpickr-calendar *::after {
    pointer-events: auto;
}

/* Ensure calendar sits above theme layers */
.flatpickr-calendar {
    z-index: 9999 !important;
}

/* Prevent theme transforms from breaking hover */
.sbe-widget,
.sbe-input {
    transform: none !important;
}


@media (max-width: 600px) {
    .sbe-widget {
        flex-direction: column;
        align-items: stretch;
    }
}
