.GameLabel{
    text-align: center;



}
.versus{

    text-align:center;


}

.teamsform2{

    text-align:center;


}

.teamnum-wrapper2{
    text-align: center;
}
.team-infobox2 {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center; /* or flex-start */
    gap: 12px;
    width: 100%;
}

.player-card2 {
    border: 1px solid #ccc;
    border-radius: 100px;
    padding: 12px;

    display: inline-flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
}

.player-card-header2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.player-card input2 {
    margin: 4px;
    width: 90px;
}

.remove-player2 {
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-weight: bold;
}

.player-stats-row2{
    display:flex;
    gap:6px;
    width: fit-content;
}

.stat-col2{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.stat-col2 label{
    font-size:12px;
    margin-bottom:2px;
}

.stat-col2 input{
    width:50px;
    text-align:center;
}


.team-totals2 {
    margin-top: 10px;
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
}

.totals-card2 {
    border: 1px solid #ccc;
    border-radius: 14px;
    padding: 12px 18px;
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    background: #f8f8f8;
}

.totals-title2 {
    font-weight: bold;
    text-align: center;
}

.totals-row2 {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.total-stat2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 55px;
}

.total-stat2 span {
    font-size: 12px;
}

.total-stat2 strong {
    font-size: 18px;
}