.tcf-calendar__desktop {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(7, 29, 73, 0.12) !important;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(7, 29, 73, 0.04);
}

.tcf-weekly-layout {
  display: grid;
  grid-template-columns: 70px minmax(980px, 1fr);
  grid-template-rows: 85px auto;
  min-width: 1066px;
}

/* Angolo vuoto in alto a sinistra */
.tcf-weekly-layout__corner {
  grid-column: 1;
  grid-row: 1;
  border-right: 1px solid rgba(7, 29, 73, 0.12);
  border-bottom: 1px solid rgba(7, 29, 73, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

/* Intestazione Riga (Giorni) */
.tcf-week-headers {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(140px, 1fr));
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border-bottom: 1px solid rgba(7, 29, 73, 0.12);
}

/* Colonna degli Orari */
.tcf-time-grid {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  border-right: 1px solid rgba(7, 29, 73, 0.12);
  background: #ffffff;
}

.tcf-time-grid__row {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid rgba(7, 29, 73, 0.08);
}

.tcf-time-grid__label {
  position: absolute;
  top: 10px;
  right: 12px;
  transform: translateY(-50%);
  display: inline-block;
  background: #ffffff;
  color: #071d49; /* Colore scuro dell'immagine */
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 4px 0;
}

/* Griglia Centrale dei Giorni */
.tcf-week-columns {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(7, minmax(140px, 1fr));
  background: #ffffff;
}

.tcf-week-day {
  border-right: 1px solid rgba(7, 29, 73, 0.08);
}

.tcf-week-day:last-child {
  border-right: none;
}

/* Cella Intestazione Giorno */
.tcf-week-day__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  border-right: 1px solid rgba(7, 29, 73, 0.08);
  position: relative;
}

.tcf-week-headers .tcf-week-day__header:last-child {
  border-right: none;
}

/* Evidenziazione Giorno Corrente (Oggi) */
.tcf-week-day__header.tcf-is-today {
  background: #fffbe6; /* Sfondo Giallo chiarissimo */
  border-left: 4px solid #fcd34d; /* Bordo Giallo a sinistra come da immagine */
}

.tcf-week-day__weekday {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.5px;
}

.tcf-week-day__date {
  font-size: 24px;
  font-weight: 700;
  color: #071D49;
}

.tcf-week-day__header.tcf-is-today .tcf-week-day__date {
  color: #1d4ed8; /* Testo Blu per il giorno di oggi */
}

/* Corpo e Linee orizzontali della Griglia Centrale */
.tcf-week-day__body {
  position: relative;
  background-image: linear-gradient(to bottom, rgba(7, 29, 73, 0.08) 1px, transparent 1px);
  background-size: 100% 75px;
  background-position: top left;
  height: 100%;
}

.tcf-week-day.tcf-is-today .tcf-week-day__body {
  background-color: rgba(254, 249, 195, 0.15); /* Sfumatura leggerissima nella colonna di oggi */
}

/* =========================================
   Stile Eventi (Match Perfetto Desktop-Mobile)
   ========================================= */
.tcf-week-event {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #112d5e 0%, #071736 100%);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
  border-top: 4px solid var(--tcf-event-color, #fcd34d);
  border-radius: 6px;
  border-left: none;
  border-right: none;
  border-bottom: none;
 border-width: 6px 0px 0px 0px !important;
}

.tcf-week-event:hover {
  filter: brightness(1.15);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.tcf-week-event__time {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-align: left;
}

.tcf-week-event__title {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  color: #ffffff;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tcf-week-event__location {
  display: none; /* Disattivato in Desktop come da screenshot */
}