@charset "utf-8";
/* CSS Document */
<style>
    .popup-wrapper {
        position: fixed;
        display: none; /* Se activa por JS */
        top: 0; left: 0;
        width: 100%; height: 100%;
        background-color: rgba(0, 0, 0, 0.85);
        z-index: 100001;
        justify-content: center;
        align-items: center;
    }

    .popup-box {
        position: relative;
        background-color: white;
        padding: 30px 20px 20px 20px;
        border-radius: 12px;
        text-align: center;
        width: 90%;
        max-width: 650px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .popup-box h2 {
        font-family: 'Roboto', sans-serif;
        font-size: 1.2rem;
        font-weight: 300;
        margin-bottom: 15px;
        color: #333;
    }

    .popup-inner-carousel {
        position: relative;
        overflow: visible;
        min-height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .popup-inner-carousel img {
        display: none;
        width: 100%;
        height: auto;
        border-radius: 8px;
        animation: fadeInPopup 0.5s ease-in-out;
    }

    .popup-inner-carousel img.active { display: block; }

    @keyframes fadeInPopup { from { opacity: 0; } to { opacity: 1; } }

    .popup-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 123, 255, 0.8);
        color: white; border: none;
        padding: 8px 12px; cursor: pointer;
        border-radius: 5px; font-size: 18px;
        transition: 0.3s;
    }
    .popup-btn:hover { background-color: #007bff; }
    .popup-prev { left: 5px; }
    .popup-next { right: 5px; }

    .close-btn-icsi {
        position: absolute;
        top: -15px; right: -15px;
        background: #ff4444;
        color: white; width: 35px; height: 35px;
        border-radius: 50%; display: flex;
        justify-content: center; align-items: center;
        cursor: pointer; font-size: 22px;
        border: 2px solid white; z-index: 100;
    }

    .popup-footer-link {
        display: block;
        margin-top: 15px;
        font-family: 'Roboto', sans-serif;
        font-size: 13px;
        color: #042776;
        text-decoration: none;
    }
</style>

