/* 1. Tab Bar Block */
.detail-match .tournament-registration__section-header {
    padding: 5px 10px;
    background: #f2f4f8;
}

.detail-match .tournament-registration__section-title {
    font-size: 15px;
    line-height: 1.6;
}

.detail-match .tournament-registration__section {
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-match .tournament-registration__section-content {
    padding: 10px;
}

.content-list__header {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    border-bottom: 1px solid #f0f2f5;
    color: #333;
    background: #f2f4f8;
}

.content-list__date {
    color: #666;
    font-weight: normal;
}

.content-list__day {
    font-weight: 600;
}

.match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 10px;
    border-bottom: 1px solid #f0f2f5;
    position: relative;
}

.match-item:last-child {
    border-bottom: none;
}

.match-item__details {
    flex-grow: 1;
}

.match-item__name {
    font-size: 1em;
    font-weight: 700;
    color: #333;
    margin: 0 0 3px 0;
}
.match-item__name svg{
    width: 17px;
    height: 17px;
    margin-right: 5px
}
.match-item__status-icon svg{
    width: 23px;
    height: 23px;
}
.match-item__status {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: var(--color-main);
    font-weight: 500;
    margin: 0;
}

.match-item__status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-main);
    border-radius: 50%;
    margin-right: 5px;
}

.match-item__arrow {
    font-size: 1.2em;
    color: #bbbbbb;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.match-item__arrow svg {
    width: 16px;
    height: 16px;
}

.match-item__arrow svg polyline {
    stroke: var(--color-main) !important;
}

.match-card {
    background-color: #f9f9fb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
    padding: 10px;
    border: none;
}

.match-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.match-card__title {
    font-size: 1em;
    font-weight: 500;
    color: #333;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}

.match-card__title .icon {
    margin-right: 5px;
}

.match-card__title .icon svg {
    width: 20px;
    height: 20px;
}

.match-card__icon-action {
    color: var(--color-main);
    font-size: 1.2em;
}

.match-card__icon-action svg {
    width: 23px;
    height: 23px;
}

.team-result {
    margin-bottom: 8px;
}

.team-result__rank-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    border-radius: 50%;
    background: url(../images/icon-huy03.png) no-repeat center/contain;
}


.achievement-card__icon.is-silver {
    background: url(../images/icon-huy02.png) no-repeat center/contain;
}

.achievement-card__icon.is-gold {
    background: url(../images/icon-huy01.png) no-repeat center/contain;
}


.team-result__rank-icon--second {
    background-color: #E0E0E0;
    border: 1px solid #BDBDBD;
}

.team-result__rank-icon--third {
    background-color: #D7CCC8;
    border: 1px solid #A1887F;
}


.team-result__info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}

