.iframe-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    backdrop-filter: blur(3px);
}

.iframe-overlay.active {
    display: block;
}

.iframe-zoomed {
    position: fixed !important;
    top: 5% !important;
    left: 5% !important;
    width: 90% !important;
    height: 90% !important;
    z-index: 9999 !important;
    margin: 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    border: 2px solid #666 !important;
    cursor: default !important;
}

.iframe-close-btn {
    position: fixed;
    top: 3%;
    right: 3%;
    width: 40px;
    height: 40px;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.iframe-close-btn.active {
    display: flex;
}

.iframe-close-btn:hover {
    transform: scale(1.1);
}

.iframe-zoom-wrapper {
    position: relative;
    width: 70%;
    height: 600px;
    margin: 20px auto 0;
    cursor: pointer;
}

.iframe-zoom-wrapper iframe {
    pointer-events: none;
}