#amezay-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 999999;
}

.amezay-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.amezay-popup-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    z-index: 1;
    transition: color 0.3s ease;
}

.amezay-popup-close:hover {
    color: #000;
}

.amezay-popup-video {
    margin-bottom: 20px;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    line-height: 0;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
    width: 64px;
    height: 64px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    width: 64px;
    height: 64px;
    display: block;
}

.video-wrapper.playing .play-button {
    display: none;
}

.amezay-popup-text {
    color: #333;
    line-height: 1.6;
    margin-top: 20px;
}

#video-preview {
    margin-top: 10px;
}

#video-preview video {
    max-width: 200px;
    height: auto;
}

.video-remove-btn {
    margin-left: 10px;
}
