﻿.video-modal-iframe {
    position: fixed;
    top: 10vh; /* Fixed top margin */
    left: 50%; /* Horizontal center */
    transform: translateX(-50%); /* Perfect horizontal */
    width: 85vw; /* Responsive width */
    max-width: 1100px;
    height: 75vh;
    max-height: 650px;
    z-index: 9999;
    border: none !important;
    border-radius: 20px;
    background: transparent;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    display: none;
}

    .video-modal-iframe.active {
        display: block;
    }

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.10); /* 10% - readable */
    backdrop-filter: blur(3px); /* Minimal blur */
    z-index: 9998;
    display: none;
}

    .backdrop.active {
        display: block;
    }

/*.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

    .close:hover {
        color: #000;
    }*/

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

    .modal-content.text-center > * {
        text-align: center;
    }

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

    .close:hover {
        color: #000;
    }

.btn-close-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
}