﻿/* ============================
   TEAMS SCOREBOARD
   ============================ */
.teams-scoreboard-container {
    justify-content: center;
    width: 90%;
    margin: 0 auto;
}

.teams-scoreboard {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    color: white;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}
.teams-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.team-pair,
.team-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2a2a2a;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}

.team-name {
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.4rem);
}

.team-score {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: #28a2a2;
    font-weight: bold;
    margin-left: 2px;
}





/* ============================
   TEAMS COLUMNS
   ============================ */
.team-column {
    background: #1e1e1e;
    padding: 15px;
    padding-top: 10px;
    border-radius: 8px;
    border: 1px solid #333;
    color: #ffffff;
}
    .team-column h2 {
        color: #ffffff;
        margin-bottom: 10px;
        margin-top: 0;
        font-size: 1.3rem;
        border-bottom: 1px solid #333;
        padding-bottom: 6px;
        text-align: center;
    }

.team-list {
    display: flex;
    flex-direction: column;
}





/* ============================
   ATHLETES
   ============================ */

.athlete-card {
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #2a2a2a;
    border-radius: 4px;
    border: 1px solid #444;
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    /*cursor: pointer;*/
}

    .athlete-card.updated {
        animation: updatePulse 1.2s ease-out;
    }

.athlete-card {
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.athlete-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}

.athlete-rank {
    flex-shrink: 0;
    font-weight: bold;
    margin-right: 4px; /* ← add this */
}


.athlete-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .athlete-link:hover {
        color: #28a2a2;
    }



.points {
    color: #28a2a2;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.score-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.division-marker {
    color: #28a2a2;
    font-weight: 600;
    opacity: 0.9;
}

division.title = a.division;

