/* midias_mix.css - Estilos específicos para o sistema de vídeo */

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    border-radius: 15px;
}

.video-container {
    display: flex;
    flex-direction: column;
    max-width: 90%;
    max-height: 90%;
}

.card-video {
    width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

.video-controls {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 0 0 10px 10px;
    gap: 10px;
    flex-wrap: wrap;
}

.control-btn {
    background-color: #8B0000;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.control-btn:hover {
    background-color: #B22222;
}

.progress-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 10px;
    min-width: 200px;
}

.progress-bar {
    flex-grow: 1;
    height: 5px;
    background: #333;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.progress-bar::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    background: #FFD700;
    border-radius: 50%;
    cursor: pointer;
}

.time-display {
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.volume-icon {
    font-size: 16px;
}

.volume-slider {
    width: 80px;
    height: 5px;
    background: #333;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: #FFD700;
    border-radius: 50%;
    cursor: pointer;
}

.youtube-container {
    width: 90%;
    max-width: 800px;
    height: 70vh;
    max-height: 450px;
}

.youtube-video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

.video-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: #8B0000;
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    z-index: 3;
}

.video-close-btn:hover {
    background-color: #B22222;
}

.card-image-container {
    position: relative;
    display: inline-block;
}