.team-result__rank {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.team-result__player-avatars {
    display: flex;

}

.team-result__avatar {
    width: 26px;
    height: 26px;
    background-color: #ADD8E6;
    border-radius: 50%;
    border: 1px solid white;
    margin-left: -5px;
    flex-shrink: 0;
    line-height: 0;
    overflow: hidden;
}

.team-result__avatar img {
    width: 100%;
    height: 100%;
}

.team-result__avatar:first-child {
    margin-left: 0;
}

.team-result__player-name {
    font-size: 14px;
    color: #333;
    line-height: 1.2;
    margin: 0;
    font-weight: 400;
    display: block;
}

.team-result__player-name:not(:last-child) {
    margin-bottom: 2px;
}

.match-actions {
    display: flex;
    padding-top: 5px;
    gap: 10px;
}

.match-actions__btn {
    background: white;
    border: 1px solid #eeeeee;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 400;
    border-radius: 3px;
    flex: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.match-actions__btn.btn-base {
    background: var(--color-main);
    color: white;
}

.match-actions__btn .fa-play {
    color: white;
    background: red;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    font-size: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-actions__btn .fa-share {
    color: var(--color-main);
}

.match-actions__btn i {
    margin-right: 5px;
}

.match-card-list {
    margin-top: 10px;
}

.tournament-registration__section .list-user__item {
    padding: 0;
}




.match-details__heading {
    font-size: 14px;
    font-weight: bold;
    color: #444;
    margin-top: 25px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    text-transform: uppercase;
}


.match-details__group {
    border-top: 1px solid #eee;
    padding-top: 10px;
}


.match-details__item {
    display: flex;
    justify-content: space-between;
}

.match-details__item.referee {
    border-top: 1px solid #eee;
    padding-top: 5px;
}

.match-details__item:not(:last-child) {
    margin-bottom: 10px;
}

.match-details__label {
    color: #333;
}


.match-details__value {
    font-weight: 400;
    color: #000;
    text-align: right;
    max-width: 60%;
    gap: 10px;
}


.match-details__value--lg {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}


.match-details__value--status {
    font-weight: normal;
}

.detail-match-child .match-panel {
    box-shadow: none;
    border-radius: 0;
    padding: 10px 10px 0;
}

.detail-match-child .content-list__header:not(:first-child) {
    margin-top: 20px;
}

.follow-tournament-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    text-decoration: none;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.follow-tournament-btn:hover {
    background-color: #f5f5f5;
}

.follow-tournament-btn__text {
    color: #a87931;
    font-size: 14px;
    font-weight: 400;
}

.follow-tournament-btn__icon {
    color: #a87931;
    display: flex;
    align-items: center;
    justify-content: center;
}

.follow-tournament-btn__icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 992px) {

    .detail-match>.ctnr,
    .detail-match-child>.ctnr {
        padding: 0;
    }

    .match-card-list {
        padding: 0 10px;
    }

    .detail-match-child .match-card__header {
        background: #f2f4f8;
        padding: 5px 10px;
    }

    .detail-match-child .match-card__icon-action svg {
        width: 18px;
        height: 18px;
    }

    .match-details__group {
        padding: 10px 10px 0;
    }
}

/* Group Standings - BEM */
.group-standings {
    padding: 0;
}

.group-standings__item {
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.group-standings__item:last-child {
    margin-bottom: 0;
}

.group-standings__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
}

.group-standings__title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.group-standings__view-link {
    font-size: 14px;
    color: #a87931;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.group-standings__view-link:hover {
    color: #4a8a5a;
}

.group-standings__view-link-icon {
    display: inline-block;
}

.group-standings__table {
    width: 100%;
}

.group-standings__table-header {
    display: flex;
    padding: 10px 15px;
    background: #f9f9fb;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.group-standings__table-col {
    text-align: center;
    flex: 1;
}

.group-standings__table-col.is-player {
    flex: 2.5;
    text-align: left;
}

.group-standings__table-col.is-pts,
.group-standings__table-col.is-w,
.group-standings__table-col.is-l,
.group-standings__table-col.is-pd {
    flex: 0.8;
}

.group-standings__table-body {
    display: flex;
    flex-direction: column;
}

.group-standings__row {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    background: #fff;
}

.group-standings__row:last-child {
    border-bottom: none;
}

.group-standings__row.is-qualified {
    border-left: 4px solid #a87931;
}

.group-standings__team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 2.5;
}

.group-standings__team-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.group-standings__team-icon svg {
    width: 100%;
    height: 100%;
}

.group-standings__team-names {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.group-standings__team-name {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    display: block;
}

.group-standings__stat {
    font-size: 14px;
    color: #333;
    text-align: center;
    flex: 0.8;
    font-weight: 400;
}

.group-standings__stat--win {
    color: #a87931;
    font-weight: 500;
}

.group-standings__stat--loss {
    color: #dc3545;
    font-weight: 500;
}

.group-standings__stat--pd-positive {
    color: #ff9800;
    font-weight: 500;
}

.group-standings__stat--pd-negative {
    color: #dc3545;
    font-weight: 500;
}

@media (max-width: 992px) {
    .group-standings__header {
        padding: 10px 12px;
    }

    .group-standings__title {
        font-size: 15px;
    }

    .group-standings__view-link {
        font-size: 13px;
    }

    .group-standings__table-header {
        padding: 8px 12px;
        font-size: 12px;
    }

    .group-standings__row {
        padding: 10px 12px;
    }

    .group-standings__team-icon {
        width: 28px;
        height: 28px;
    }

    .group-standings__team-name {
        font-size: 13px;
    }

    .group-standings__stat {
        font-size: 13px;
    }

    .group-standings__table-col.is-pts,
    .group-standings__table-col.is-w,
    .group-standings__table-col.is-l,
    .group-standings__table-col.is-pd {
        flex: 0.8;
    }

    .type-tournament>.ctnr {
        padding: 0;
    }

    .group-standings__item {
        border-radius: 0;
        border-width: 1px 0;
    }

    .type-tournament .match-list {
        padding: 0 10px;
    }
}

/* Bracket board */
.bracket-board {
    padding: 10px 20px 30px;
}

.bracket-board__tabs {
    margin-bottom: 12px;
}

.bracket-board__tabs-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.bracket-board__tabs-scroll::-webkit-scrollbar {
    display: none;
}

.bracket-board__tabs-scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.bracket-board__tab {
    min-width: 72px;
    border: none;
    background: none;
    padding: 8px 0;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    color: #7b7f8a;
    cursor: pointer;
}

.bracket-board__tab.is-active {
    color: #33a05e;
    border-color: #33a05e;
}

.schedule-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 6px 20px rgba(3, 69, 28, 0.08);
    margin-bottom: 20px;
    gap: 15px;
}

.schedule-card__icon {
    flex-shrink: 0;
}

.schedule-card__title {
    margin: 0;
    font-weight: 600;
    color: #1d1d1d;
}

.schedule-card__desc {
    margin: 2px 0 0;
    color: #8891a4;
    font-size: 13px;
}

.schedule-card__action {
    margin-left: auto;
    color: #33a05e;
}

.bracket-board__stages {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bracket-stage {
    display: none;
}

.bracket-stage.is-active {
    display: block;
}

.bracket-stage__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bracket-stage__empty {
    padding: 20px 15px;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed #d1d9e6;
    color: #7d8698;
    text-align: center;
    font-size: 14px;
}

.bracket-card {
    display: flex;
    gap: 12px;
}

.bracket-card__index {
    width: 24px;
    text-align: center;
    color: #9ea4b3;
    font-weight: 600;
}

.bracket-card__body {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(6, 24, 44, 0.08);
    border: 1px solid #eef1f6;
}

.bracket-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #7d8698;
}

.bracket-card__status.is-finished {
    color: #33a05e;
    font-weight: 600;
}

.bracket-card__teams {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bracket-team {
    display: flex;
    align-items: center;
    background: #f9fbfd;
    border-radius: 10px;
    padding: 8px;
    gap: 12px;
}

.bracket-team.is-loser {
    opacity: 0.6;
}

.bracket-team__avatars {
    display: flex;
    gap: 4px;
}

.bracket-team__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: #e5e7eb;
    display: inline-flex;
}

.bracket-team__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bracket-team__names {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.bracket-team__name {
    font-size: 14px;
    color: #111b32;
    text-decoration: none;
}

.bracket-team.is-loser .bracket-team__name {
    color: #9ea4b3;
}

.bracket-team__score {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.bracket-team__icon.is-win {
    color: #33a05e;
}

.bracket-team__points {
    color: #111b32;
}

.bracket-team__points--muted {
    color: #9ea4b3;
}

@media (max-width: 768px) {
    .bracket-board {
        padding: 10px;
    }

    .bracket-team__score {
        margin-left: auto;
    }
}

/* Player list */
.player-list {
    padding: 10px 20px 30px;
}

.player-list__header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5ebf4;
    padding: 12px 0;
    gap: 15px;
}

.player-list__label {
    font-size: 13px;
    color: #9ea4b3;
    font-weight: 600;
    min-width: 24px;
}

.player-list__title {
    flex: 1;
}

.player-list__title-main {
    margin: 0;
    font-weight: 600;
    color: #111b32;
}

.player-list__title-sub {
    margin: 2px 0 0;
    font-size: 13px;
    color: #7d8698;
}

.player-list__filter {
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-list__filter-dot {
    width: 10px;
    height: 10px;
    background: #c8ceda;
    border-radius: 50%;
    display: inline-flex;
}

.player-list__filter-text {
    font-size: 13px;
    color: #7d8698;
}

.player-list__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.player-card {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f3f8;
}
.player-card.seed{
   border-left: 4px solid var(--color-main2);
}
.player-card:last-child {
    border-bottom: none;
}

.player-card__index {
    font-weight: 600;
    color: #9ea4b3;
    /* min-width: 32px; */
    text-align: right;
}

.player-card__infos {
    flex: 1;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    gap: 20px;
}

.player-card__team {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.player-card__avatar-group {
    display: flex;
    gap: 4px;
}

.player-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    overflow: hidden;
    background: #eef1f6;
    display: inline-flex;
    position: relative;
}

.player-card__avatar.plus {}

.player-card__avatar.plus:before {
    content: "+";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.player-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-card__names {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.player-card__name {
    font-size: 14px;
    color: #111b32;
    text-decoration: none;
}

.player-card__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7d8698;
    white-space: nowrap;
}

.player-card__status.s2 {
    gap: 5px
}

.player-card__status .btn {
    padding: 3px 10px;
    font-size: 14px;
    border-radius: 35px;
    line-height: 1.4;
}

.btn-confirm {
    border: 1px solid #333;
    color: #333;
    background: white;
}

.btn-cancel {
    background: red;
    color: white;
}

.player-card__status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c8ceda;
}

.player-card__status-dot.is-online {
    background: #a87931;
}

.wrap-profile-container .type-tournament {
    background: white;
}

:root {
    --color-primary-green: #4CAF50;
    --color-light-green: #E8F5E9;
    --color-border-gray: #ddd;
    --color-text-dark: #333;
    --color-text-light: #666;
}

.modal-match-status .modal-content {
    padding: 0;
    width: auto;
    border: 0;
}

.modal-match-status .modal-body {
    padding: 0;
}

.match-status-update {

    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}

/* Header */
.match-status-update__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.match-status-update__title {
    margin: 0;
    font-size: 1.1em;
    color: var(--color-text-dark);
}

.match-status-update__close-btn {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--color-text-light);
}

.match-status-update__instruction {
    font-size: 0.85em;
    color: var(--color-text-light);
    margin: 0 0 15px 0;
}

.match-status-update__section-title {
    font-weight: bold;
    font-size: 0.9em;
    color: var(--color-text-dark);
    margin: 15px 0 10px 0;
}

.match-status-options {
    margin-bottom: 15px;
}

.match-status-options__item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 8px;
    border: 1px solid var(--color-border-gray);
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.match-status-options__item--highlight {
    border-color: var(--color-primary-green);
}


.match-status-options__input {

    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.match-status-options__label {
    display: flex;
    align-items: center;
    font-size: 1em;
    color: var(--color-text-dark);
}


.match-status-options__label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border-gray);
    border-radius: 50%;
    margin-right: 10px;
    transition: border-color 0.2s;
}


.match-status-options__item.active .match-status-options__label::before,
.match-status-options__input:checked+.match-status-options__label::before {
    border-color: var(--color-primary-green);
    background-color: #fff;

    box-shadow: inset 0 0 0 5px var(--color-primary-green);
}


.match-status-options__input:checked:is(:not(:first-child))+.match-status-options__label {}

.match-status-options__item--highlight .match-status-options__input:checked~.match-status-options__label {}


.match-status-options__item--highlight .match-status-options__input:checked+.match-status-options__label {}

.match-status-options__item--highlight {
    background-color: var(--color-light-green);
    border-color: var(--color-primary-green);
}


.winner-selection {}

.winner-selection__item {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 6px 15px;
    margin-bottom: 8px;
    border: 1px solid var(--color-border-gray);
    border-radius: 6px;
}

.winner-selection__input {

    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.winner-selection__content {
    display: flex;
    align-items: center;
    width: 100%;
}

.winner-selection__content::before {

    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border-gray);
    border-radius: 50%;
    margin-right: 10px;
}

.winner-selection__input:checked+.winner-selection__content::before {

    border-color: var(--color-primary-green);
    background-color: #fff;
    box-shadow: inset 0 0 0 5px var(--color-primary-green);
}

.winner-selection__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.winner-selection__name {
    font-size: 1em;
    color: var(--color-text-dark);
}



.match-status-update__submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--color-primary-green);
    color: white;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.match-status-update__submit-btn:hover {
    background-color: #43A047;
}

