/* ----------------------------------------------------
   TULIPARK – PREMIUM RED & WHITE CALENDAR THEME
   ---------------------------------------------------- */

/* Contenitore generale */
.tc_calendar {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    border: 2px solid #f1f1f1;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Font generale */
.tc_calendar,
.tc_calendar * {
    font-family: "Montserrat", Arial, sans-serif !important;
}

/* Header mese */
.fc-toolbar h2 {
    color: #D62828 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 22px !important;
}

/* Pulsanti navigazione */
.fc-button {
    background: #D62828 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 8px rgba(214,40,40,0.20);
}

.fc-button:hover {
    background: #b71f1f !important;
    transform: translateY(-1px);
}

/* Giorni della settimana */
.fc-day-header {
    background: #fafafa !important;
    color: #444 !important;
    font-weight: 700 !important;
    padding: 10px 0 !important;
    border-bottom: 2px solid #ececec !important;
    text-transform: uppercase;
    font-size: 12px !important;
}

/* Celle del calendario */
.fc-day {
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    transition: all 0.2s ease-in-out;
}

/* Hover celle */
.fc-day:hover {
    background: #fff5f5 !important;
    border-color: #D62828 !important;
}

/* Numeri giorni */
.fc-day-number {
    font-weight: 600 !important;
    color: #333 !important;
    padding: 6px !important;
}

/* Evidenzia il giorno corrente */
.fc-today {
    background: #fff0f0 !important;
    border: 2px solid #D62828 !important;
}

.fc-today .fc-day-number {
    color: #D62828 !important;
    font-weight: 700 !important;
}

/* Eventi */
.fc-event {
    background: #D62828 !important;
    border: none !important;
    border-left: 4px solid #a81d1d !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 6px 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: all 0.2s ease-in-out;
}

.fc-event:hover {
    background: #b71f1f !important;
    transform: scale(1.02);
}

/* Giorno selezionato */
.fc-highlight,
.fc-state-highlight {
    background: rgba(214,40,40,0.15) !important;
    border-radius: 6px !important;
}

/* Righe */
.fc-row {
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
}

/* Link eventi */
.fc-event a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Vista responsive */
@media (max-width: 768px) {
    .fc-toolbar h2 {
        font-size: 18px !important;
    }

    .fc-button {
        padding: 5px 10px !important;
        font-size: 12px !important;
    }

    .fc-event {
        font-size: 12px !important;
    }
}