/**
 * YouTube Video Modal Styles
 * Specific properties only (Base in style.css)
 */

.ccl-video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.ccl-video-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

body.ccl-video-modal-open {
    overflow: hidden;
}

.ccl-video-modal-container {
    position: relative;
    width: 90%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.ccl-video-modal-overlay.is-active .ccl-video-modal-container {
    transform: scale(1);
}

.ccl-video-modal-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.ccl-video-modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    color: #fff !important;
    z-index: 100001;
}

@media (max-width: 781px) {
    .ccl-video-modal-close {
        top: 20px;
        right: 20px;
    }
}
