/* Video Player Styles */
#videoPlayer {
    display: none;
    cursor: pointer; /* Show pointer cursor to indicate it's clickable */
    object-fit: cover; /* Ensure video fills the container */
    width: 100%;
    height: 100%;
}

#videoThumbnail {
    display: none;
    object-fit: cover; /* Ensure thumbnails also fill the container */
    width: 100%;
    height: 100%;
}

#playOverlay {
    display: flex;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
}

#playOverlay[style*="display: none"] {
    display: none !important;
}

#playButton {
    display: flex;
    z-index: 11;
}

/* Video button hover effects */
.video-btn {
    transition: all 0.2s ease-in-out;
}

.video-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Active video button styling */
.video-btn.active {
    background-color: #2563eb !important;
    color: white !important;
}

/* Video container focus states */
#videoPlayer:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Video player hover effect to indicate it's interactive */
#videoPlayer:hover {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* Eliminate black bars with aggressive scaling */
#videoPlayer.fill-crop {
    transform: scale(1.05);
    transform-origin: center center;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .video-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    #playButton {
        width: 5rem;
        height: 5rem;
    }
    
    #playButton svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* Medium screens */
@media (min-width: 641px) and (max-width: 1024px) {
    #playButton {
        width: 6rem;
        height: 6rem;
    }
    
    #playButton svg {
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* Large screens */
@media (min-width: 1025px) {
    #playButton {
        width: 5rem;
        height: 5rem;
    }
    
    #playButton svg {
        width: 2rem;
        height: 2rem;
    }
}
