.openVideoModal {
    margin-top: 20px;
    background-color: #ffd700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    width: 100%;
}

.openVideoModal:hover {
    background-color: #ffc107;
    color: #333;
}

.show-other-versions-wrapper {
    margin-top: 10px;
}

.show-other-versions-wrapper .openVideoModal {
    font-size: 16px;
    width: auto;
    margin-top: 10px;
}

.show-other-versions-wrapper .play-video-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 3px;
}

.toggleOtherVersions {
    cursor: pointer;
}

.toggleOtherVersions:hover {
    text-decoration: underline;
}

.emote-video-buttons {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    width: 100%;
}

.emote-video-buttons button {
    flex: 1 1 calc(50%);
    max-width: calc(50% - 10px);
}

.play-video-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
}

#video-popup-container {
    display: none;
    position: fixed;
    z-index: 996;
    width: 90%;
    max-width: 1000px;
    border-radius: 8px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#video-popup-close {
    cursor: pointer;
    position: absolute;
    right: -15px;
    top: -15px;
    z-index: 998;
    width: 35px;
    height: 35px;
    border-radius: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--ast-global-color-8);
}

#video-popup-close img {
    width: 20px;
    height: 20px;
}

#video-popup-close:hover {
    color: var(--ast-global-color-1);
}

#video-popup-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

#video-popup-video {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: none;
}

#video-popup-overlay {
    display: none;
    position: fixed;
    z-index: 995;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .emote-video-buttons button {
        flex: 1 1 100%;
        max-width: 100%;
    }
}