/* ======== ESTILOS BASE ======== */
#calendario {
    width: 100% !important;
    overflow: hidden !important;
}

/* Encabezado del calendario */
.fc .fc-toolbar-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

/* Botones de navegación */
.fc .fc-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row-reverse;
    gap: 10px;
}

.fc .fc-button-group {
    gap: 10px;
}

.fc .fc-button-primary {
    background-color: #d31c1c;
    border-color: #d31c1c;
    color: #fff;
    padding: 2px 6px !important;
}

.fc .fc-button-primary:hover {
    background-color: #b51616;
    border-color: #b51616;
    color: #fff;
}

/* Día y número */
.fc .fc-col-header-cell-cushion {
    font-size: 14px;
}

.fc .fc-daygrid-day-number {
    font-size: 13px;
}

/* ======== EVENTOS ======== */

/* Los eventos se expanden con su contenido */
.fc-daygrid-day-frame,
.fc-daygrid-day-events {
    height: auto !important;
    overflow: visible !important;
}

/* Cada evento se comporta como bloque */
.fc-daygrid-event {
    display: block !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    height: auto !important;
}

/* Texto del evento */
.fc-event-title {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.2;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

/* Etiqueta tipo (WEBINAR, REUNIÓN, etc.) */
.uk-label {
    font-size: 0.7rem;
    border-radius: 6px;
    margin-top: 3px;
    display: inline-block;
    padding: 2px 6px;
    white-space: normal;
    word-break: break-word;
    color: #fff;
}

a {
    color: #333;
}

/* ======== ZOOM RESPONSIVE ======== */
@media (max-width: 768px) {
    .fc-event-title {
        font-size: 11px;
    }

    .uk-label {
        font-size: 10px;
        border-radius: 3px;
        padding: 1px 3px;
    }

    .fc .fc-toolbar-title {
        font-size: 16px;
    }

    .fc .fc-button .fc-icon {
        font-size: 12px;
    }

    .fc .fc-button-primary {
        padding: 1px 3px !important;
    }
}

@media (max-width: 480px) {
    .fc-event-title {
        font-size: 10px;
    }

    .uk-label {
        font-size: 8px;
        border-radius: 3px;
        padding: 1px 3px;
    }
}