/* Video Player Container */
.video-player-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #000;
    overflow: hidden;
}

/* Video Element */
.video-player {
    width: 100%;
    height: 100%;
}

/* Quality Selector */
.plyr__quality-options {
    position: absolute;
    bottom: 60px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    padding: 5px 0;
    display: block !important;
    z-index: 5;
}

.plyr__quality-option {
    color: #fff;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.plyr__quality-option:before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    background: transparent;
    border: 1px solid #fff;
}

.plyr__quality-option.active:before {
    background: var(--primary);
    border-color: var(--primary);
}

.plyr__quality-option:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary);
}

.plyr__quality-option.active {
    background: rgba(198, 164, 126, 0.2);
    color: var(--primary);
}

/* Loading Indicator */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.video-loading.show {
    display: block;
}

/* Custom Controls */
.plyr--video .plyr__controls {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
}

.plyr--full-ui input[type=range] {
    color: var(--primary);
}

.plyr__control--overlaid {
    background: var(--primary);
}

.plyr--video .plyr__control:hover {
    background: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-player-container {
        max-width: 100%;
    }
    
    .plyr__quality-options {
        bottom: 50px;
        right: 5px;
    }
    
    .plyr__quality-option {
        padding: 4px 10px;
        font-size: 12px;
    }
} 


.video-cover {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(198, 164, 126, 0.8);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 32px;
}

.play-button:hover {
    background: rgba(198, 164, 126, 1);
    transform: translate(-50%, -50%) scale(1.1);
}


.video-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
}

.video-popup-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1280px;
}

.video-popup-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
}

.video-popup-close:hover {
    color: #c6a47e;
}