.mrc-hidden { display: none !important; }

.mrc-calendar-wrap {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
}

.mrc-calendar-header {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.mrc-calendar-title {
  font-weight: 700;
  font-size: 16px;
}

.mrc-calendar-legend {
  display: flex;
  gap: 10px;
  font-size: 13px;
  opacity: 0.9;
}

.mrc-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mrc-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
  border: 1px solid rgba(0,0,0,.12);
}

/* === COLORS (progetto) ===
   Libero:   #6e847c
   Occupato: #8b2e2c
*/
.mrc-swatch-free { background: #6e847c; }
.mrc-swatch-occupied { background: #8b2e2c; }

.mrc-swatch-partial { background: #c99e64; }
.mrc-swatch-full { background: #8b2e2c; }

.mrc-calendar-loader {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 14px;
}

.mrc-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.15);
  border-top-color: rgba(0,0,0,.55);
  animation: mrc-spin 0.8s linear infinite;
}

@keyframes mrc-spin {
  to { transform: rotate(360deg); }
}

.mrc-loader-text { font-size: 13px; opacity: 0.85; }

.mrc-calendar {
  min-height: 360px;
}

/* ===== FullCalendar styling ===== */

/* Libero come background del giorno (celle mese) */
.fc .fc-daygrid-day-frame,
.fc .fc-daygrid-day {
  background: #6e847c;
}

/* evidenzia “oggi” senza cambiare palette */
.fc .fc-daygrid-day.fc-day-today {
  outline: 2px solid rgba(0,0,0,.12);
  outline-offset: -2px;
}

/* Occupato (singolo alloggio) */
.fc .fc-bg-event.mrc-occupied {
  background: #8b2e2c;
  opacity: 1;
}

/* Globale: per ora stesso colore occupato (come richiesto) */
.fc .fc-bg-event.mrc-global-partial {
  background: #c99e64;
  opacity: 1;
}
.fc .fc-bg-event.mrc-global-full {
  background: #8b2e2c;
  opacity: 1;
}

.mrc-calendar-error {
  padding: 10px 12px;
  background: rgba(220,53,69,0.12);
  border: 1px solid rgba(220,53,69,0.25);
  border-radius: 10px;
  margin: 10px 0;
  font-size: 13px;
}

.fc .fc-daygrid-day-number {
    padding: 4px;
    position: relative;
    z-index: 4;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.fc .fc-day-today .fc-daygrid-day-number {
	color:#c99e64;
}

.fc .fc-button-primary {
    background-color: #6e847c;
    border-color: #6e847c;
    color: #fff;
}

.fc .fc-bg-event .fc-event-title {
    display:none;
}

.fc .fc-col-header-cell-cushion {
    text-decoration: none;
}

.fc .fc-day-past .fc-daygrid-day-top {
    opacity: 0.3;
}

