.iframe-container {
    position: relative;
    padding-top: 56.25%; /* Aspect ratio for 16:9 */
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

/* Media Queries */
@media (max-width: 1600px) {
    .iframe-container {
        height: 400px !important;
    }
}

@media (max-width: 992px) {
    .iframe-container {
        height: auto !important;
        border: none;
    }
    *, html body {
        overflow: hidden !important;
    }
}

@media (max-width: 418px) {
    .iframe-container iframe {
        height: 180px !important;
    }
}

@media (max-width: 576px) {
    .iframe-container iframe {
        height: 260px !important;
    }
}

@media (max-width: 768px) {
    .iframe-container iframe {
        height: auto;
    }
}

@media (max-width: 1200px) {
    .iframe-container iframe {
        height: 400px !important;
    }
}

@media (max-width: 1600px) {
    .iframe-container iframe {
        height: 410px !important;
    }
}

/* General Styles */
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.container {
    max-width: 100%;
    overflow: hidden;
}

body {
    overflow-x: hidden; /* Disable horizontal scrolling */
}

.plyr__video-wrapper::before,
#logo-container,
.blink_me,
#error-message {
    display: none !important;
}

.error-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: auto;
    cursor: pointer;
    z-index: 1000;
}

.mbtm {
    padding-bottom: 10px !important;
}

#image-display {
    border-radius: 10px;
}

iframe body::-webkit-scrollbar {
    color: black !important;
}

#posterOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('rdassets/img/tvlogo/rokontvbg.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-align: center;
    z-index: 10;
    backdrop-filter: blur(5px);
    padding: 20px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}