.match-status-update__submit-btn:active {
    background-color: #388E3C;
}

.action-save {
    bottom: 110px;
    left: 0;
    padding: 10px;
    background: white;
    width: 100%;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 3px #00000042;
}

.action-save .btn-color-base {
    padding: 5px 15px;
    font-size: 15px;
    width: 100%;
}

.match-app {}

/* ------------------- BLOCK: SCOREBOARD ------------------- */
.scoreboard {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.scoreboard__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border-gray);
    font-size: 0.8em;
}

.scoreboard__teams {
    font-weight: bold;
    color: var(--color-text-dark);
    flex-grow: 1;
    text-align: center;
}

.scoreboard__undo-btn,
.scoreboard__menu-btn {
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    border: 1px solid var(--color-border-gray);
    background-color: #fff;
}

.scoreboard__undo-btn {
    color: var(--color-primary-red);
    background-color: var(--color-light-red);
    border-color: var(--color-primary-red);
    margin-right: 5px;
}

.scoreboard__timer-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--color-border-gray);
}

.timer-display {
    padding: 5px 10px;
    border-radius: 4px;
    background-color: var(--color-light-green);
}

.timer-display__time {
    font-weight: bold;
    color: var(--color-score-green);
    font-size: 1.1em;
}

.scoreboard__status {
    font-size: 0.9em;
    color: var(--color-text-light);
}

