#match-detail .head-title,
.section-title {
    color: var(--Monotone-1900, #0C0C0D);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.table-grid {
    border-left: 1px solid #e5e5e5;
}

.summary_stats {
    border: 1px solid #e5e5e5;
    border-top: 0;
}

.filter-dropdown {
    cursor: pointer !important;
}

.section-title {
    padding: 6px;
    border: 1px solid #e5e5e5;
    border-bottom: 0;
}

.match-detail-section {
    margin-top: 22px;
}

#match-detail .head-subtitle {
    color: var(--Monotone-1700, #3A3A3D);
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
}

#match-detail .dropdown-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    font-size: 12px;
}

#match-detail .filter-option {
    font-size: 12px;
}

#match-detail .filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.section-odd-history .section-title {
    display: flex;
    font-size: 16px;
    color: var(--Monotone-1900, #0C0C0D);
    justify-content: space-between;
    background: var(--Monotone-0, #FFF);
}

@media (max-width: 768px) {
    .section-odd-history .section-title {
        flex-direction: column;
        align-items: start;
        gap: 4px;
    }
}


.section-odd-history .section-title .section-heading {
    font-weight: 700;
    color: var(--Monotone-1900, #0C0C0D);
    align-content: center;
}

.section-score-board {
    height: 326px;
    background-color: rgb(32 28 28);
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-image: url(../../../images//football-stadium.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.section-summary_stats {
    background: var(--Monotone-0, #FFF);
}

.live-time span.live-time-data::before {
    background-image: url(../../../../images/in_white.gif);
}

.section-confrontation {
    /* margin-top: 27px; */
    background: var(--MonotoneGrey-0, #FFF);
}

#match-detail .sub-filter {
    margin-top: 0;
    padding: 6px;
    border-bottom: 0;
    border: 1px solid #e5e5e5;
}

.table-grid {
    margin-top: 0;
}

#match-detail .filter-tools {
    margin-top: 20px;
    gap: 4px;
}

.btn-sub-filter {
    height: auto;
}

.table-confrontation {
    grid-template-columns: 100px repeat(4, 1fr) repeat(3, 45px)
}

.table-team-data {
    grid-template-columns: 80px 1fr 80px 80px 1fr 80px;
}

@media (max-width: 768px) {
    .table-team-data {
        grid-template-columns: 40px 1fr 40px 40px 1fr 40px;
    }
}

.table-odds-history {
    grid-template-columns: repeat(4, 1fr);
}

.table-ht-ft {
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background-color: #e5e5e5;
}

@media (max-width: 768px) {
   .table-ht-ft {
        grid-template-columns: 100px repeat(4, 1fr);
    }
}

.section-goal-events {
    margin-bottom: 20px;
}

.table-goal-events {
    grid-template-columns: 110px 1fr 110px 1fr;
}

@media (max-width: 768px) {
   .table-goal-events {
        grid-template-columns: 40px 1fr 50px 1fr;
    }
}

.table-goal-events .tb-body .cell {
    min-height: 24px;
    height: auto;
}
.table-goal-events .tb-body .cell_player {
    gap: 6px;
}

.table-goal-events .tb-body .cell_player.is_home {
    justify-content: flex-end;
    text-align: right;
}

.table-goal-events .tb-body .cell_player.is_guest {
    justify-content: flex-end;
    text-align: left;
    flex-direction: row-reverse;
}

.table-goal-events .tb-body .cell_player.is_home > .is_player > div:is(.is_join, .is_out) {
    justify-content: end;
}

.table-goal-events .tb-body .cell_player.is_guest > .is_player > div:is(.is_join, .is_out) {
    flex-direction: row-reverse;
    justify-content: start;
}

.table-goal-events .tb-body .cell_player .is_player div:is(.is_join, .is_out){
    display: flex;
    gap: 3px;
    align-items: center;
}
.table-goal-events .tb-body .cell_player img{
    width: 16px;
}

.table-ht-ft .cell {
    border-right: 0;
    gap: 1px;
}

.table-ht-ft .row.tb-body .cell {
    border-bottom: 0;
}

.table-fixture {
    grid-template-columns: repeat(2, 100px) 1fr 60px 1fr
}

.table-grid .cell.league {
    background: var(--Ver-02-bg-gii, #FAF4EE);
    justify-content: flex-start;
    padding: 8px;
    color: var(--Monotone-1900, #0C0C0D);
    grid-column: 1 / 9;
}

.table-fixture .cell.league {
    grid-column: 1 / 6;
}

.table-grid .cell.vs {
    color: var(--Monotone-1900, #0C0C0D);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.table-confrontation .cell.statistic {
    grid-column: 1 / 9;
    justify-content: flex-end;
    padding: 4px 6px;
    gap: 8px;
}

.table-grid .cell.league .title {
    font-weight: 600;
}

.table-grid .cell.home-team {
    justify-content: flex-end;
    padding: 0 6px;
}

.table-grid .cell.guest-team {
    justify-content: flex-start;
    padding: 0 6px;
}
.match-detail-section .table-grid{
    background-color: transparent !important;
}
.statistic-icons {
    display: flex;
    gap: 4px;
}

.statistic-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--Ver-02-Ha, #0D5AED);
    line-height: 18px;
    color: var(--Monotone-0, #FFF);
}

.statistic-icon--win {
    background: var(--ver-02-thng, #669019);
}

.statistic-icon--loss {
    background: var(--Ver-02-Khch, #EE0B1A);
}

.o2-lose {
    color: var(--Ver-02-Khch, #EE0B1A);
}

.o2-win {
    color: var(--ver-02-thng, #669019);
}

.o2-draw {
    color: var(--Ver-02-Ha, #0D5AED);
}

.team-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 170px;
    z-index: 1;
    border-radius: 12px 12px 0 0;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

h1 {
    color: var(--white);
    text-align: center;
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 700;
}

.subtitle {
    color: #E0E0E0;
    text-align: center;
    font-size: 15px;
    margin-bottom: 25px;
}

.match-card {
    background: linear-gradient(to bottom, var(--bg-dark), #000);
    /* border-radius: 10px; */
    overflow: hidden;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    width: 613px;
}

.head-layout {
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    z-index: 9;
    left: 0;
}

.team {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    height: 45px;
    color: var(--text-color);
}

.head-container {
    position: absolute;
    width: 639px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    background-image: url(../../../images/union-large.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.team.home {
    border-top-left-radius: 50px;
    margin-right: 2px;
    justify-content: flex-end;
}

.team.away {
    border-top-right-radius: 50px;
    margin-left: 2px;
    justify-content: flex-start;
}

.score {
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: white;
    width: 160px;
    height: 50px;
    z-index: 99;
    background-image: url(../../../images/union.svg);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
}

.match-content {
    padding: 20px;
    color: var(--white);
    border-radius: 0px 0px 16px 16px;
    border: 2px solid var(--Monotone-300, #F5F5F7);
    background: rgba(33, 2, 4, 0.60);
    backdrop-filter: blur(3px);
    height: 231px;
}

.tournament {
    text-align: center;
    margin-bottom: 20px;
}

.tournament .name {
    font-size: 14px;
    margin: 15px 0 8px;
    color: #fff;
}

.tournament .round {
    display: inline-block;
    background: #2E0600;
    padding: 4px 15px;
    border-radius: 4px;
    font-size: 13px;
    color: #fff;
}

.match-details {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 10px;
    margin-top: 14.5px;
    justify-content: center;
}

.team-flag img {
    width: 90px;
    height: 60px;
    border-radius: 6px;
    border: 2px solid #FFF;
    ;
    object-fit: contain;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.match-time {
    text-align: center;
    /* min-width: 66px; */
}

.live-minute {
    color: #FF4444;
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--Monotone-500, #EAEAEE);
}

.live-minute .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #FF4444;
    border-radius: 50%;
    vertical-align: middle;
}

.match-time .time {
    font-size: 16px;
    font-weight: 700;
    margin: 4px 0;
    color: #fff;
}

.date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.match-footer {
    padding: 12px;
    display: flex;
    gap: 10px;
    background: var(--white);
}

.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

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

.btn.primary:hover {
    background: #A00000;
}

.btn.secondary {
    background: #F0F0F0;
    color: var(--text-color);
}

.btn.secondary:hover {
    background: #E0E0E0;
}

.btn-sub-filter.isActive {
    border: 1px solid var(--Ver-02-Bg-default, #9D7477);
}

/* stat progress - start*/
.summary_stats {
    display: flex;
    flex-direction: column;
    padding: 8px 13px;
    gap: 8px;
}

@media (max-width: 768px) {
    .summary_stats {
        padding: 0 8px 8px 8px;
    }
}

.stats_progress {
    display: flex;
    flex-direction: column;
    gap: 5.5px;
}

.stats_progress-title {
    display: grid;
    grid-template-columns: 1fr minmax(150px, 1fr) 1fr;
}

.stats_progress-item.is_left,
.stats_progress-item.is_right {
    display: flex;
}

.stats_progress-item.is_right {
    justify-content: flex-end;
}

.stats_progress-item.is_title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    line-height: 150%;
    color: var(--Monotone-1700, #3A3A3D);
}

.stats_progress-item.is_left .is_value-box,
.stats_progress-item.is_right .is_value-box {
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Neutral-1700, #323232);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;
    padding: 0 4px;
}

.stats_progress-item.is_active.is_left .is_value-box {
    color: #fff;
    background: var(--Status-Red, #e8503a);
}

.stats_progress-item.is_active.is_right .is_value-box {
    color: #fff;
    background: var(--Status-Blue, #2598fe);
}

.stats_progress-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.stats_progress-bar--item {
    height: 12px;
    border-radius: 2px;
    background: var(--Monotone-500, #EAEAEE);
    display: flex;
    overflow: hidden;
    align-items: center;
}

.stats_progress-bar--item .stats_progress-bar--track {
    height: 7px;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s ease-in-out;
    background: var(--Monotone-500, #EAEAEE);
}

.stats_progress-bar--item:first-child {
    justify-content: end;
}

.stats_progress-bar--item:first-child .stats_progress-bar--track {
    background: var(--Ver-02-Active-link, #0862BD);
}

.stats_progress-bar--item:last-child .stats_progress-bar--track {
    background: var(--Ver-02-Sub-bg-title, #CA7C1F);
}

.table-odds-history .odd-item {
    width: 45px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--Monotone-1900, #0C0C0D);
    font-size: 12px;
    border-radius: 3px;
    background: var(--Ver-02-tl_bg_gray, #EFEFEF);
    gap: 2.5px;
}

.table-odds-history .odd-item.up {
    background-color: #DCFFEE;
}

.table-odds-history .odd-item.down {
    background-color: #FFDBD8;
}


.table-odds-history .odd-item.up::after {
    content: '';
    width: 8px;
    height: 8px;
    background-image: url('../../../images/arrow-up.svg');
    border-radius: 50%;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #2A795A;

}

.cell_odds_live {
    background: #FFF0EB;
}

.cell_odds_live .odd-item {
    background: #FFF;
    color: #333;
}

.table-odds-history .note-box .note-box-color.note-color--lastest,
.cell_odds_live.latest {
    background-color: #FFF2DA;
}



.table-odds-history .odd-item.down::after {
    content: '';
    width: 8px;
    height: 8px;
    background-image: url('../../../images/arrow-down.svg');
    border-radius: 50%;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #6C0708;
}


.table-odds-history .tb-body .cell_odds {
    gap: 24px;
}

@media (max-width: 768px) {
    .table-odds-history .tb-body .cell_odds {
        gap: 5px;
        padding: 0 5px;
    }
}

.table-odds-history .tb-body .cell_note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 8px;
    height: auto;
}

.table-odds-history .note-box {
    display: flex;
    align-items: center;
    gap: 5px;
}

.table-odds-history .note-box .note-box-color {
    width: 12px;
    height: 12px;
    border: 1px solid var(--Monotone-1000, #BBBCC1);
    background: var(--Ver-02-bg_phan_tich_01, #FFF0EB);
}

.cell {
    min-height: 24px;
    height: auto;
}

/* stat progress - end */


@media (max-width: 768px) {
    .head-container {
        background-image: url(../../../images/union-sm.svg);
        stroke-width: 1px;
        stroke: #000;
        width: 339px;
        height: 24px;
    }

    .section-score-board {
        padding: 32px 0 18px;
        height: auto;
    }

    .section-title {
        font-size: 12px;
        font-weight: 600;
    }

    .table-confrontation {
        grid-template-columns: 50px 1fr 32px 1fr repeat(4, 30px)
    }

    .table-fixture {
        grid-template-columns: 70px 45px 1fr 38px 1fr
    }

    .tournament .name {
        margin-bottom: 5px;
    }

    .match-content {
        height: auto;
        padding: 2px
    }

    .team {
        height: auto;
        font-size: 12px;
    }

    .score {
        background-image: url(../../../images/union-mobile.svg);
        width: 86px;
        background-size: cover;
        height: 28px;
        top: 14px;
        font-size: 16px;
    }

    .head-layout {
        height: 100%;
    }

    .team-names {
        height: 100%;
        gap: 84px;
    }

    .team-flag img {
        width: 70px;
        height: 47px;
    }

    .match-time .time {
        font-size: 14px;
    }

    .tournament .name,
    .tournament .round,
    .date {
        font-size: 10px;
    }

    .match-card {
        width: 328px;
    }

    .cell {
        font-size: 10px;
        padding: 2px 0;
    }

    .table-grid .cell.match-time {
        font-size: 8px;
    }

    .match-details {
        margin: 7px 0 20px;
    }

    .tournament {
        margin-bottom: 0;
    }

    .match-detail-section {
        margin-top: 14px;
    }

    .head-subtitle {
        display: none;
    }

    #match-detail .head-title {
        font-size: 14px;
        text-align: center;
        font-weight: 600;
        margin-top: 12px;
    }

    .table-confrontation .cell.statistic {
        gap: 4px;
    }

    .main-content {
        padding: 0 0 84px;
    }
}

@media screen and (max-width: 425px) {

    .guest-team .team-name,
    .home-team .team-name {
        display: block;
        max-width: none;
    }
}

.stats_progress-item.is_left {
    justify-content: flex-start;
}
.filter-dropdown {
    display: flex;
    height: 27px;
    padding: 6px 8px;
    justify-content: space-between;
    align-items: center;
    width: 120px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid var(--Ver-02-Bg-default, #9d7477);
    background: var(--Monotone-0, #fff);
    position: relative;
    cursor: pointer;
}

.modal-filter {
    position: absolute;
    width: 500px;
    background-color: #f2f2f2;
    z-index: 9999;
    top: 30px;
    left: 0;
    border-radius: 6px;
    box-shadow: 0 0 20px #777;
    animation: growDown 150ms ease-in-out forwards;
    transform-origin: top center;
}
.modal-list-type.modal-filter, .modal-list-type .modal-filter-content, .modal-list-type .filter-options {
    max-height: 525px;
}

.modal-list-type.modal-filter {
    border-radius: 4px;
    border: 1px solid #eae1d6;
    background: #fff;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.15);
    width: 140px;
}

.modal-list-type .modal-filter-content {
    margin-top: 0;
    width: 140px;
}

.modal-list-type .filter-options {
    display: flex;
    padding: 4px;
    flex-direction: column;
}
.modal-list-type .filter-options {
    scrollbar-width: thin;
    scrollbar-color: rgba(136, 136, 136, 0.5) transparent;
}
.modal-list-type .filter-options::-webkit-scrollbar {
    width: 3px;
    background-color: transparent;
}
.modal-list-type .filter-options::-webkit-scrollbar-thumb {
    background: rgba(136, 136, 136, 0.5);
    border-radius: 5px;
}
.modal-list-type.filter-options::-webkit-scrollbar-thumb:is(:hover, :focus) {
    background: rgba(136, 136, 136, 1);
}
.modal-list-type .filter-option {
    width: 100% !important;
    padding: 4px;
}
.modal-list-type .filter-option:hover {
    background: rgba(136, 136, 136, .1);
}
.modal-list-type .filter-option:active {
    background: rgba(136, 136, 136, .2);
}
.modal-list-type .filter-option:not(:last-child) {
    border-bottom: 1px solid #e6e6e6;
}
.modal-list-type .filter-option > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
    user-select: none;
}
.modal-list-type .filter-option.active, .modal-list-type .filter-option.active > span {
    font-weight: 700;
}
.filter-dropdown.filter-orderby {
    width: 120px;
}

@keyframes growDown {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}