/* Busnet – Calendario StarsBOX (sito pubblico). Colori neutri: si adattano al tema. */
.bsb-box{margin:0 0 1.2em;padding:14px 16px;border:1px solid rgba(0,0,0,.12);border-radius:6px;max-width:100%;box-sizing:border-box;clear:both}
/* Contenitore flex del tema: il riquadro (e i campi extra) su righe separate */
.bsb-has-box{flex-wrap:wrap!important;align-items:center}
.bsb-has-box>.bsb-box{flex:0 0 100%;width:100%;margin:0 0 16px}
.bsb-has-box>.thwepo-extra-options{flex:0 0 100%;margin-bottom:12px}
.bsb-box .bsb-cal{max-width:420px}
.bsb-box .bsb-label{margin:0 0 2px;font-weight:600}
.bsb-box .bsb-label span{font-weight:400;opacity:.7}
.bsb-box .bsb-help{margin:0 0 10px;font-size:.9em;opacity:.8}
.bsb-box .bsb-preview{margin:0 0 8px;padding:4px 8px;font-size:.8em;background:#fff4d6;border-radius:4px}
.bsb-box .bsb-summary{margin:10px 0 0;font-size:.95em;line-height:1.5}
.bsb-box .bsb-summary:empty{display:none}
.bsb-box .bsb-calc{opacity:.7;font-size:.9em}
.bsb-box .bsb-link{background:none;border:0;padding:0;margin-left:6px;text-decoration:underline;cursor:pointer;color:inherit;font-size:.9em}
.bsb-box .bsb-err{color:#b32d2e}
.bsb-box .bsb-cal{margin-top:12px}
.bsb-box .bsb-msg{margin:6px 0;font-size:.9em}
.bsb-box .bsb-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.bsb-box .bsb-head strong{text-transform:capitalize}
.bsb-box .bsb-nav{min-width:36px;height:32px;padding:0;border:1px solid rgba(0,0,0,.15);border-radius:4px;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer}
.bsb-box .bsb-nav:disabled{opacity:.3;cursor:default}
.bsb-box .bsb-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.bsb-box .bsb-wd{text-align:center;font-size:.75em;font-weight:600;text-transform:capitalize;opacity:.7;padding:2px 0}
.bsb-box .bsb-day{aspect-ratio:1/1;min-height:34px;padding:0;border:1px solid rgba(0,0,0,.1);border-radius:4px;background:#fff;color:#222;font-size:.9em;cursor:pointer;line-height:1}
.bsb-box .bsb-day:hover:not(:disabled){border-color:#333}
.bsb-box .bsb-day:disabled{cursor:default;opacity:.35;background:transparent}
.bsb-box .bsb-day.bsb-busy{background:#f3dede;color:#8a1f1f;text-decoration:line-through;opacity:.8}
.bsb-box .bsb-day.bsb-busy.bsb-can-leave{text-decoration:none;opacity:1}
.bsb-box .bsb-day.bsb-range{background:#e3eef8;opacity:1}
.bsb-box .bsb-day.bsb-sel{background:#1f3b57;color:#fff;border-color:#1f3b57;opacity:1;text-decoration:none}
.bsb-box .bsb-legend{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:.8em}
.bsb-box .bsb-sw{display:inline-block;width:12px;height:12px;border:1px solid rgba(0,0,0,.15);border-radius:2px;margin-left:8px}
.bsb-box .bsb-sw:first-child{margin-left:0}
.bsb-box .bsb-sw-free{background:#fff}
.bsb-box .bsb-sw-busy{background:#f3dede}
.bsb-box .bsb-hint{margin:6px 0 0;font-size:.85em;opacity:.8}
.bsb-box .bsb-open{float:none;display:inline-block;margin:0}
.bsb-box .bsb-summary,.bsb-box .bsb-cal{clear:both}
