/* Container holds the video and the overlay */
.video-player {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

#live-feed {
    width: 100%;
    height: 100%;
    display: block;
}

/* The overlay bar at the bottom */
.controls-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 15px;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s;
}

/* Show controls when hovering over the player */
.video-player:hover .controls-overlay {
    opacity: 1;
}

.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

/* Style the buttons */
button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
}

button:hover {
    color: #B3CC57; /* YouTube Red */
}

.quality-btn {
    border: 1px solid white;
    border-radius: 2px;
    font-size: 11px;
}

/* Style the dropdowns to look like player settings */
.yt-select {
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 5px;
    font-size: 12px;
    outline: none;
    border-radius: 4px;
}

.volume-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
}

input[type=range] {
    cursor: pointer;
    accent-color: #B3CC57;
}