@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
    font-display: swap;
    font-weight: 400;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Medium.ttf") format("truetype");
    font-display: swap;
    font-weight: 500;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Bold.ttf") format("truetype");
    font-display: swap;
    font-weight: 700;
}

body::-webkit-scrollbar-track {
    background-color: #fff;
}

body::-webkit-scrollbar {
    width: 7px;
    background-color: #f5f5f5;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(
        98.49deg,
        #dfb557 -39.81%,
        #fdf7bf 33.9%,
        #d6ab48 94.09%,
        #ae832d 149.71%,
        #ce9f2b 209.9%,
        #b48b2e 283.6%
    );
}

.container {
    padding-left: 0.938rem;
    padding-right: 0.938rem;
}

a {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

a:hover,
a:focus {
    color: #ffb266 !important;
}

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.img__ {
    position: relative;
    overflow: hidden;
}

.img__:hover::after {
    -webkit-animation: shine 0.75s;
    animation: shine 0.75s;
}

.img__::after {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
    background: -webkit-gradient(
        linear,
        left top,
        right top,
        from(rgba(255, 255, 255, 0)),
        to(rgba(255, 255, 255, 0.3))
    );
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

input {
    outline: none;
}

.c-img {
    position: relative;
    display: block;
}

.c-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: fill;
    object-fit: fill;
}

.img_full img {
    width: 100%;
    height: 100%;
}

.img-contain img {
    -o-object-fit: contain;
    object-fit: contain;
}

.img-cover img {
    -o-object-fit: fill;
    object-fit: fill;
}

.s-content ol {
    list-style: decimal;
    margin-left: 15px;
    margin-bottom: 10px;
}

.s-content ul {
    list-style: initial;
    margin-left: 15px;
    margin-bottom: 10px;
}

.s-content li {
    list-style: inherit;
    margin-bottom: 5px;
}

.s-content p {
    margin-bottom: 10px;
}

.s-content img {
    display: block;
    max-width: 100%;
    margin: 10px auto;
    width: auto !important;
    -o-object-fit: contain;
    object-fit: contain;
    height: auto !important;
}

.s-content table,
.s-content iframe {
    max-width: 100%;
    width: 100%;
}

.s-content table {
    border-collapse: collapse;
    width: 100%;
    border: solid 1px rgba(0, 0, 0, 0.431372549);
}

.s-content table td {
    border-collapse: collapse;
    border: solid 1px rgba(0, 0, 0, 0.431372549);
    padding: 3px;
}

.s-content h1,
.s-content h2,
.s-content h3,
.s-content h4,
.s-content h5,
.s-content h6 {
    display: block;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

.s-content h1 {
    font-size: 2em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
}

.s-content h2 {
    font-size: 1.5em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.s-content h3 {
    font-size: 1.17em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.s-content h4 {
    font-size: 1em;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}

.s-content h5 {
    font-size: 0.83em;
    margin-top: 0.8em;
    margin-bottom: 0.8em;
}

.s-content h6 {
    font-size: 0.67em;
    margin-top: 0.8em;
    margin-bottom: 0.8em;
}

.container {
    max-width: 1230px;
}

.nav-item.active .nav-link {
    background: linear-gradient(60deg, #ff8a66 20%, #ffb266 81%, #fb6515 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.nav-item.active .nav-link img {
    -webkit-filter: none;
    filter: none;
}

.nav-item.active .nav-link::after {
    content: "";
    width: calc(100% - 10px);
    height: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 6px 6px 0 0;
    background: linear-gradient(60deg, #ff8a66 20%, #ffb266 81%, #fb6515 100%);
}

.nav-link {
    position: relative;
}

.nav-link img {
    -webkit-filter: brightness(10);
    filter: brightness(10);
}

.header-top::after {
    content: "";
    width: calc((100vw - 1200px) / 2);
    height: 100%;
    position: absolute;
    top: 0;
    left: 100%;
    background: #fd8901;
}

.section-kv .swiper-button-disabled {
    opacity: 0.5;
}

.kv-pagination .swiper-pagination-bullet {
    background: #fff;
}

.kv-pagination .swiper-pagination-bullet-active {
    background: #fd8901;
}

.border-b-gradient {
    position: relative;
    padding-bottom: 5px;
}

.border-b-gradient::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(
        linear,
        left top,
        right top,
        from(#fe6b1d),
        color-stop(26.5%, #fe6b1d),
        color-stop(26.51%, #cc1212),
        color-stop(64.99%, #cc1212),
        color-stop(65%, #fe6b1d),
        to(#fe6b1d)
    );
    background: linear-gradient(
        90deg,
        #fe6b1d 0%,
        #fe6b1d 26.5%,
        #cc1212 26.51%,
        #cc1212 64.99%,
        #fe6b1d 65%,
        #fe6b1d 100%
    );
    content: "";
}

.highlight-list-item {
    position: relative;
}

.highlight-list-item:nth-child(4n)::after {
    display: none;
}

.highlight-list-item::after {
    width: 1px;
    height: calc(100% - 20px);
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background: #666;
    content: "";
}

.section-head::before {
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 10px;
    height: 20px;
    background: #fd8901;
    border-radius: 0 5px 5px 0;
    content: "";
}

.notion-item {
    position: relative;
    padding-left: 20px;
}

.notion-item::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background: #000;
    position: absolute;
    top: 6px;
    left: 10px;
}

.rank-table-item {
    position: relative;
}

.rank-table-item.is-top::before {
    content: "";
    width: 4px;
    height: 24px;
    background: #fd8901;
    border-radius: 0 3px 3px 0;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.rank-table-item.is-bottom::before {
    content: "";
    width: 4px;
    height: 24px;
    background: #006cff;
    border-radius: 0 3px 3px 0;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.breacrumbs li:not(:first-child)::before {
    content: ">";
    color: #acadad;
    margin: 0 5px;
}

.breacrumbs li:last-child::before {
    color: #fe6b1d;
}

.breacrumbs li:last-child a {
    pointer-events: none;
    color: #fe6b1d;
}

.breacrumbs li a {
    color: #acadad;
}

.breacrumbs li a:hover {
    color: #fe6b1d;
}

.pagination span,
.pagination a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1px solid #fd955d;
    font-size: 14px;
}

.pagination span {
    background: #fd955d;
    color: #fff;
}

.pagination a {
    color: #fd955d;
}

.pagination a.dots {
    border-color: transparent;
    font-weight: 700;
}

.pagination a.prev-btn,
.pagination a.next-btn {
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-weight: 500;
}

.pagination a.prev-btn:hover,
.pagination a.next-btn:hover {
    background-color: #fd8901;
    color: white;
}

.nav-sidebar-item.is-open .nav-sidebar-sub {
    display: block;
}

.nav-sidebar-item.is-open .nav-sidebar-link {
    background: #ffb68f;
    color: #fff;
}

.nav-sidebar-item.is-open .nav-sidebar-link i {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.section-livescrore .time-list a.active,
#calendar-icon.active
{
    background: #fd8901;
    color: #fff;
    border-color: #f6c182;
}

.section-livescrore .match-schedule .head .logo {
    position: relative;
}

.section-livescrore .match-schedule .head .logo::after {
    content: "";
    width: 5px;
    height: calc(100% + 20px);
    background: #fff;
    position: absolute;
    left: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(15deg);
    transform: translateY(-50%) rotate(15deg);
}

.section-livescrore .table-schedule .table-item.is-live .dot::before {
    content: "";
    width: 4.5px;
    height: 4.5px;
    border-radius: 100%;
    background: #f51e1e;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.filter-list a.active {
    background: #fd8901;
    color: #fff;
    border-color: #fd955d;
}

.checkbox input:checked ~ .toggle {
    background: -webkit-gradient(
        linear,
        right top,
        left top,
        from(#fac17f),
        to(#fd8901)
    );
    background: linear-gradient(270deg, #fac17f 0%, #fd8901 100%);
}

.checkbox input:checked ~ .toggle::before {
    left: 14px;
    background: #fff;
}

.checkbox .toggle::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background: #e5e4e2;
    position: absolute;
    top: 0;
    left: 0;
}

.pagination-odds .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    border: 1px solid #fd8901;
    background: #fff;
    opacity: 1;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.pagination-odds .swiper-pagination-bullet-active {
    width: 18px;
    background: #fd8901;
}

.cate-nav-link a.active {
    background: #f48620;
    font-weight: 700;
    color: #fff;
}

.cate-nav-link a:hover {
    background: #f48620;
    color: #fff;
}

.filter-history-item input:checked ~ .filter-history-box .circle {
    border-color: #fa7f3d;
}

.filter-history-item input:checked ~ .filter-history-box .circle::before {
    background: #fa7f3d;
}

.filter-history-item input:checked ~ .filter-history-box .circle + .text {
    color: #fa7f3d;
}

.filter-history-item .circle {
    position: relative;
}

.filter-history-item .circle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: #c6c6c6;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.progress-title-box::before {
    content: "";
    width: 100%;
    max-width: 286px;
    height: 1px;
    background: #8f8e8e;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.match-progress-box.is-end .progress-title-box::before {
    max-width: 510px;
}

.lineup-information .information-item:first-child::after {
    content: "";
    width: 1px;
    height: calc(100% - 76px);
    background: #e6e6e6;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.header {
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.header.scroll {
    background: linear-gradient(to right, #222222, #545454);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.header.scroll .header-logo {
    height: 60px;
    background: linear-gradient(to right, #222222, #545454);
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.header.scroll .header-logo img {
    max-height: 50px;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.header.scroll .header-top {
    display: none;
}

.header .header-logo {
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.main-content {
    position: relative;
    z-index: 1;
}

@media (min-width: 961px) {
    .main-sidebar {
        width: calc(30% - 20px);
    }
}

@media (max-width: 960px) {
    .highlight-list-item:nth-child(2n)::after {
        display: none;
    }

    .tournament-content .tourmament-item.active {
        background: #ffb68f;
    }

    .tournament-content .tourmament-item.active .text {
        color: #fff;
    }

    .outstanding-tournament.is-opened .tournament-content {
        display: block;
    }

    .outstanding-tournament.is-opened .head .icon i::before {
        content: "\f068";
    }

    .livescore-sidebar:not(.is-not-fixed) {
        position: fixed;
        z-index: 100;
        height: calc(100% - 98px);
        width: 100%;
        max-width: min(420px, 90%);
        right: -100%;
        bottom: 0;
        overflow-y: auto;
        background: #fff;
        border-radius: 10px 0 0 10px;
        border: 4px solid #fe6b1d;
        border-right: 0;
        -webkit-transition: 0.3s;
        transition: 0.3s;
    }

    .livescore-sidebar:not(.is-not-fixed).is-opened {
        right: 0;
    }
}

@media (max-width: 600px) {
    .highlight-list-item::after {
        display: none;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .lineup-information .information-item:first-child::after {
        height: calc(100% - 60px);
    }

    .ranking-table .row-item {
        position: relative;
    }

    .ranking-table .row-item.is-top::before,
    .ranking-table .row-item.is-mid::before,
    .ranking-table .row-item.is-bottom::before {
        content: "";
        width: 5px;
        height: 30px;
        position: absolute;
        top: 50%;
        left: 0;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .ranking-table .row-item.is-top::before {
        background: #08de3a;
    }

    .ranking-table .row-item.is-mid::before {
        background: #fe6b1d;
    }

    .ranking-table .row-item.is-botom::before {
        background: #f51e1e;
    }

    .footer-logo {
        place-content: center;
    }
}

.match-item.active {
    background-color: #f0efee;
}

/* Fix lỗi màu text-white */
.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity)) !important;
}

/* Style cho danh mục con subcategory */
.subcategory-links a {
    background-color: white;
    color: #f15e23;
    border: 1px solid #f15e23;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
    font-weight: normal;
}

.subcategory-links a:hover {
    background-color: #f15e23;
    color: white;
    text-decoration: none;
}

.subcategory-links a.active {
    background-color: #f15e23;
    color: white;
    font-weight: 500;
}

.subcategory-nav {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-container {
    position: relative;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.tab-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.tab-button.active {
    background-color: transparent;
}

.tab-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgb(255, 140, 79);
    transition: width 0.3s, left 0.3s;
    border-radius: 20px;
}

.ta-tab-content {
    margin-top: 20px;
    margin-bottom: 90px;
}

.ta-tab-item {
    display: none;
    background-color: #fff;
}

.ta-tab-item.active {
    display: block;
}

.news-time {
    display: flex;
    white-space: nowrap;
}

/* Đảm bảo các box tin tức bằng nhau và hiển thị đúng */
.news-cate-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-cate-item .news-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-cate-item .news-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 2.8em;
}

.news-cate-item .news-info {
    margin-top: auto;
}

.icon-play {
    background-image: url("../images/icon-play-small.svg?v=1.0.0");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 10.5px;
    height: 11.67px;
}


.flatpickr-day.selected {
    background-color: #f48620 !important;
    border-color: #f48620 !important;
}

#overlay {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal {
    z-index: 1001;
}

.livescore2-sidebar-modal {
    height: 90%;
    overflow: auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
} 

.time-list ul li a {
    line-height: 1.1;
}