/* Estilos específicos para el calendario mensual */
        .calendar-hero {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 120px 0 60px;
            position: relative;
            overflow: hidden;
        }
        
        .calendar-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600" opacity="0.1"><path d="M0 0h1200v600H0z" fill="none"/><path d="M0 300c150-100 300-200 450-100s300 200 450 200 300-100 450-200 300 100 450 200l150 100V600H0z" fill="white"/></svg>');
            background-size: cover;
            background-position: center;
        }
        
        .calendar-hero-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .calendar-hero-title {
            font-family: var(--font-heading);
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: var(--spacing-md);
        }
        
        .calendar-hero-title .highlight {
            color: var(--accent-color);
        }
        
        .calendar-hero-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        /* Badge mes actual */
        .current-month-badge {
            display: inline-block;
            background: rgba(255,255,255,0.2);
            padding: 5px 12px;
            border-radius: 50px;
            font-size: 0.8rem;
            margin-top: 10px;
        }
        
        /* Sección del calendario */
        .calendar-section {
            padding: var(--spacing-xxl) 0;
            background-color: var(--light-color);
        }
        
        .calendar-container {
            max-width: 1000px;
            margin: 0 auto;
            background: white;
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-lg);
            overflow: hidden;
        }
        
        /* Navegación del mes */
        .month-navigation {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: var(--spacing-lg);
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
        }
        
        .month-nav-btn {
            background: rgba(255,255,255,0.2);
            border: none;
            border-radius: 50%;
            width: 44px;
            height: 44px;
            font-size: 1.3rem;
            cursor: pointer;
            transition: all 0.3s ease;
            color: white;
        }
        
        .month-nav-btn:hover {
            background: rgba(255,255,255,0.4);
            transform: scale(1.05);
        }
        
        .current-month {
            font-family: var(--font-heading);
            font-size: 1.8rem;
            font-weight: 600;
            text-align: center;
        }
        
        .current-year {
            font-size: 1rem;
            opacity: 0.8;
            margin-left: 10px;
        }
        
        .today-indicator {
            font-size: 0.7rem;
            background: rgba(255,255,255,0.3);
            display: inline-block;
            padding: 2px 8px;
            border-radius: 20px;
            margin-left: 10px;
            vertical-align: middle;
        }
        
        /* Leyenda */
        .calendar-legend {
            display: flex;
            justify-content: center;
            gap: var(--spacing-lg);
            padding: var(--spacing-md) var(--spacing-lg);
            background: #f8fafc;
            border-bottom: 1px solid var(--gray-light);
            flex-wrap: wrap;
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
        }
        
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 4px;
        }
        
        .legend-color.event {
            background: #3b82f6;
        }
        
        .legend-color.period {
            background: #f97316;
        }
        
        .legend-color.holiday {
            background: #ef4444;
        }
        
        /* Grid del calendario */
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            background: white;
        }
        
        .calendar-day-header {
            text-align: center;
            padding: var(--spacing-md);
            font-weight: 700;
            background: #f1f5f9;
            color: var(--primary-color);
            border-bottom: 2px solid var(--gray-light);
        }
        
        .calendar-day {
            min-height: 120px;
            border: 1px solid var(--gray-light);
            padding: 8px;
            background: white;
            transition: all 0.2s ease;
            vertical-align: top;
            cursor: pointer;
        }
        
        .calendar-day:hover {
            background: #fef2f2;
            transform: scale(1.01);
            box-shadow: var(--shadow-sm);
            z-index: 1;
            position: relative;
        }
        
        .calendar-day.empty {
            background: #faf9fe;
            cursor: default;
        }
        
        .calendar-day.empty:hover {
            background: #faf9fe;
            transform: none;
            box-shadow: none;
        }
        
        .day-number {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 8px;
            color: var(--dark-color);
            display: inline-block;
            padding: 4px 8px;
            border-radius: 50%;
        }
        
        .calendar-day.today .day-number {
            background: var(--primary-color);
            color: white;
        }
        
        /* Eventos dentro del día */
        .day-events {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        
        .event-badge {
            font-size: 0.7rem;
            padding: 3px 6px;
            border-radius: 12px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .event-badge.event {
            background: #dbeafe;
            color: #1e40af;
        }
        
        .event-badge.period {
            background: #fff7ed;
            color: #9a3412;
            border-left: 3px solid #f97316;
        }
        
        .event-badge.holiday {
            background: #fee2e2;
            color: #b91c1c;
        }
        
        .event-badge:hover {
            transform: translateX(2px);
            filter: brightness(0.95);
        }
        
        .more-events {
            font-size: 0.65rem;
            color: var(--gray-color);
            margin-top: 4px;
            cursor: pointer;
        }
        
        /* Modal de eventos */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            background: white;
            max-width: 450px;
            width: 90%;
            border-radius: 24px;
            padding: var(--spacing-xl);
            position: relative;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            cursor: pointer;
            color: var(--gray-color);
        }
        
        .modal h3 {
            color: var(--primary-color);
            margin-bottom: var(--spacing-md);
        }
        
        .modal-event-list {
            list-style: none;
        }
        
        .modal-event-list li {
            padding: var(--spacing-sm);
            border-bottom: 1px solid var(--gray-light);
        }
        
        /* Loader */
        .loader {
            text-align: center;
            padding: var(--spacing-xl);
            color: var(--gray-color);
        }
        
        .error-message {
            background: #fee2e2;
            color: #b91c1c;
            padding: var(--spacing-md);
            border-radius: var(--border-radius);
            text-align: center;
            margin: var(--spacing-md);
        }
        
        /* Botón para volver al mes actual */
        .btn-today {
            background: white;
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
            padding: 6px 12px;
            border-radius: 40px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s;
            margin-left: 15px;
        }
        
        .btn-today:hover {
            background: var(--primary-color);
            color: white;
        }
        
        @media (max-width: 768px) {
            .calendar-day {
                min-height: 80px;
                padding: 4px;
            }
            
            .day-number {
                font-size: 0.9rem;
            }
            
            .event-badge {
                font-size: 0.6rem;
                white-space: normal;
            }
            
            .current-month {
                font-size: 1.2rem;
            }
            
            .month-nav-btn {
                width: 36px;
                height: 36px;
                font-size: 1rem;
            }
            
            .calendar-hero-title {
                font-size: 2rem;
            }
            
            .btn-today {
                display: block;
                margin: 10px auto 0;
                width: fit-content;
            }
        }