.scoreboard__content {
    display: flex;
    border-bottom: 1px solid var(--color-border-gray);
}

/* Team Sections */
.scoreboard__team {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scoreboard__team--left {
    background-color: var(--color-light-green);
    border-right: 1px solid var(--color-border-gray);
}

.scoreboard__team--right {
    background-color: white;
    border-left: 1px solid var(--color-border-gray);
}

.scoreboard__player {
    display: flex;
    align-items: center;
    padding: 10px;
}

.scoreboard__player:not(:last-child) {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-border-gray);

}

.scoreboard__team--right .scoreboard__player {
    justify-content: flex-end;
    /* Align right team's content to the right */
}

.scoreboard__avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
}

.scoreboard__team--left .scoreboard__avatar {
    margin-right: 5px;
}

.scoreboard__team--right .scoreboard__avatar {
    margin-left: 5px;
}

.scoreboard__name {
    font-size: 0.9em;
    font-weight: bold;
    flex-grow: 1;
}

.scoreboard__service {
    font-size: 0.8em;
    margin: 0 5px;
    color: var(--color-score-green);
}

/* Score Display */
.scoreboard__score-display {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    width: 120px;
}

.scoreboard__score {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--color-score-green);
}
.scoreboard__score input{
    width: 40px;
    text-align: center;
}
.scoreboard__separator {
    font-size: 2em;
    color: var(--color-text-light);
    line-height: 0.5;
}

