
.team-info-modal-box-page {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 85vh;
}
.team-info-modal-box-header {
    position: sticky;
    top: 0;
    padding: 10px 5px 5px 5px;
    background-color: #fff;
    text-align: center;
    z-index: 10;
    width: 100%;
    box-shadow: 0px 15px 10px -15px #ddd;
}
.modal-info-header-title {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 0 8px 0;
    text-align: center;
    /* font-style: italic; */
}


.team-stats-selected-game-header {
    padding-top: 10px;
}
.team-stats-games-list-item-score {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 8px 5px 5px 5px;
}
.team-stats-games-list-nums {
    font-size: 1.6rem;
    font-weight: 600;
    max-width: 140px;
    padding: 0 8px;
    text-align: center;
}
.team-stats-games-list-nums span {
    padding: 5px 10px;
}
.team-stats-game-greater-score-color {
    background: linear-gradient(to right, var(--primary), var(--primary2));
    color: #fff;
}
.team-stats-games-list-nums span:not(.team-stats-game-greater-score-color) {
    background-color: #eeeeee;
}
.team-stats-games-list-nums span:last-child {
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}
.team-stats-games-list-nums span:first-child {
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}
.team-stats-games-list-nums span:last-child:not(.team-stats-game-greater-score-color) {
    background-color: #e7e7e7;
}
.team-stats-games-list-team {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    width: 200px;
}
.team-stats-games-list-item:first-child {
    border-top: none;
}
.team-stats-games-list-item-score .team-stats-games-list-team:first-child {
    flex-direction: row-reverse;
}
.team-stats-games-list-team span {
    border: none;
    white-space: nowrap;
    font-size: 0.9rem;
    line-height: 15px;
}
.team-stats-games-list-team img {
    width: 75px;
}

.team-stats-selected-game-table-team {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 0 10px;
}
.team-stats-selected-game-table-team img {
    width: 40px;
}
.team-stats-selected-game-table-team span {
    font-weight: 500;
}
.team-stats-games--current-table {
    padding-top: 5px;
    overflow-x: auto;
    padding-bottom: 0;
}
.team-stats-games--current-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.team-stats-games--current-table:nth-child(2) table {
    border-bottom: 1px solid #eee;
}
.team-stats-games--current-table table thead {
    background-color: var(--primary);
    color: #fff;
}
.team-stats-games--current-table table th {
    text-align: center;
    height: 30px;
    font-size: 0.95rem;
    font-weight: 500 !important;
    padding: 0 5px;
    background-color: var(--primary) !important;
    border: none;
    color: #fff !important;
}
.team-stats-games--current-table table td {
    text-align: center;
    font-size: 0.95rem;
    height: 30px;
    padding: 0 5px;
    white-space: nowrap;
    color: #000 !important;
    border: none;
}
.team-stats-games--current-table table tr {
    transition-duration: 250ms;
}
.team-stats-games--current-table table tr th:nth-child(1),
.team-stats-games--current-table table tr th:nth-child(2),
.team-stats-games--current-table table tr td:nth-child(1),
.team-stats-games--current-table table tr td:nth-child(2) {
    position: sticky;
    transition-duration: 250ms;
}
.team-stats-games--current-table table tr th:nth-child(1),
.team-stats-games--current-table table tr td:nth-child(1) {
    left: 0;
}
.team-stats-games--current-table table tr th:nth-child(2),
.team-stats-games--current-table table tr td:nth-child(2) {
    left: 30px;
}
.team-stats-games--current-table table tr td:nth-child(1),
.team-stats-games--current-table table tr td:nth-child(2) {
    font-weight: 500;
}
.team-stats-games--current-table table tr th:nth-child(1),
.team-stats-games--current-table table tr td:nth-child(1) {
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    padding: 0px;
}
.team-stats-games--current-table table tr th:nth-child(2),
.team-stats-games--current-table table tr td:nth-child(2) {
    text-align: left;
}
.team-stats-games--current-table table tr td:nth-child(2) {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    clip-path: inset(0px -15px 0px 0px);
    width: 185px;
}
.team-stats-games--current-table table th:nth-child(3),
.team-stats-games--current-table table td:nth-child(3) {
    padding-left: 7px;
}
.team-stats-games--current-table table tbody tr:last-child td {
    border-top: 2px solid var(--primary2);
}
.team-stats-games--current-table table tbody tr:nth-child(odd) td:nth-child(1),
.team-stats-games--current-table table tbody tr:nth-child(odd) td:nth-child(2),
.team-stats-games--current-table table tbody tr:nth-child(odd) td,
.team-stats-games--current-table table tbody tr:nth-child(odd) {
    background-color: #fff !important;
}
.team-stats-games--current-table table tbody tr:nth-child(even) td:nth-child(1),
.team-stats-games--current-table table tbody tr:nth-child(even) td:nth-child(2),
.team-stats-games--current-table table tbody tr:nth-child(even) td,
.team-stats-games--current-table table tbody tr:nth-child(even) {
    background-color: #f5f5f5 !important;
}
@media screen and (max-width: 768px) {
    .team-stats-games-list-team, .team-stats-selected-game-header .team-stats-games-list-team:first-child {
        flex-direction: column;
    }
    .team-stats-games-list-team span {
        white-space: normal;
    }
    .team-info-modal-box-page .match-middle-score {
        font-size: 28px;
    }
    .team-stats-games--current-table table td, .team-stats-games--current-table table th {
        font-size: 14px;
    }
}