/* Common styles */

.video-container {
    position: relative;
    width: 100%;
    background: #000;
}

.video-container video {
    width: 100%;
    height: auto;
}


/* Scoreboard overlay */

.scoreboard-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-family: 'Arial', sans-serif;
    text-align: center;
    min-width: 300px;
}

.scoreboard-overlay .teams {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.scoreboard-overlay .scores {
    display: flex;
    justify-content: space-between;
    font-size: 2em;
    font-weight: bold;
}

.scoreboard-overlay .period {
    margin-top: 5px;
    font-size: 1.2em;
}


/* Grid layout for playback */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}


/* Control panel */

.control-panel {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}


/* Moderator controls */

.scoreboard-controls {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.scoreboard-controls .form-group {
    margin-bottom: 15px;
}


/* Fullscreen mode */

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #000;
}

.fullscreen video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}