
    /* Fade-in animation for the main container */
    .fade-in {
        opacity: 0;
        animation: fadeIn 1s ease-in-out forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-section {
        background: linear-gradient(90deg,
                rgba(53, 67, 147, 0.92) 26%,
                rgba(74, 172, 196, 0.92) 69%);
        color: white;
        padding: 4rem 2rem;
        border-radius: 20px;
        margin-bottom: 3rem;
        box-shadow: 0 10px 30px rgba(0, 142, 167, 0.1);
    }

    .eph-section {
        background: linear-gradient(90deg,
                #e7b725 26%,
                #ba4d40 69%);
        color: white;
        padding: 0.5rem;
        border-radius: 20px;
        margin-bottom: 3rem;
        box-shadow: 0 10px 30px rgba(0, 142, 167, 0.1);
    }

    .data-section {
        background: url('@datosMes.Imagen') center center/cover no-repeat;
        color: white;
        padding: 2rem;
        border-radius: 20px;
        margin-bottom: 3rem;
        box-shadow: 0 10px 30px rgba(0, 142, 167, 0.1);
        position: relative;
        overflow: hidden;
    }

    .data-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

    .data-section>* {
        position: relative;
        z-index: 2;
    }

    /* Alternative Data Section Styling */
    .data-section-alternative {
        background: linear-gradient(135deg, #494949 60%, #d4d8eb 100%);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
        transition: all 0.3s ease;
    }

    .data-section-alternative:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    }

    .data-section-content {
        display: flex;
        align-items: center;
        min-height: 200px;
    }

    .data-section-image {
        flex: 0 0 250px;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 10px;
        margin-right: 1rem;
        max-height: 180px;
    }

    .data-section-image:hover {
        transform: scale(1.03);
    }

    .data-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    .image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .data-section-image:hover .image-overlay {
        opacity: 1;
    }

    .overlay-content {
        color: white;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .overlay-content i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        display: block;
    }

    .data-section-info {
        flex: 1;
        padding: 2rem;
        color: white;
    }

    .data-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .data-actions {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .btn-action {
        padding: 0.75rem 1.5rem;
        font-weight: 600;
        border-radius: 10px;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }

    .btn-action:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .btn-primary {
        background: linear-gradient(45deg, #008ea7, #00bcd4);
        border: none;
    }

    .btn-primary:hover {
        background: linear-gradient(45deg, #006d80, #008ea7);
        color: white;
    }

    .btn-outline-light {
        border: 2px solid white;
        color: white;
        background: transparent;
    }

    .btn-outline-light:hover {
        background: white;
        color: #667eea;
    }

    /* Responsive Design */
    @media(max-width: 768px) {
            .data-section-content {
                flex-direction: column;
            }

            .data-section-image {
                flex: none;
                width: 100%;
            }

            .data-section-info {
                padding: 1.5rem;
                text-align: center;
            }

            .data-actions {
                justify-content: center;
            }

            .data-title {
                font-size: 1.5rem;
            }
        }

        .content-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            height: 100%;
            transition: transform 0.3s ease;
        }

        .content-card:hover {
            transform: translateY(-5px);
        }

        .card-header-modern {
            background: linear-gradient(45deg, #f8f9fa, #ffffff);
            border-bottom: 1px solid #dee2e6;
            padding: 1.5rem;
            border-radius: 15px 15px 0 0;
        }

        .card-header-modern h5 {
            color: #2c3e50;
            font-weight: 600;
        }

        .btn-link {
            color: #008ea7;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .btn-link:hover {
            color: #006d80;
        }

        .event-list,
        .informe-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .event-item {
            display: flex;
            gap: 1rem;
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .event-item:hover {
            background: #f1f9fb;
        }

        .event-date {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-width: 60px;
            background: linear-gradient(45deg, #008ea7, #a8e5f0);
            color: white;
            border-radius: 8px;
            padding: 0.5rem;
        }

        .event-date .day {
            font-size: 1.5rem;
            font-weight: 700;
            line-height: 1;
        }

        .event-date .month {
            font-size: 0.8rem;
            text-transform: uppercase;
        }

        .event-content {
            flex: 1;
        }

        .event-title {
            margin: 0 0 0.5rem 0;
            color: #2c3e50;
        }

        .event-description {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .informe-item {
            display: flex;
            gap: 1rem;
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .informe-item:hover {
            background: #f1f9fb;
        }

        .informe-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            background: linear-gradient(45deg, #008ea7, #a8e5f0);
            color: white;
            border-radius: 10px;
            font-size: 1.5rem;
        }

        .informe-content {
            flex: 1;
        }

        .informe-title {
            margin: 0 0 0.5rem 0;
            color: #2c3e50;
        }

        .informe-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.5rem;
        }

        .badge {
            padding: 0.5rem 1rem;
            border-radius: 6px;
            font-weight: 500;
        }

        @media(max-width: 768px) {
                .hero-section {
                    padding: 2rem 1rem;
                }

                .event-item,
                .informe-item {
                    flex-direction: column;
                }

                .event-date {
                    flex-direction: row;
                    gap: 0.5rem;
                    justify-content: center;
                    width: 100%;
                }

                .informe-icon {
                    width: 100%;
                }
            }

            #calendar {
                margin: 0;
                padding: 0;
            }

            .fc {
                max-width: 100%;
                background: white;
            }

            .fc .fc-toolbar-title {
                font-size: 1.2rem;
                color: #2c3e50;
            }

            .fc .fc-button {
                background-color: #008ea7;
                border-color: #008ea7;
                font-size: 0.9rem;
            }

            .fc .fc-button:hover {
                background-color: #006d80;
                border-color: #006d80;
            }

            .fc .fc-button-primary:not(:disabled).fc-button-active,
            .fc .fc-button-primary:not(:disabled):active {
                background-color: #006d80;
                border-color: #006d80;
            }

            .fc .fc-daygrid-day.fc-day-today {
                background-color: #f1f9fb;
            }

            .fc .fc-daygrid-day-number {
                color: #2c3e50;
                text-decoration: none;
            }

            .fc .fc-event {
                cursor: pointer;
                border-radius: 4px;
                padding: 2px 4px;
            }

            .fc .fc-event:hover {
                filter: brightness(90%);
            }

            .fc .fc-day-today .fc-daygrid-day-number {
                background-color: #008ea7;
                color: white;
                border-radius: 50%;
                width: 24px;
                height: 24px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }

            .fc .fc-col-header-cell {
                background-color: #f8f9fa;
                padding: 8px 0;
            }

            .fc .fc-col-header-cell-cushion {
                color: #2c3e50;
                text-decoration: none;
                font-weight: 600;
            }

            .informe-preview {
                background: #fff;
                border-radius: 10px;
                padding: 1rem;
            }

            .pdf-preview {
                background: #f8f9fa;
                border-radius: 8px;
                overflow: hidden;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                height: 400px;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                position: relative;
            }

            .pdf-canvas {
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
                display: block;
            }



            .informe-preview {
                height: 100%;
                display: flex;
                flex-direction: column;
            }

            .informe-details {
                padding: 1rem;
                flex-shrink: 0;
            }

            .pdf-loading {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

            .spinner-border {
                width: 3rem;
                height: 3rem;
            }

            .carousel-control-prev,
            .carousel-control-next {
                width: 40px;
                height: 40px;
                background: rgba(0, 142, 167, 0.8);
                border-radius: 50%;
                top: 50%;
                transform: translateY(-50%);
                margin: 0 1rem;
            }

            .carousel-control-prev-icon,
            .carousel-control-next-icon {
                width: 20px;
                height: 20px;
            }

            .carousel-indicators {
                margin-bottom: 0.5rem;
            }

            .carousel-indicators button {
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background-color: #008ea7;
                opacity: 0.5;
            }

            .carousel-indicators button.active {
                opacity: 1;
            }

            /* Datos del Mes Carousel specific styles */
            #datosMesCarousel .carousel-indicators {
                bottom: 20px;
            }

            #datosMesCarousel .carousel-indicators button {
                width: 12px;
                height: 12px;
                border-radius: 50%;
                background-color: rgba(255, 255, 255, 0.7);
                border: 2px solid rgba(255, 255, 255, 0.3);
                margin: 0 5px;
                transition: all 0.3s ease;
            }

            #datosMesCarousel .carousel-indicators button.active {
                background-color: white;
                border-color: white;
                transform: scale(1.2);
            }

            #datosMesCarousel .carousel-control-prev,
            #datosMesCarousel .carousel-control-next {
                width: 50px;
                height: 50px;
                background: rgba(0, 0, 0, 0.5);
                border-radius: 50%;
                top: 50%;
                transform: translateY(-50%);
                margin: 0 20px;
                border: 2px solid rgba(255, 255, 255, 0.3);
                transition: all 0.3s ease;
            }

            #datosMesCarousel .carousel-control-prev:hover,
            #datosMesCarousel .carousel-control-next:hover {
                background: rgba(0, 0, 0, 0.7);
                border-color: white;
                transform: translateY(-50%) scale(1.1);
            }

            #datosMesCarousel .carousel-control-prev-icon,
            #datosMesCarousel .carousel-control-next-icon {
                width: 24px;
                height: 24px;
            }

            /* Ensure carousel items have consistent height */
            #datosMesCarousel .carousel-item {
                transition: transform 0.6s ease-in-out;
                max-height: 250px;
                min-height: 200px;
            }

            #datosMesCarousel .carousel-item .data-section-content {
                height: 200px;
                display: flex;
                align-items: center;
            }

            /* Make sure the single item and carousel items have the same height */
            .data-section-alternative .data-section-content {
                max-height: 250px;
                height: 200px;
                display: flex;
                align-items: center;
            }

            .informe-details {
                padding: 1rem;
            }

            .informe-title {
                color: #2c3e50;
                margin-bottom: 0.5rem;
            }

            .informe-meta {
                display: flex;
                align-items: center;
                gap: 1rem;
                margin-bottom: 1rem;
            }

            .btn-info {
                background-color: #008ea7;
                border-color: #008ea7;
                color: white;
                transition: all 0.3s ease;
            }

            .btn-info:hover {
                background-color: #006d80;
                border-color: #006d80;
                color: white;
            }

            .search-toggle-btn {
                background: none;
                border: none;
                color: white;
                font-size: 1.5rem;
                padding: 0.5rem 1rem;
                cursor: pointer;
                transition: transform 0.3s ease;
            }

            .search-toggle-btn:hover {
                transform: scale(1.1);
            }

            .search-container {
                background: linear-gradient(90deg,
                        rgba(53, 67, 147, 0.92) 26%,
                        rgba(74, 172, 196, 0.92) 69%);
                border-radius: 15px;
                padding: 0.5rem;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            }

            .search-box {
                margin: 0 auto;
            }

            .search-input {
                border: none;
                padding: 1rem;
                font-size: 1.1rem;
                border-radius: 8px 0 0 8px;
            }

            .search-input:focus {
                box-shadow: none;
                border-color: #008ea7;
            }

            .search-btn {
                padding: 0 1.5rem;
                border-radius: 0 8px 8px 0;
                font-weight: 500;
            }


            .form-check-input:checked {
                background-color: #008ea7;
                border-color: #008ea7;
            }

            .form-check-label {
                font-size: 0.9rem;
            }

            /* Animation for search section */
            .collapse {
                transition: all 0.3s ease-in-out;
            }

            .collapse:not(.show) {
                display: none;
            }

            #informe-carousel {
                min-height: 550px !important;
                height: 550px !important;
            }

            #ephCarousel .carousel-item img {
                max-height: 40vh !important;
                width: auto;
                object-fit: contain;
            }

            .btn-interes-float {
                margin-left: 2rem;
                background: transparent;
                border: none;
                box-shadow: none;
                color: #008ea7;
                width: 130px;
                height: 130px;
                border-radius: 16px;
                transition:
                    color 0.2s,
                    transform 0.2s,
                    box-shadow 0.2s,
                    background 0.2s;
                font-size: 1.5rem;
                text-align: center;
                margin-bottom: 10px;
                position: relative;
                overflow: visible;
                outline: none;
                cursor: pointer;
            }

            .btn-interes-float i {
                transition:
                    color 0.2s,
                    transform 0.3s;
                color: #008ea7;
                background: #eaf7fa;
                border-radius: 50%;
                padding: 18px;
                font-size: 2.5rem;
                margin-bottom: 0.5rem;
                box-shadow: 0 2px 8px rgba(0, 142, 167, 0.10);
            }

            .btn-interes-float span {
                font-size: 1.02rem;
                font-weight: 500;
                color: #008ea7;
                margin-top: 0.2rem;
                letter-spacing: 0.01em;
                transition: color 0.2s;
            }

            .btn-interes-float:hover,
            .btn-interes-float:focus {
                color: #4aacb4;
                transform: translateY(-5px) scale(1.07);
                box-shadow: 0 6px 18px rgba(0, 142, 167, 0.13);
                background: rgba(74, 172, 196, 0.07);
                text-decoration: none;
            }

            .btn-interes-float:hover i,
            .btn-interes-float:focus i {
                color: #4aacb4;
                background: #d1f0f6;
                transform: scale(1.15) rotate(-8deg);
            }

            .btn-interes-float:hover span,
            .btn-interes-float:focus span {
                color: #4aacb4;
            }
