/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/

h1 {
    color: #222;
}

h1 span {
    color: inherit;
}

.players {
    display: grid;
    grid-template-columns: 1fr auto 1fr;  /* red | scores | black */
    gap: 30px;
    align-items: start;
}

.team-players {
    min-width: 0;
}

/* team separation lines stay on the inner edges, next to the score column */
.team-players.red {
    border-right: 1px solid #ddd;
    padding-right: 20px;
}

.team-players.black {
    border-left: 1px solid #ddd;
    padding-left: 20px;
}

/* the score column */
.team-scores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding-top: 0;
    white-space: nowrap;
    align-self: start;
}

.score-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* first line: red score right-aligned (toward red column) */
.score-line:first-child {
    justify-content: flex-end;
}

/* second line: black score left-aligned (toward black column) */
.score-line:last-child {
    justify-content: flex-start;
}

.score-value {
    font-size: 24px;
    font-weight: bold;
    min-width: unset;
    text-align: center;
}

.score-value {
    color: #000;
    font-size: 24px;
}
.score-value.red   {
    color: #c03939;
    font-size: 24px;
}
.score-value.black {
    color: #222;
    font-size: 24px;
}

.score-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: .05em;
}

.goal-timeline {
    width: 100%;
}

.goal-row {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.goal-red {
    text-align: right;
    padding-right: 15px;
    color: #e53935;
}

.goal-black {
    text-align: left;
    padding-left: 15px;
    color: #212121;
}

.goal-score {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}
.goal-score .red {
    color: #e53935;
}

.goal-score .black {
    color: #212121;
}

.complete-game-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}

#formCompleteGame {
    display: none;
    text-align: center;
}

#formCompleteGame span {
    display: block;
    margin-bottom: 10px;
}


