/* ========================
   CALENDAR GENERAL
   ======================== */
.main-box .fc {
    margin-top: 15px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

/* ========================
   CABECERA MODERNA MINIMALISTA - CENTRADA Y RESPONSIVE
   ======================== */
.fc-header {
    background: none;
    border: none;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #122b3e;
    gap: 8px; /* espacio entre título y botones */
}

.fc-header h2 {
    margin: 0;
    font-weight: 600;
    font-size: 1.3em;
    color: #122b3e;
    text-align: center;
}

.fc-header .fc-button-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap; /* para que los botones bajen en pantallas pequeñas */
    justify-content: center;
}

.fc-header .fc-button {
    background: #f7f7f7;
    border: 1px solid #ccc;
    color: #122b3e;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.2s ease-in-out;
    min-width: 60px;
    text-align: center;
}

.fc-header .fc-button:hover {
    background: #3498db;
    color: #FFF;
    border-color: #2980b9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.fc-header .fc-button:active {
    background: #2980b9;
    color: #FFF;
}

/* ========================
   GRID DE DIAS
   ======================== */
.fc-widget-header {
    background: none;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    font-weight: 500;
    font-size: 0.95em;
    padding: 8px 0;
}

.fc-grid .fc-day-number {
    font-size: 0.85em;
    font-weight: 500;
    color: #122b3e;
    padding: 4px;
}

.fc-grid .fc-state-highlight .fc-day-number {
    color: #FFF;
}

/* ========================
   EVENTOS
   ======================== */
.fc-event {
    background: #3498db;
    border: none;
    border-radius: 6px;
    color: #FFF;
    font-size: 0.9em;
    padding: 2px 6px;
    margin: 1px 0;
    cursor: pointer;
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fc-event:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.fc-state-highlight {
    background-color: #f1c40f; /* días destacados */
}

/* ========================
   EXTERNAL EVENTS
   ======================== */
.external-event {
    color: #FFF;
    cursor: pointer;
    font-size: 0.85em;
    margin: 5px 0;
    padding: 3px 8px;
    border-radius: 4px;
}

/* ========================
   CONTENT Y CELDAS
   ======================== */
.fc-content {
    margin-top: 10px;
}

.fc-widget-content {
    border: 1px solid #e7ebee;
    height: 60px;
    background: #fafafa;
}

/* ========================
   EVENTOS HORIZONTALES Y VERTICALES
   ======================== */
.fc-ltr .fc-event-hori.fc-event-start, 
.fc-rtl .fc-event-hori.fc-event-end {
    border-radius: 6px;
}

.fc-event-vert.fc-event-end,
.fc-event-vert.fc-event-start {
    border-radius: 4px;
}

/* ========================
   MEDIA QUERIES PARA RESPONSIVE
   ======================== */
@media (max-width: 600px) {
    .fc-header h2 {
        font-size: 1.1em;
    }
    .fc-header .fc-button {
        padding: 3px 6px;
        font-size: 0.8em;
        min-width: 50px;
    }
}
