/* SchedulaCore — theme integration overrides */

/* Non disponibile: grigio tema */
.box-element.no-capacity {
    fill: #e7e9eb !important;
    opacity: 0.75;
}

/* Disponibile tutto il giorno: verde tema */
.box-element:not(.no-capacity) {
    fill: #18a689 !important;
    opacity: 0.75;
}

/* Disponibile con fasce orarie: azzurro/blu */
.box-element.has-timeslots {
    fill: #3b82f6 !important;
    opacity: 0.75;
}

/* Griglia tra celle */
.daybox-element {
    stroke: #e7e9eb;
    stroke-width: 1;
}
.box-element {
    stroke: #e7e9eb;
    stroke-width: 0.5;
}

/* Sabato / Domenica — colore splitbar */
.daybox-element.saturday {
    fill: #23303c !important;
    opacity: 0.25;
}
.daybox-element.sunday {
    fill: #23303c !important;
    opacity: 0.45;
}
.box-element:hover {
   opacity:0.55;
}
/* Header mese/giorni — sfondo tema */
.month-element,
.time-element:not(.today),
.monthbox {
    fill: #f6f7fb !important;
    stroke: #e7e9eb;
}
.time-element.sunday:not(.today) {
    fill: #eaecf0 !important;
}
.time-element.today {
    fill: #0acf97 !important;
}
.time-element-text.today {
    fill: #fff !important;
}

/* Disabilita click su tutta l'area header */
#scheduler-header {
    pointer-events: none !important;
}

/* Sidebar risorse — sfondo tema */
.sb-rbg {
    fill: #f6f7fb !important;
}
.sb-rbg-alt {
    fill: #f1f2f7 !important;
}

/* Header sidebar */
.sb-hbg {
    fill: #f1f2f7 !important;
}

/* Splitter hover — solo highlight leggero */
.splitter:hover {
    fill: #9095c2 !important;
    opacity: 0.8 !important;
}
.splitter.sizing {
    fill: #9095c2 !important;
}

/* Testo sidebar */
.res-text {
    fill: #6c757d !important;
}

/* Shifter (frecce avanti/indietro) — dentro il pannello, non al centro pagina */
#availability-scheduler {
    position: relative;
}
#availability-scheduler .shifter.svg-overlay.left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
#availability-scheduler .shifter.svg-overlay.right {
    position: absolute;
    left: auto;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Bordi header */
.month-element,
.time-element {
    stroke: #e7e9eb;
    stroke-width: 0.5;
}
