/* Calendar Picker Styles */
:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .month-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}
:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .month-nav button {
    background: none;
    border: none;
    font-size: 13px;
    cursor: pointer;
}

/* Fallback spacing for browsers that don't support flex gap */
@supports not (gap: 0.25rem) {
    :is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .month-nav > * {
        margin: 0 0.25rem;
    }
}
:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .month-nav select {
    font-size: 13px;
    padding: 0.2rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    background: #fff;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .month-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0,1fr));
    gap: 0.25rem;
    margin-bottom: 1rem;
    overflow: visible;
}
:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .month-grid .dow {
    text-align: center;
    font-size: 0.75rem;
    color: #666;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .date-pill {
    box-sizing: border-box;
    width: 100%;
    padding: 0.5rem;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    position: relative;
}
:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .date-pill.other {
    opacity: 0.4;
}
:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .date-pill.selected {
    color: #fff;
    background: var(--bookaro-booking-accent, #3498db);
}
:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .date-pill.range-start,
:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .date-pill.range-end {
    color: #fff;
    background: var(--bookaro-booking-accent, #3498db);
}
:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .date-pill.in-range {
    color: #fff;
    opacity: 0.5;
    background: var(--bookaro-booking-accent, #3498db);
}
:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .date-pill:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}
:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .date-pill.unavailable {
    cursor: not-allowed;
    opacity: 0.3;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .date-pill .slot-count {
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    font-size: 0.65rem;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .slots-tooltip {
    position: absolute;
    z-index: 10;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0.5rem);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    pointer-events: none;
}

