/* Video Modal Isolado */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
}

.video-modal-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.video-modal-content #videoTitle {
    text-align: center;
    font-size: 20px;
    color: #053970;
    margin-bottom: 10px;
    font-weight: 600;
}

.video-modal-content iframe {
    width: 100%;
    height: 450px;
    border-radius: 6px;
}

.video-modal-content #videoError {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #df1529;
    font-size: 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 6px;
}

.video-modal-content button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0ea2bd;
    color: white;
    border: none;
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
}

.video-modal-content button:hover {
    background: #087a8e;
}

.video-modal-content #prevVideoBtn {
    left: 10px;
}

.video-modal-content #nextVideoBtn {
    right: 10px;
}

.video-modal-content #closeVideoModal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #053970;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.video-modal-content #closeVideoModal:hover {
    color: #25D366;
}

@media (max-width: 991px) {
    .video-modal-content {
        width: 95%;
        padding: 15px;
    }

    .video-modal-content iframe {
        height: 350px;
    }

    .video-modal-content #videoTitle {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .video-modal-content {
        width: 98%;
        padding: 10px;
    }

    .video-modal-content iframe {
        height: 250px;
    }

    .video-modal-content #videoTitle {
        font-size: 16px;
    }

    .video-modal-content button {
        font-size: 18px;
        padding: 6px 10px;
    }

    .video-modal-content #closeVideoModal {
        font-size: 25px;
        top: 8px;
        right: 12px;
    }
}

@media (max-width: 576px) {
    .video-modal-content iframe {
        height: 200px;
    }

    .video-modal-content #videoTitle {
        font-size: 14px;
    }

    .video-modal-content button {
        font-size: 16px;
        padding: 5px 8px;
    }
}