/* Control Buttons */
.scoreboard__controls {
    display: flex;
    padding: 10px;
    gap: 10px;
}

.scoreboard__control-btn {
    flex: 1;
    padding: 10px 5px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.scoreboard__control-btn--add-left {
    background-color: var(--color-primary-green);
    color: white;
}

.scoreboard__control-btn--sideout {
    background-color: var(--color-primary-red);
    color: white;
}

.scoreboard__control-btn--add-right {
    background-color: var(--color-light-green);
    color: var(--color-primary-green);
}

.scoreboard__control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.scoreboard__end-match-btn {
    width: 100%;
    padding: 7px 15px;
    margin-top: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 16px;
}




/* Submit Button */
.match-status-update__submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--color-primary-green);
    color: white;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    /* Pill shape */
    cursor: pointer;
    margin-top: 25px;
    transition: background-color 0.2s;
}

.match-status-update__submit-btn:hover {
    background-color: #43A047;
}

@media (min-width: 992px) {
    .action-save{
        position: relative !important;
        inset: 0;
        box-shadow: none;
        padding: 10px 0;
    }
}
@media (max-width: 768px) {
    .player-list {
        padding: 10px 15px 20px;
    }

    .player-card__infos {

        gap: 8px;
    }

    .player-card__status {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .player-card__avatar {
        width: 25px;
        height: 25px;
    }

    .player-card__name {
        font-size: 12px;
    }

    .player-card__team {
        gap: 7px;
    }

    .player-card__status .btn {
        font-size: 12px;
    }
}
