/* Video Player Styles */
.myan-video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #FAEEDC;
}

/* Video preloader */
.myan-video-preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    background: #FAEEDC;
}

/* Limit the size of the Lottie animation container */
.myan-video-preloader svg {
    width: 33% !important; /* Roughly 1/3 of the original size */
    height: 33% !important; /* Roughly 1/3 of the original size */
    max-width: 100px;
    max-height: 100px;
}

/* Hide preloader when video is loaded */
.myan-video-wrapper.video-loaded .myan-video-preloader {
    display: none;
}

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

/* Play Button Styles */
.myan-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    
    cursor: pointer;
    z-index: 10;
    background-image: url('/wp-content/themes/delikatessen/dist/image/video/icon-play.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 120px 120px;
}

/* Mute Button Styles */
.myan-mute-button {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid white;
    border-radius: 30px;
    cursor: pointer;
    z-index: 10;
    color: #ffffff;
    font-size: 16px;
    line-height: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row-reverse;
}

.myan-mute-button::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('/wp-content/themes/delikatessen/dist/image/video/volume-up.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .myan-play-button {
        width: 60px;
        height: 60px;
        background-size: 50px 50px;
    }
    
    .myan-mute-button {
        padding: 6px 12px;
        font-size: 12px;
        bottom: 15px;
    }
    
    .myan-mute-button::before {
        width: 14px;
        height: 14px;
    }
} 