/* Custom Scoreboard Styling */
.custom-scoreboard-container {
    max-width: 800px;
    margin: 0 auto;
}

.scoreboard-row {
    transition: all 0.2s ease;
}

    .scoreboard-row:hover {
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transform: translateY(-1px);
    }

.participant-name {
    border: 1px solid #ddd;
    transition: border-color 0.2s ease;
}

    .participant-name:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    }

.score-display {
    min-width: 60px;
    font-size: 1.1em;
    letter-spacing: 1px;
}

.score-btn {
    transition: all 0.15s ease;
}

    .score-btn:hover {
        transform: scale(1.05);
    }

    .score-btn:active {
        transform: scale(0.95);
    }

/* Dark mode overrides */
[data-bs-theme="dark"] .scoreboard-row:hover {
    box-shadow: 0 2px 4px rgba(255,255,255,0.05);
}

[data-bs-theme="dark"] .participant-name {
    border-color: #495057;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scoreboard-row .col-1 {
        display: none;
    }

    .scoreboard-row .col-4 {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .scoreboard-row .col-5 {
        flex: 0 0 45%;
        max-width: 45%;
    }

    .scoreboard-row .col-2 {
        flex: 0 0 15%;
        max-width: 15%;
    }
}
