/* base*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/* @font-face {
    font-family: 'Excon';
    src: url('../font/Excon-Thin.woff2') format('woff2'),
        url('../font/Excon-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Excon';
    src: url('../font/Excon-Light.woff2') format('woff2'),
        url('../font/Excon-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Excon';
    src: url('../font/Excon-Regular.woff2') format('woff2'),
        url('../font/Excon-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Excon';
    src: url('../font/Excon-Medium.woff2') format('woff2'),
        url('../font/Excon-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Excon';
    src: url('../font/Excon-Bold.woff2') format('woff2'),
        url('../font/Excon-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Excon';
    src: url('../font/Excon-Black.woff2') format('woff2'),
        url('../font/Excon-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
} */

/* ======== CSS Reset ======== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a,
a:hover {
    text-decoration: none;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    font-family: "Inter", "Microsoft YaHei", "微软雅黑", STXihei, "华文细黑", sans-serif !important;
    background: var(--body-bg);
    color: var(--text-color3);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    display: none;
}

/*default dropdown*/
.btn-dropdown {
    padding: 7px 30px 7px 10px;
    color: var(--text-color1);
    border-radius: 10px;
    border: 1px solid var(--line2);
    position: relative;
}

.btn-dropdown:after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 300;
    font-size: 12px;
    color: var(--arrow-color2);
    content: "\f078";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}

.dropdown-menu {
    background-color: var(--bg-color1);
    box-shadow: 0 0 5px var(--box-shadow1);
    color: var(--text-color1);
    padding: 0;
    border-radius: 10px;
    z-index: 11;
    max-height: 450px;
    overflow: scroll;
}

.dropdown-menu .dropdown-item {
    border-bottom: 1px solid var(--line2);
    color: var(--text-color1);
    font-size: 14px;
    font-weight: 500;
    padding: 10px;
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:hover {
    background-color: var(--bg-color2);
}

.dropdown-menu li:last-child .dropdown-item {
    border-bottom: none;
}

.dropdown-menu li:first-child .dropdown-item {
    border-radius: 10px 10px 0px 0px;
    cursor: pointer;
}

/*pagination base*/
.pagination-wrapper {
    position: relative;
    overflow-x: scroll;
}

.pagination {
    border-radius: 0px;
    position: relative;
    padding: 0px 64px;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-item {
    vertical-align: top;
    border-radius: 3px;
    margin: 0px 2px;
}

.page-link,
.page-link:hover {
    background-color: transparent;
    border: none;
    color: var(--text-color1);
    white-space: nowrap;
    padding: 0 10px;
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.page-item:first-child .page-link {
    position: absolute;
    left: 0px;
    top: 0px;
    border-radius: 0px;
    z-index: 1;
}

.page-item:last-child .page-link {
    position: absolute;
    right: 0px;
    top: 0px;
    border-radius: 0px;
    z-index: 1;
}

.page-item.active .page-link {
    z-index: 1;
    color: var(--text-color2);
    font-weight: bold;
    background-color: var(--theme-color1);
    border-radius: 3px;
    padding: 3px 7px;
}

.datepicker {
    font-size: 13px;
    padding: 10px;
    border: 1px solid var(--line2);
}

.datepicker .datepicker-switch,
.datepicker .next,
.datepicker .prev,
.datepicker tfoot tr th {
    font-size: 14px;
}

.datepicker td,
.datepicker th {
    width: 33px;
}

.datepicker table tr td.active.active,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled.disabled,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover,
.datepicker table tr td.active.disabled:hover.active,
.datepicker table tr td.active.disabled:hover.disabled,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.disabled:hover:hover,
.datepicker table tr td.active.disabled:hover[disabled],
.datepicker table tr td.active.disabled[disabled],
.datepicker table tr td.active:active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active:hover.active,
.datepicker table tr td.active:hover.disabled,
.datepicker table tr td.active:hover:active,
.datepicker table tr td.active:hover:hover,
.datepicker table tr td.active:hover[disabled],
.datepicker table tr td.active[disabled] {
    background: none;
    background-color: var(--theme-color1);
    color: var(--text-color2);
}

.datepicker table tr td.today,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover,
.datepicker table tr td.today:hover {
    background: none;
    background-color: var(--theme-color3);
    color: var(--text-color-b);
}

/*modal*/
.modal-common .modal-content {
    background-color: var(--bg-color1);
    border: none !important;
    box-shadow: none !important;
}

.modal-bottom .modal-header {
    background-color: var(--bg-header);
    line-height: 16px;
    color: var(--text-color2);
    padding: 10px;
}

.modal-bottom .modal-header .modal-title {
    font-size: .9rem;
    text-transform: capitalize;
    text-align: left;
    width: 100%;
    padding-left: 15px;
}

/*modal setting*/
.modal-bottom .modal-content .setting .list-group-item {
    border-radius: 10px;
    cursor: pointer;
    padding: 7px 10px;
    background-color: var(--bg-color1);
    border: 1px solid var(--line2);
    color: var(--text-color3);
    margin: 2.5px 0;
    position: relative;
}

.modal-bottom .modal-content .setting .list-group-item.active {
    background: var(--bg-nav-active);
    background-size: contain;
    background-repeat: no-repeat;
    color: var(--text-color1);
}

.modal-bottom .modal-content .setting .list-group-item.active:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 700;
    font-size: 12px;
    color: var(--arrow-color2);
    content: "\f00c";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}

.modal-bottom .modal-content .setting .lang-pic img {
    width: 20px;
    margin-right: 10px;
    display: inline-block;
}

.modal-bottom .modal-body {
    padding: 0;
}

.modal-bottom-center {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 10px 5px;
    margin: 0 auto;
    height: 100vh;
    border: none !important;
    box-shadow: none !important;
    max-width: 480px;
}

.modal-bottom .modal-dialog {
    max-height: calc(100% - 50px);
}

/*all sport modal*/
.modal-bottom .allsport {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(2, 1fr);
    padding: 10px;
}

.modal-bottom .allsport .list-group-item {
    display: flex;
    border-radius: 10px;
    border: 1px solid var(--line2);
    gap: 5px;
    padding: 5px 10px;
    position: relative;
    background-color: var(--bg-color1);
    color: var(--text-color3);

}

.modal-bottom .allsport .list-group-item.active {
    background: var(--bg-nav-active);
    background-size: contain;
    background-repeat: no-repeat;
    color: var(--text-color1);
}

.modal-bottom .allsport .list-group-item:after {
    content: "\f0da";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
    right: 10px;
    color: var(--arrow-color1);
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
}

.modal-bottom .allsport .list-group-item .icon {
    width: 20px;
}

.swiper-pagination-bullet {
    width: 5px !important;
    height: 5px !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--theme-color3) !important;
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 2px !important;
}

.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    width: auto !important;
    margin: 0 auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 0 !important;
}

/*header*/
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--bg-header);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-radius: 0 0 8px 8px;
    color: #fff;
    z-index: 20;
}

.header .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .side-nav-btn {
    width: 20px;
    flex-shrink: 0;
}

.header .side-nav-btn img {
    width: 100%;
}

.header .logo img {
    height: 35px;
}

.header .userpart {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

.header .username-wrapper {
    display: flex;
    align-items: center;
    background: var(--theme-color2);
    border-radius: 30px;
    padding: 5px 10px;
    min-width: 0;
    max-width: 200px;
    flex: 1;
}

.header .username {
    flex: 1;
    min-width: 0;
    border-right: 1px var(--line1) solid;
    padding-right: 5px;
    display: flex;
    align-items: center;
}

.header .username-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    font-size: 12px;
}

.header .balance {
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--theme-color3);
    padding-left: 5px;
    display: flex;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 13px;
}

.header .balance .currency {
    color: var(--text-color2);
    opacity: 0.8;
    font-weight: bold;
    font-size: 0.5rem;
    padding-right: 5px;
}

.back-btn {
    border-radius: 10px;
    padding: 5px 10px;
    border: 1px solid var(--text-color1);
    color: var(--text-color1);
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.open-menu {
    overflow: hidden;
}

.open-menu .overlay {
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9;
}

/*side nav drawer*/
.side-nav .swith-mode-wrapper{
    margin: 5px 0;
    background-color: var(--item-side-nav-bg);
    color: var(--text-color1);
    border-radius: 10px;
}
.side-nav .swith-mode-wrapper .btn-swith{
    padding: 7px 10px;
    display: flex;
    gap: 10px;
    font-weight: 500;
    position: relative;
    padding-right: 15px;
    align-items: center;
}
.side-nav .swith-mode-wrapper .mode-icon{
    width: 18px;
}
.side-nav .swith-mode-wrapper .btn-swith:after {
    content: "\f0da";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
    right: 10px;
    color: var(--arrow-color1);
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
}
.open-side-nav {
    overflow: hidden;
}

.open-side-nav .overlay {
    width: 100%;
    height: 100%;
    display: block !important;
    top: 0;
    bottom: 0;
    right: 0;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.side-nav {
    position: fixed;
    height: 100vh;
    overflow-y: scroll;
    z-index: 1;
    top: 0;
    left: -266px;
}

.open-side-nav .side-nav {
    opacity: 1;
    display: block;
    animation: slideInFromLeft 0.3s ease-in-out forwards;
    z-index: 11;
}

@keyframes slideInFromLeft {
    from {
        left: -266px;
    }

    to {
        left: 0;
    }
}

.side-nav-wrapper {
    background: var(--side-nav-bg);
    top: 0;
    right: auto;
    bottom: 0;
    left: auto;
    width: 266px;
    height: 100vh;
    padding: 50px 15px 80px 15px;
    overflow-y: scroll;
}

.side-nav-wrapper .fixed-nav {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 2;
    background: var(--body-bg);
    margin: 0 -15px;
    padding: 10px 15px;
}

#nav-search {
    padding: 7px 10px;
    color: var(--text-color1);
    text-align: left;
    background: var(--item-side-nav-bg);
    text-transform: capitalize;
    border-radius: 10px;
    width: 100%;
}

#nav-search a .icon {
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
}

.side-nav-wrapper ul {
    margin-bottom: 5px;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
}

.side-nav-wrapper .tournament {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--bg-color2);
    box-shadow: 0 0 5px var(--box-shadow1);
    margin-bottom: 10px;
}

.side-nav-wrapper ul li {
    margin: 5px 0;
    background-color: var(--item-side-nav-bg);
    color: var(--text-color1);
    border-radius: 10px;
}

.side-nav-wrapper ul li:first-child {
    margin-top: 0;
}

.side-nav-wrapper ul li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.side-nav-wrapper ul li a {
    padding: 7px 10px;
    display: flex;
    gap: 10px;
    font-weight: 500;
    position: relative;
    padding-right: 15px;
    align-items: center;
}

.side-nav-wrapper ul li a .sport-name {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
}

.side-nav-wrapper ul li a .event-count {
    margin-right: 10px;
}

.side-nav-wrapper ul li .icon {
    width: 18px;
}

.side-nav-wrapper ul li a:after {
    content: "\f0da";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
    right: 10px;
    color: var(--arrow-color1);
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
}

.side-nav-wrapper ul li a.active {
    background: var(--bg-nav-active);
}

.side-nav-wrapper ul li a.sub-menu-btn:after {
    display: none;
}

.side-nav-wrapper ul.sub-menu li {
    border-bottom: 1px var(--line2) solid;
    border-radius: 0;
    margin: 0;
}

.side-nav-wrapper ul.sub-menu li:last-child {
    border-bottom: 0;
}

.side-nav-wrapper .sub-menu {
    margin-bottom: 0;
}

a.card-expanded {
    background-color: var(--theme-color1);
    color: var(--text-color2);
    border-radius: 10px 10px 0 0;
}

a.card-expanded .icon-inactive,
a.card-expanded .icon-active {
    width: 15px;
}

a.card-expanded .icon-inactive {
    display: none;
}

a.card-expanded.collapsed .icon-inactive {
    display: block;
}

a.card-expanded.collapsed .icon-active {
    display: none;
}

a.card-expanded .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 17px;
    right: 10px;
    background-color: var(--arrow-bg2);
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

a.card-expanded.collapsed .arrow {
    position: absolute;
    background-color: var(--arrow-bg);
}

a.card-expanded .arrow:after {
    content: "\f0d7";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
    position: absolute;
    line-height: 15px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--theme-color3);
}

a.card-expanded.collapsed .arrow:after {
    content: "\f0d8";
    color: var(--arrow-color2);
}

a.card-expanded.collapsed {
    background-color: transparent;
    color: var(--text-color1);
}

.event-count {
    background-color: var(--theme-color3);
    padding: 0px 5px;
    border-radius: 5px;
    color: var(--text-color-b);
    line-height: 16px;
}

/*search modal*/

#search-modal {
    z-index: 30;
    height: 100%;
    background: var(--body-bg);
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    position: fixed;
    display: none;
    left: 50%;
    transform: translateX(-50%);
}

#search-modal .searchbar {
    background: var(--theme-color1);
    top: 0;
    right: 0;
    left: 0;
    width: auto;
    height: 50px;
    position: fixed;
    display: flex;
    align-items: center;
    z-index: 10;
}

#search-modal .searchbar .btn-search {
    border-radius: 10px;
    padding: 7px 15px;
    color: var(--text-color3);
    background-color: var(--theme-color3);
    font-weight: 500;
}

#search-modal .input-group {
    height: 50px;
    line-height: 50px;
}

#search-modal .input-group .input-group-text,
#search-modal .input-group .form-control {
    background: none;
    border: none;
    color: #fff;
    height: 50px;
    background-color: transparent !important;
}

#search-modal .input-group .form-control:focus {
    box-shadow: none;
    border: none;
}

#search-modal .input-group .input-group-text {
    border-radius: 0;
}

#search-modal .cancel {
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 0px 15px;
    box-sizing: border-box;
    font-size: 20px;
}

#search-modal .input-group .input-group-text .fa-search {
    color: #fff;
}

#search-modal .input-group .form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#search-modal .input-group .form-control:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#search-modal .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#search-modal .search-result {
    overflow: scroll;
    padding-top: 50px;
    padding-bottom: 95px;
    height: 100vh;
}

#search-modal .search-result ul {
    margin: 0;
    padding: 0;
}

#search-modal .search-result li {
    list-style: none;
    background-color: var(--bg-color1);
    padding: 10px 25px 10px 10px;
    color: var(--text-color1);
    position: relative;
    margin: 10px;
    border-radius: 10px;
}

#search-modal .search-result li:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: "\F054";
    right: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    color: var(--text-color4);
    font-size: 15px;
}

#search-modal .search-result .game-type {
    position: absolute;
    top: 10px;
    right: 25px;
    width: 25px;
}

#search-modal .search-result .game-type img {
    height: 25px;
}

#search-modal .search-result li .game-name span {
    display: inline-block;
    width: calc(100% - 40px);
    vertical-align: middle;
    font-weight: 500;
}

#search-modal .search-result .team {
    font-size: .8rem;
    text-transform: capitalize;
    color: var(--text-color1);
}

#search-modal .search-result .day {
    text-transform: capitalize;
    color: var(--arrow-color2);
    background-color: var(--arrow-bg);
    display: inline-block;
    border-radius: 25px;
    padding: 2px 10px;
    font-size: .7rem;
}

#search-modal .search-result .time {
    color: var(--text-color4);
    font-size: .7rem;
}

#search-modal .no-record {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 30px 10px;
}

#search-modal .no-record img {
    width: 80px;
}

/*content*/
.content-center {
    padding: 10px 10px 120px 10px;
    max-width: 930px;
    margin: 0 auto;
}

/*lobby*/
.lobby-swiper {
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    max-width: 930px;
    margin: 0 auto;
}

.lobby-swiper iframe {
    width: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/*notice marquee*/
.notice-wrapper {
    background-color: var(--bg-color1);
    border-radius: 30px;
    margin-top: 10px;
}

.notice-content {
    height: 25px;
    line-height: 25px;
    display: flex;
    align-items: center;
    padding-right: 10px;
}

.notice-content .icon {
    color: var(--theme-color1);
    width: 30px;
    font-size: 0.8rem;
    padding: 0 10px;
}

.marquee {
    width: 100%;
    overflow: hidden;
}

.marquee span {
    white-space: nowrap;
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

.marquee span:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.sportSwiper .swiper-slide .sport-thumb {
    border-radius: 10px;
    overflow: hidden;
}

.sportSwiper .swiper-slide .name {
    text-align: center;
    display: none;
}

.lobby-title {
    margin: 10px 0;
    color: var(--text-color1);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.lobby-title .icon {
    width: 18px;
    margin-right: 5px;
}

.live-wrapper .live-iframe {
    width: 100%;
    height: 105px;
    overflow: hidden;
}

.upcoming-wrapper .upcoming-iframe {
    width: 100%;
    height: 215px;
    overflow: hidden;
}

.game-container {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--bg-color1);
}

.secton-others .filter-list {
    width: 85px;
    flex-shrink: 0;
}

.secton-others .filter-content {
    flex-grow: 1;
}

.secton-others .game-wrapper {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, 1fr);
}

.secton-others .game-wrapper .item {
    border-radius: 10px;
    overflow: hidden;
}

.secton-others .game-wrapper .item img {
    width: 100%;
}

.secton-others .filter {
    border-radius: 10px;
    background-color: var(--bg-color2);
    text-align: center;
    padding: 7px 5px;
    margin-bottom: 10px;
    color: var(--text-color1);
}

.secton-others .filter .active {
    display: none;
}

.secton-others .filter.mixitup-control-active {
    background-color: var(--theme-color1);
    color: var(--text-color2);
}

.secton-others .filter.mixitup-control-active .inactive {
    display: none;
}

.secton-others .filter.mixitup-control-active .active {
    display: block;
}

.secton-others .filter img {
    width: 25px;
    display: block;
    margin: 0 auto 5px auto;
}

@media only screen and (min-width: 380px) {
    .secton-others .game-wrapper {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 720px) {
    .secton-others .game-wrapper {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(3, 1fr);
    }

    .secton-others .filter-list {
        width: 120px;
        flex-shrink: 0;
    }
}

@media only screen and (min-width: 768px) {
    .secton-others .game-wrapper {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(4, 1fr);
    }
}

/*footer*/
.footer-nav {
    width: 100%;
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 960px;
    z-index: 9;
}

.footer-nav .footer-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 15px 15px 0 0;
    padding: 5px;
    background: var(--bg-footer);
    box-shadow: 0px 0px 16px var(--box-shadow1);
    display: flex;
    gap: 5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--box-shadow1);
}

.footer-nav .footer-single {
    text-align: center;
    text-transform: capitalize;
    width: 25%;
    position: relative;
}

.footer-nav .footer-single.active .footer-icon {
    background-color: var(--theme-color1);
    margin: -12px auto 2px auto;
    border-radius: 100%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 5px var(--box-shadow1);
}

.footer-nav .footer-single [aria-expanded="true"] .footer-name,
.footer-nav .footer-single.active .footer-name {
    color: var(--theme-color1);
}

.footer-nav .footer-single.active .footer-icon .custom-icon {
    filter: brightness(100);
}

.footer-nav .footer-single.active .footer-icon.worldcup{
    background-color: transparent;
    box-shadow: none;
    width: 40px;
    height: 60px;
    margin-top: -20px;
}
.footer-nav .footer-single.active .footer-icon.worldcup .custom-icon,
.footer-nav .footer-single .footer-icon.worldcups .custom-icon{
    filter:none;
    width: 100%;
    height: auto;
}
.footer-nav .footer-single .footer-name {
    color: var(--theme-color1);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.footer-nav .footer-single .footer-icon {
    width: auto;
}

.footer-nav .footer-single .footer-icon .custom-icon {
    width: 25px;
    height: 25px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* .footer-nav .footer-single:nth-child(3):after{
    content: "";
    background-color: var(--bg-footer);
    width: 100%;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    position: absolute;
    top:-17px;
    left: 0;
    right: 0;
    z-index:0;
}
.footer-nav .footer-single:nth-child(3):before{
    content: "";
    width: 100%;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    position: absolute;
    top:-17px;
    left: 0;
    right: 0;
    z-index:0;
    pointer-events: none;
    box-shadow: 0px 0px 5px var(--box-shadow1);
    z-index: -1;
}
.footer-nav .footer-single:nth-child(3) .footer-icon .custom-icon{
    width: 30px;
    height: 30px;
    margin-top: -5px;
}
.footer-nav .footer-single:nth-child(3).active .footer-icon .custom-icon{
    width: 25px;
    height: 25px;
    margin-top: 0px;
}
.footer-nav .footer-single:nth-child(3).active .footer-icon{
    position: relative;
    z-index: 1;
}
.footer-nav .footer-single:nth-child(3):after.active{
    background-color: var(--theme-color3);
} */
.footer-nav .dropdown-menu {
    bottom: 55px !important;
    top: inherit !important;
    padding: 0;
    font-size: .9rem;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--bg-color8);
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

.footer-nav .dropdown.dropdown-full {
    position: static;
}

.footer-nav .dropdown-menu.account-menu {
    width: calc(100% - 10px);
    border: 0;
    margin: 0 auto;
    position: fixed !important;
    overflow-y: scroll;
    bottom: 60px !important;
    z-index: 2;
    background-color: var(--bg-color1);
    color: var(--text-color1);
    padding-top: 10px;
    max-height: calc(100dvh - 115px);
    max-height: calc(-webkit-fill-available - 115px);
}

.footer-nav .dropdown-menu.account-menu ul {
    margin: 0;
    padding: 0 10px;
}

.footer-nav .dropdown-menu.account-menu li {
    list-style: none;
    border-bottom: 1px solid var(--line2);
}

.footer-nav .dropdown-menu.account-menu li.sub-menu li a {
    padding-left: 32px;
}

.footer-nav .dropdown-menu.account-menu li .icon {
    margin-right: 5px;
    width: 15px;
    display: inline-block;
}

.footer-nav .dropdown-menu.account-menu .footer-group {
    width: 100%;
    padding: 10px;
    padding-top: 0;
}

.footer-nav .dropdown-menu.account-menu .footer-wrapper {
    display: flex;
    width: 100%;
    gap: 5px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
}

.footer-nav .dropdown-menu.account-menu .footer-group .footer-item {
    flex-grow: 1;
    flex-basis: 0;
    padding: 0.5rem 0.7rem;
    color: var(--text-color1);
    font-size: 0.7rem;
    text-align: center;
    background-color: var(--bg-color2);
    border-radius: 10px;
}

.footer-nav .dropdown-menu.account-menu .footer-group .footer-item .icon {
    display: block;
    margin: 0 auto;
    font-size: 1.2rem;
}

.footer-nav .dropdown-menu.account-menu .footer-group .footer-item .icon.lang-pic {
    width: 20px;
    margin: 5px auto;
}

.footer-nav .dropdown-menu.account-menu .footer-group .footer-item .icon img {
    width: 100%;
}

.footer-nav .dropdown-menu.account-menu .btn-logout {
    padding: 10px 10px;
    border-radius: 10px;
    color: var(--text-color2);
    background: var(--theme-color1);
    line-height: normal;
    font-size: 0.8rem;
    display: block;
    text-align: center;
    width: calc(100% - 20px);
    max-width: 960px;
    margin: 15px auto;
}

.footer-nav .footer-wrap .footer-single:first-child .dropdown-menu {
    left: 0px !important;
    transform: translateX(0%) !important;
}

.quickbet-icon {
    width: 30px;
}

.footer-nav .dropdown-menu li a,
.footer-nav .dropdown-menu li a:hover,
.footer-nav .dropdown-menu li a:active {
    display: flex;
    font-size: 14px;
    padding: 10px 10px;
    border-bottom: 1px solid var(--line1);
    color: var(--text-color2);
}

.footer-nav .dropdown-menu li.active {
    background-color: var(--theme-color1-hover);
    color: var(--text-color2);
}

.footer-nav .dropdown-menu li:last-child a,
.footer-nav .dropdown-menu li:last-child a:active {
    border-bottom: none;
}

.footer-nav .dropdown-menu.account-menu li a,
.footer-nav .dropdown-menu.account-menu li a:active,
.footer-nav .dropdown-menu.account-menu li a:hover,
.footer-nav .dropdown-menu.account-menu li a:visited {
    font-size: 14px;
    background: none;
    color: var(--text-color1);
}

.footer-nav .dropdown-menu.account-menu:last-child li a,
.footer-nav .dropdown-menu.account-menu:last-child li a:active {
    border-bottom: 1px solid var(--line1);
}

.footer-nav .dropdown-menu .icon-prematch {
    width: 18px;
    margin-right: 10px;
}

/*content sport market page*/

/*sports scroll bar*/

.category-group {
    position: relative;
    z-index: 1;
}

.scrolling-wrapper {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    gap: 5px;
}

.category-group .scrolling-wrapper {
    padding-top: 2px;
}

.scrolling-wrapper .category {
    display: flex;
    text-align: center;
    cursor: pointer;
    padding: 6px 5px;
    align-items: center;
    background-color: var(--bg-color12);
    border-radius: 10px;
    align-items: center;
    position: relative;
}

.scrolling-wrapper .category.active,
.category-fixed {
    background-color: var(--theme-color1);
    color: #fff;
}

.scrolling-wrapper .event-count,
.category-fixed .event-count {
    color: var(--text-color6);
    font-size: 10px;
    margin-left: 5px;
    background-color: transparent;
}

.scrolling-wrapper .category .live {
    position: absolute;
    top: -2px;
    right: 2px;
    color: #fff;
    border-radius: 2px;
    font-size: 9px;
    font-style: italic;
    font-weight: 500;
    background-color: #D62726;
    line-height: 10px;
    padding: 0px 2px;
}

.scrolling-wrapper .category .sport-icon {
    width: 20px;
    margin-right: 5px;
    display: flex;
    align-items: center;
}

.scrolling-wrapper .category .sport-icon img,
.category-fixed .sport-icon img {
    width: 100%;
}

.scrolling-wrapper .category .sport-name,
.category-fixed .sport-name {
    color: var(--text-color1);
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scrolling-wrapper .category .active {
    display: none;
}

.scrolling-wrapper .category.active .sport-name {
    color: var(--text-color2);
}

.scrolling-wrapper .category.active .active {
    display: block;
}

.scrolling-wrapper .category.active .inactive {
    display: none;
}

.scrolling-wrapper .category.active .event-count {
    color: var(--theme-color3)
}

.upcoming-group {
    margin-top: 10px;
}

.upcoming-group .scrolling-wrapper .upcoming-card {
    padding: 5px 10px;
    border-radius: 7px;
    background-image: var(--pattern-bg);
    background-size: cover;
    background-color: var(--bg-color1);
    color: var(--text-color1);
    font-size: clamp(10px, 2.5vw, 12px);
    max-width: 250px;
    flex-shrink: 0;
    cursor: pointer;
    overflow: visible;
}

.upcoming-group .scrolling-wrapper .upcoming-card.active {
    background-image: var(--pattern-bg1);
    background-color: var(--theme-color1);
    color: var(--text-color2);
}

.upcoming-group .scrolling-wrapper .info {
    border-bottom: 1px solid var(--line2);
    padding-bottom: 5px;
    position: relative;
}

.upcoming-group .scrolling-wrapper .info .info-right,
.upcoming-group .scrolling-wrapper .info .info-right .result-wrapper {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
    align-items: center;
}

.upcoming-group .scrolling-wrapper .info .live {
    color: var(--text-color5);
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    text-transform: uppercase;
    font-style: italic;
}

.upcoming-group .scrolling-wrapper .upcoming-card.active .info {
    border-bottom: 1px solid var(--line1);
}

.upcoming-group .scrolling-wrapper .info,
.upcoming-group .scrolling-wrapper .team {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.upcoming-group .scrolling-wrapper .team .score {
    color: var(--text-color6);
}

.upcoming-group .scrolling-wrapper .league {
    color: var(--text-color1);
    padding-right: 10px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upcoming-group .scrolling-wrapper .team .name {
    padding-right: 10px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upcoming-group .scrolling-wrapper .upcoming-card.active .league,
.upcoming-group .scrolling-wrapper .upcoming-card.active .team .score {
    color: var(--text-color2);
}

.tab-nav2 {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    margin-top: 10px;
}

.tab-nav2 ul {
    display: flex;
    gap: 5px;
}

.tab-nav2 ul li {
    list-style: none;
    text-align: center;
    flex-shrink: 0;
}

.tab-nav2 ul li a {
    color: var(--text-color1);
    background-color: var(--bg-color12);
    display: flex;
    text-transform: capitalize;
    font-size: clamp(11px, 2.5vw, 12px);
    line-height: 14px;
    padding: 7px 10px;
    position: relative;
    align-items: center;
    border-radius: 7px;
    justify-content: center;
    gap: 2px;
    font-size: 14px;
    height: 100%;
    height: 32px;
}

.tab-nav2 ul li a img {
    width: 18px;
}

.tab-nav2 ul li a span {
    display: inline-block;
    background-color: var(--theme-color1);
    color: var(--text-color2);
    font-size: 12px;
    padding: 2px;
    border-radius: 3px;
    line-height: 10px;
}

.tab-nav2 ul li a.active {
    background-color: var(--theme-color1);
    color: var(--text-color2);
    border: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.tab-nav2 ul li a.active img {
    filter: brightness(100);
}

.tab-nav2 ul li a img {
    margin-right: 3px;
}

.tab-nav2 ul li a.active span {
    background-color: var(--bg-color1);
    color: var(--text-color3);
}

.tab-nav2 ul li.live a.active span {
    background-color: var(--bg-color11);
    color: var(--text-color2);
}

.tab-nav {
    background-color: var(--bg-color7);
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 5px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.tab-nav ul .scrolling-wrapper li {
    flex-shrink: 0;
}

.tab-nav ul {
    display: flex;
    gap: 2px;
}

.tab-nav ul li {
    list-style: none;
    text-align: center;
    flex: 1;
}

.tab-nav ul li a {
    color: var(--text-color1);
    display: block;
    padding: 5px 10px;
    width: 100%;
    text-transform: capitalize;
    background-color: var(--bg-color1);
}

.tab-nav ul li:first-child a {
    border-radius: 10px 0 0 10px;
}

.tab-nav ul li:last-child a {
    border-radius: 0 10px 10px 0;
}

.tab-nav ul li a.active {
    background-color: var(--theme-color1);
    color: var(--text-color2);
}

.tab-nav ul li a.active img {
    filter: brightness(100);
}

/*function bar*/

.function-bar {
    display: flex;
    width: 100%;
    z-index: 3;
    position: relative;
    margin-top: 10px;
    justify-content: space-between;
}

.function-bar .function-item {
    display: flex;
    gap: 5px;
    overflow-x: scroll;
    margin-right: 5px;
}

.function-bar .dropdown {
    flex-shrink: 0;
}

.function-bar .btn-dropdown {
    background-color: var(--bg-color1);
    padding: 0px 30px 0px 10px;
    height: 30px;
    line-height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.function-bar .btn-icon {
    width: 30px;
    height: 30px;
    padding: 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color12);
    border-radius: 7px;
    color: var(--text-color1);
    cursor: pointer;
    flex-shrink: 0;
}

.function-bar .btn-icon img {
    width: 18px;
}

.function-bar .btn-icon.collapse-all {
    background-color: var(--arrow-bg);
}

.function-bar .btn-icon.fav {
    color: var(--text-color7);
}

.function-bar .btn-icon.fav.active {
    background-color: var(--theme-color3);
    color: var(--text-color3);
}

.function-bar .btn-parlay,
.function-bar .btn-parlay-mmo {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color12);
    border-radius: 7px;
    color: var(--text-color1);
    cursor: pointer;
    white-space: nowrap;
}

.function-bar .btn-parlay.active {
    background-color: var(--theme-color3);
    color: var(--text-color-b);
}

.function-bar .btn-parlay-mmo.active {
    background-color: var(--color-mmo);
    color: var(--text-color2);
}

/*slot page*/
.slot-banner {
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.slot-thumb-wrapper {
    margin-top: 10px;
}

.slot-thumb {
    background-image: var(--pattern-bg);
    border-radius: 10px;
    background-color: var(--bg-color1);
    text-align: center;
    color: var(--text-color2);
    width: 100px;
    flex-shrink: 0;
    display: flex;
    padding: 3px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slot-thumb.active {
    background-image: var(--pattern-bg1);
    background-color: var(--theme-color1);
}

.slot-thumb.active img {
    filter: none;
    opacity: 1;
}

.slot-thumb img {
    filter: brightness(0);
    opacity: 0.8;
}

.slot-title {
    font-size: 14px;
    line-height: 14px;
    border-left: 3px solid var(--theme-color1);
    color: var(--text-color3);
    padding-left: 5px;
    margin: 20px 0 15px 0;
}

.slot-game .game-list-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

@media only screen and (min-width: 390px) {
    .slot-game .game-list-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media only screen and (min-width: 480px) {
    .slot-game .game-list-wrapper {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media only screen and (min-width: 600px) {
    .slot-game .game-list-wrapper {
        grid-template-columns: repeat(6, 1fr);
    }
}

.slot-game .game-list-wrapper .game-item {
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bg-color1);
}

.slot-game .game-list-wrapper .game-item .game-name {
    text-align: center;
    padding: 5px;
    display: block;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 11px;
}

.slot-filter-wrapper {
    display: flex;
    gap: 5px;
}

.slot-filter-wrapper .slot-filter-list {
    border-radius: 10px;
    background-color: var(--bg-color1);
    padding: 7px 10px;
    color: var(--text-color1);
}

.slot-filter-wrapper .slot-filter-list.active {
    background-color: var(--theme-color1);
    color: var(--text-color2);
}

.slot-game .loading-slot,
.slot-game .loading-fail {
    border-radius: 10px;
    background-color: var(--bg-color1);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 15px 15px 15px;
    height: 300px;
}

.slot-game .loading-fail .icon {
    width: 60px;
    opacity: 0.3;
    margin-bottom: 15px;
}

.slot-game .stack {
    --stack-dur: 2s;
    --stack-delay: 0.05;
    --stack-spacing: 15%;
    overflow: hidden;
    position: relative;
    width: 50px;
    height: 100px;
}

.slot-game .stack_card {
    aspect-ratio: 1;
    position: absolute;
    inset: 0;
    top: var(--stack-spacing);
    margin: auto;
    width: 70%;
    transform: rotateX(45deg) rotateZ(-45deg);
    transform-style: preserve-3d;
}

.slot-game .stack_card::before {
    animation: card var(--stack-dur) infinite;
    background-color: var(--theme-color1500);
    border-radius: 7.5%;
    box-shadow: -0.5em 0.5em 1.5em hsl(var(--hue), 90%, 15%, 0.1);
    content: "";
    display: block;
    position: absolute;
    inset: 0;
}

.slot-game .stack_card:nth-child(2) {
    top: 0;
}

.slot-game .stack_card:nth-child(2)::before {
    animation-delay: calc(var(--stack-dur) * (-1 + var(--stack-delay)));
    background-color: var(--theme-color1300);
}

.slot-game .stack_card:nth-child(3) {
    top: calc(var(--stack-spacing) * -1);
}

.slot-game .stack_card:nth-child(3)::before {
    animation-delay: calc(var(--stack-dur) * (-1 + var(--stack-delay) * 2));
    background-color: var(--theme-color1100);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0L1.03553 6.96447C0.372492 7.62751 0 8.52678 0 9.46447V9.54584C0 11.4535 1.54648 13 3.45416 13C4.1361 13 4.80278 12.7981 5.37019 12.4199L7.125 11.25L6 15V16H10V15L8.875 11.25L10.6298 12.4199C11.1972 12.7981 11.8639 13 12.5458 13C14.4535 13 16 11.4535 16 9.54584V9.46447C16 8.52678 15.6275 7.62751 14.9645 6.96447L8 0Z' fill='hsl(0 0% 0% / 0.9)' /%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 45% 45%;
}

/* Animations */
@keyframes card {

    0%,
    100% {
        animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
        transform: translateZ(0);
    }

    11% {
        animation-timing-function: cubic-bezier(0.32, 0, 0.67, 0);
        opacity: 1;
        transform: translateZ(0.125em);
    }

    34% {
        animation-timing-function: steps(1);
        opacity: 0;
        transform: translateZ(-12em);
    }

    48% {
        animation-timing-function: linear;
        opacity: 0;
        transform: translateZ(12em);
    }

    57% {
        animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
        opacity: 1;
        transform: translateZ(0);
    }

    61% {
        animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
        transform: translateZ(-1.8em);
    }

    74% {
        animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
        transform: translateZ(0.6em);
    }

    87% {
        animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
        transform: translateZ(-0.2em);
    }
}

/* highlight page*/
.highlight .tab-nav2 ul li a.active {
    background-color: var(--theme-color1);
    color: var(--text-color2);
}

.highlight .category-group {
    margin-top: 10px;
}

.league-group {
    margin-top: 10px;
}

.league-card {
    padding: 10px;
    border-radius: 7px;
    background-image: var(--pattern-bg);
    background-size: cover;
    background-color: var(--theme-color1);
    color: var(--text-color2);
    font-size: 12px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
}

.league-card.active {
    background-color: var(--theme-color3);
    color: var(--text-color-b);
}

.league-card .icon {
    width: 20px;
}

.highlight-wrapper {
    margin: 10px auto 0 auto;
}

.highlight-wrapper .m-card-header {
    position: relative;
    top: initial;
    padding: 5px 10px;
}

.highlight-wrapper .m-card-header .league-name {
    background-color: transparent;
    padding: 5px;
}

.highlight-wrapper .m-card-header.collapsed .league-name {
    color: var(--text-color1);
}

.highlight-video-group {
    background-color: #000;
    border-radius: 10px;
}

.highlight-video {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    color: #fff;
    margin: 10px auto;
    max-width: 580px;
}

.highlight-video-live {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 200px;
    z-index: 1;
}

/* .highlight-video-live:after{
    content:"" ;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}  */
.highlight-video-live img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.highlight-video-live .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.highlight-video-live .plyr,
.highlight-video-live .plyr__video-wrapper,
.highlight-video-live .plyr__video-embed,
.highlight-video-live video {
    width: 100% !important;
    height: 100% !important;
}

.highlight-video-live iframe {
    width: 100% !important;
    height: 100% !important;
}

.highlight-video .highlight-match-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.highlight-video .highlight-match-info * {
    pointer-events: auto;
}

.highlight-video .highlight-match-info .league-logo {
    width: 22%;
}

.highlight-video .highlight-match-info .league-logo img {
    width: 100%;
}

.highlight-video .highlight-match-info .match-box {
    width: 70%;
    max-width: 500px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-radius: 10px;
    padding: 10px;
}

.highlight-video .highlight-match-info .team-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.highlight-video .highlight-match-info .team-group .team {
    display: flex;
    align-items: center;
    font-size: clamp(12px, 3vw, 16px);
    gap: 2%;
    width: 100%;
    margin-bottom: 2%;
    flex: 1;
    min-width: 0;
}

.highlight-video .highlight-match-info .team-group .team-logo {
    width: 12%;
    max-width: 35px;
    aspect-ratio: 1 / 1;
    padding: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 100%;
}

.highlight-video .highlight-match-info .team-group .team-name {
    display: block;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 5px;
    flex: 1;
    min-width: 0;
    text-transform: capitalize;
}

.highlight-video .highlight-match-info .team-group .team-logo img {
    width: 100%;
}

.highlight-video .team-home,
.highlight-video .team-away {
    width: 10%;
    max-width: 30px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
    height: unset;
    border-radius: 100%;
}

.highlight-video .team-home {
    background-color: #00950F;
}

.highlight-video .team-away {
    background-color: #C11A00;
}

.highlight-video .highlight-match-info .date-wrap {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
    margin-bottom: 5px;
    font-size: clamp(12px, 3vw, 14px);
    display: flex;
    justify-content: space-between;
}

.highlight-video .highlight-match-info .date-wrap .ht-score {
    border-radius: 10px;
    padding: 2px 7px;
    background-color: #044AFF;
}

.highlight-video .highlight-match-info .date-wrap .ht-score span {
    color: #FEDC00;
}

.highlight-play {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15%;
    max-width: 100px;
    height: auto;
    z-index: 3;
}

.highlight-video .header-league {
    position: absolute;
    top: 2%;
    left: 0;
    padding: 3px 0;
    padding-right: 30px;
    padding-left: 2%;
    font-size: clamp(12px, 2vw, 16px);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 68%);
    z-index: 3;
}

.highlight-video .header-league .league {
    display: flex;
    align-items: center;
}

.highlight-video .header-league .league-icon {
    height: 20px;
    margin-right: 5px;
}

.highlight-video .score-box {
    width: 10%;
    max-width: 25px;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: clamp(12px, 2.5vw, 16px);
}

/*mybets*/
.filter-bar {
    background-color: var(--bg-color1);
    padding: 3px 10px 3px 3px;
    border-radius: 10px;
    color: var(--text-color1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    gap: 5px;
}

.filter-bar .btn-dropdown {
    padding: 5px 30px 5px 10px;
    color: var(--text-color1);
    border-radius: 10px;
    border: none;
    background-color: var(--side-nav-bg);
    white-space: nowrap;
}

.filter-bar .total-winlose {
    text-align: left;
}

.filter-bar .total-stake {
    text-align: left;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: 50%;
}

.filter-bar .total-stake .amount {
    font-weight: bold;
    color: var(--text-color8);
}

/*no data*/
.no-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.no-data .empty-icon {
    width: 80%;
    margin: 0 auto;
}

.btn-start-betting {
    border-radius: 10px;
    padding: 7px 15px;
    background-color: var(--theme-color1);
    color: var(--text-color2);
    margin-top: 10px;
}

/* page account */

.item-group {
    background-color: var(--bg-color1);
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-color1);
}

.item-group .item-single {
    line-height: 40px;
    border-bottom: 1px solid var(--line2);
}

.item-group .item-single:last-child {
    border-bottom: none;
}

.item-group .item-single .value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: .5rem;
    text-transform: capitalize;
}

.item-group .item-single .detail {
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: .5rem;
}

.item-group .item-single .detail.grey {
    color: var(--text-color9);
}

.item-group .item-single .detail.editable {
    color: var(--text-color8);
}

/* page contact */
.contact .card {
    border-radius: 10px;
    border: 0;
    color: var(--text-color1);
    background: var(--bg-color1);
}

.contact .description {
    border-bottom: 1px var(--line2) solid;
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: 400;
}

.contact .description p {
    margin: 0px;
    line-height: normal;
}

.contact h5 {
    font-size: 1rem;
    margin-bottom: 0;
}

.contact .info-wrap {
    width: calc(100% - 50px);
    float: left;
    border-bottom: 1px var(--line2) solid;
    position: relative;
    padding: 10px 0;
}

.contact .info-wrap li {
    list-style: none;
    position: relative;
}

.contact .info-wrap li .contact-info {
    font-size: 1rem;
    line-height: 35px;
    color: var(--text-color9);
    font-weight: 400;
}

.contact .info-row:last-child .info-wrap {
    border-bottom: 0rem;
}

.contact .info {
    line-height: 25px;
    font-size: 0.8rem;
    color: var(--text-color9);
    margin-bottom: 0px;
}

.contact .fa-comment-dots,
.contact .contact-info-icon {
    font-size: 1.2rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    color: var(--text-color8);
}

.contact .icon {
    font-size: 1.2rem;
    text-align: center;
    width: 50px;
    float: left;
    color: var(--text-color8);
    padding: 10px 0;
}

.contact h3 {
    font-size: 1.2rem;
    margin-bottom: 0px;
}

/* page message */
.message-page .tab-nav {
    margin-top: 0;
}

.message {
    padding: 10px;
    border-radius: 10px;
    background-color: var(--bg-color1);
    margin-top: 10px;
}

.message .empty {
    font-size: 2rem;
    color: var(--text-color9);
    opacity: 0.5;
}

.date-filter {
    color: var(--text-color3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.date-filter .text {
    padding: 0px 0.5rem;
}

.date-input-wrapper {
    background-color: var(--bg-color1);
    border: none;
    line-height: normal;
    height: 30px;
    color: var(--text-color3);
    font-size: 0.75rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    overflow: hidden;
}

.date-input-wrapper:after {
    font-family: 'Font Awesome 6 Free';
    content: "\f073";
    font-size: 10px;
    font-weight: 300;
    color: var(--text-color1);
    font-size: 14px;
    background-color: var(--bg-color2);
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-input-wrapper input {
    all: unset;
    border: 0;
    box-shadow: none;
    flex: 1;
    width: 100%;
    color: var(--text-color3);
}

.font-weight-bold {
    font-weight: bold;
}

.message-date {
    color: var(--text-color4);
    margin-top: 20px;
}

.no-info {
    filter: brightness(0.9);
    width: 80px;
    margin: 0 auto;
}

/*result*/
.result-league-header {
    padding: 5px 10px;
    color: var(--text-color1);
    background-color: var(--bg-color1);
    position: relative;
    border-radius: 10px;
}

.result-league-header:before {
    font-family: 'Font Awesome 6 Free';
    content: "\f077";
    font-size: 10px;
    font-weight: 300;
    color: var(--text-color1);
    font-size: 0.9rem;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.result-league-header.collapsed:before {
    content: "\f078";
}

.page-group .bet-slip.result {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}


.page-group .bet-slip.result .stake-info-wrapper {
    box-shadow: none;
}

.page-group .bet-slip.result .stake-info {
    border-top: 3px #7087ab solid;
}

.result-page .btn-result-group {
    display: flex;
    gap: 5px;
    align-items: stretch;
    flex: 1;
}

.result-page .date-filter {
    align-items: stretch;
    gap: 5px;
}

.result-page .date-filter .btn-result {
    background: var(--theme-color1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-color2);
    border-radius: 10px;
    padding: 0px 10px;
    flex: 1;
}

.result-page .filter-bar {
    display: flex;
    gap: 5px;
    background: var(--bg-color1);
    border-radius: 10px;
    padding: 5px;
}

.result-page .filter-bar .sport-btn {
    display: flex;
    flex: 1;
    width: 30%;
}

.result-page .filter-bar .league-btn {
    display: flex;
    flex: 1;
    width: 70%;
}

.result-page .btn-dropdown {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 6px;
}

.result-page .btn-dropdown span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-page .dropdown-menu {
    width: 100%;
}

.result-page .dropdown-menu .dropdown-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-page .result-group {
    margin-top: 10px;
}

.bet-slip.result {
    background-color: var(--bg-color10);
    border-radius: 10px;
    overflow: hidden;
    display: block;
    line-height: initial;
    aspect-ratio: initial;
    padding: 0;
}

.result-page .stake-info-wrapper {
    background-color: var(--bg-color1);
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
    box-shadow: 0 0 5px var(--box-shadow1);
}

.result-page .stake-info-wrapper .stake-info {
    border-bottom: 1px solid var(--line2);
}

.result-page .stake-info-wrapper:first-child {
    margin-top: 0;
}

.result-page .stake-info-group {
    padding: 10px;
}

.result-page .bet-slip .footer-slip {
    border-radius: 0;
    box-shadow: none;
    padding: 0px;
}

.result-page .footer-slip .payout-wrapper {
    font-size: 14px;
    padding: 10px;
}

.result-page .bet-details {
    font-size: 12px;
    padding: 10px;
    background-color: var(--bg-color2);
}

.result-page .bet-details .text-right {
    text-align: right;
}

/* page betting rules */

.betting-rules-item {
    border: none;
    border-radius: 10px;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    font-size: .9rem;
    margin-top: 5px;
    color: var(--text-color3);
    background-color: var(--bg-color1);
    text-transform: capitalize;
    display: flex;
    gap: 10px;
    box-shadow: 0 0 5px var(--box-shadow1);
}

.betting-rules-item span {
    font-size: 0.8rem;
}

.betting-rules-item .icon {
    width: 20px;
}

.tc-content {
    font-size: 12px;
    text-align: justify;
    padding: 10px 15px;
    color: var(--text-color3);
    background-color: var(--bg-color1);
    border-radius: 10px;
}

.tc-content ul {
    padding-left: 15px;
}

.tc-content li {
    list-style: none;
    margin-top: 10px;
}

.tc-content h1 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 10px;
    line-height: normal;
}

.tc-content p {
    margin-bottom: 0px;
}

.tc-content dt,
.tc-content dd {
    display: inline-block;
    vertical-align: top;
    margin-top: 10px;
    margin-bottom: 0px;
}

.tc-content dd dt,
.tc-content dd dd {
    display: block;
    width: auto;
}

.tc-content dd dt span {
    font-size: 0.9rem;
    font-weight: 700;
}

.tc-content dt {
    width: 30px;
    font-size: 0.8rem;
    font-weight: 900;
}

.tc-content dd {
    width: calc(100% - 34px);
}

.tc-content table td {
    padding: 5px 10px;
    vertical-align: top;
}

/* select league */

.select-header {
    position: sticky;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0px;
    z-index: 10;
}

.select-header .select-btn-wrapper {
    display: flex;
    gap: 5px;
}

.select-header .btn-select-all,
.select-header .btn-deselect-all,
.select-header .btn-done {
    background-color: var(--bg-color2);
    border-radius: 10px;
    padding: 0px 10px;
    font-size: 14px;
    color: var(--text-color3);
    line-height: 30px;
}

.select-header .btn-select-all.active,
.select-header .btn-deselect-all.active {
    background-color: var(--theme-color1);
    color: var(--text-color2);
}

.select-header .icon {
    height: 20px;
    color: var(--text-color2);
}

.select-header .icon .remember {
    margin-top: 0px;
    margin-right: 15px;
}

.select-header .icon .remember .text {
    display: inline-block;
    color: var(--text-color2);
}

.select-league .single-league {
    background: var(--bg-color1);
    color: var(--text-color1);
    padding: 7px 10px;
    border-radius: 10px;
    margin-top: 5px;
    box-shadow: 0 0 5px var(--box-shadow1);
}

.select-league .single-league:last-child {
    margin-bottom: 0;
}

.select-league .check-wrap {
    display: flex;
    align-items: center;
}

.select-league .single-league .remember {
    text-align: left;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.select-league .single-league .remember .badge-league {
    color: var(--text-color5);
    font-weight: 700;
}

/*live tv*/
.highlight-wrapper .league-name.collapsed {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 5px 10px;
    background-color: var(--bg-color12);
    color: var(--text-color1);
}

.highlight-wrapper .league-name {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 5px 10px;
    background-color: var(--theme-color1);
    color: var(--text-color2);
    position: relative;
}

.highlight-wrapper .league-name .league-logo {
    width: 25px;
}

.highlight-wrapper .video-group .highlight-video-wrapper {
    padding: 10px;
}

.highlight-wrapper .video-group .highlight-video {
    margin-bottom: 0;
}

.highlight-wrapper .card {
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bg-color1);
    margin-top: 10px;
}

.pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff0000;
    box-shadow: 0 0 0 #ff0000;
    animation: pulsing 2s infinite !important;
    transition: all 0.2s;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}


@keyframes pulsing {
    from {
        box-shadow: 0 0 0 0 #ff0000;
    }

    70% {
        box-shadow: 0 0 0 7px rgba(255, 0, 0, 0);
    }

    to {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.highlight-wrapper .btn-view-odd {
    border-radius: 10px;
    padding: 5px 10px;
    color: var(--text-color8);
    background-color: var(--bg-color7);
    text-align: center;
    margin-top: 5px;
}

.highlight-wrapper .highlight-video-wrapper {
    margin-top: 10px;
}

.highlight-wrapper .highlight-video-wrapper:first-child {
    margin-top: 0;
}

/*live tv page*/
.live-tv-page .select-match {
    margin-top: 10px;
}

.live-tv-page .btn-dropdown {
    width: 100%;
    background-color: var(--bg-color12);
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-tv-page .btn-dropdown .icon {
    width: 20px;
}

.live-tv-page .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
}

.live-tv-page .dropdown-menu .dropdown-item .icon {
    width: 20px;
}

.live-tv-page .dropdown-menu {
    width: 100%;
}

.live-tv-page .live-tv {
    border-radius: 10px;
    overflow: hidden;
    margin: 10px auto 0 auto;
}

.live-tv-page .live-tv img {
    width: 100%;
}

/*page setting custom sport */
#sortable .list-group-item {
    padding: 0 10px;
    line-height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line2);
    gap: 5px;
    background-color: transparent;
}

#sortable .list-group-item.bg-info-subtle {
    background-color: var(--bg-color2) !important;
}

#sortable .list-group-item:last-child {
    border-bottom: 0;
}

#sortable .list-group-item .icon-sequence {
    position: relative;
    margin-left: auto;
    order: 99;
}

#sortable .list-group-item .icon-sequence:before {
    font-family: 'Font Awesome 6 Free';
    content: "\f0c9";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-color1);
}

#sortable .list-group-item .sort-pic {
    position: relative;
    display: block;
    width: 20px;
}

#sortable .list-group-item .sort-pic img {
    width: 100%;
}

#sortable .list-group-item .sort-sport {
    font-size: .9rem;
    text-transform: capitalize;
    display: block;
    color: var(--text-color1);
}


/*API*/
.header-api-site {
    display: none;
}

.api-site-notice {
    display: none;
    margin: 0 0 10px 0;
}

/*preloader*/
.preloader {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 19;
    background-color: var(--bg-color1);
}

.ball-loading-wrap {
    position: relative;
    height: 105px;
    width: 60px;
}

.ball-loading-wrap::after {
    background: rgba(0, 0, 0, 0.2);
    bottom: 0;
    content: "";
    height: 30px;
    position: absolute;
    left: 0;
    right: 0;
    border-radius: 50%;
    transform: scaley(0.1);
    transform-origin: center bottom;
    -webkit-animation-name: bounceballShadow;
    -webkit-animation-duration: 0.4s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-delay: 0;
    -webkit-animation-timing-function: ease-out;
    animation-name: bounceballShadow;
    animation-duration: 0.4s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-delay: 0;
    timing-function: ease-out;
    animation-play-state: running;
    animation-fill-mode: none;
}

.ball-loading-wrap .ball {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    position: absolute;
    bottom: 0;
    left: 0;
    -webkit-animation-name: bounceball;
    -webkit-animation-duration: 0.4s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-delay: 0;
    -webkit-animation-timing-function: ease-out;
    animation-name: bounceball;
    animation-duration: 0.4s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-delay: 0;
    timing-function: ease-out;
    animation-play-state: running;
    animation-fill-mode: none;
    overflow: hidden;
}

.ball-loading-wrap .ball svg {
    height: 60px;
    width: 60px;
}

.ball-loading-wrap .outer {
    fill: var(--theme-color1);
}

.ball-loading-wrap .inner {
    fill: var(--bg-color1);
}

.ball-loading-general {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.ball-loading-general .ball-loading-wrap {
    height: 80px;
    width: 35px;
    margin: 0 auto;
}

.ball-loading-general .ball-loading-wrap .ball {
    animation-name: bounceball2;
    -webkit-animation-name: bounceball2;
}

.ball-loading-general .ball-loading-wrap .ball,
.ball-loading-general .ball-loading-wrap .ball svg {
    height: 35px;
    width: 35px;
}

@-webkit-keyframes bounceball {
    from {
        bottom: 0;
        height: 45px;
    }

    10% {
        bottom: 0;
        height: 55px;
    }

    to {
        bottom: 50%;
    }
}

@keyframes bounceball {
    from {
        bottom: 0;
        height: 50px;
    }

    10% {
        bottom: 0;
        height: 60px;
    }

    to {
        bottom: 50%;
    }
}

@keyframes bounceball2 {
    from {
        bottom: 0;
        height: 30px;
    }

    10% {
        bottom: 0;
        height: 40px;
    }

    to {
        bottom: 50%;
    }
}

@-webkit-keyframes bounceball2 {
    from {
        bottom: 0;
        height: 30px;
    }

    10% {
        bottom: 0;
        height: 40px;
    }

    to {
        bottom: 50%;
    }
}

@keyframes bounceballShadow {
    from {
        background: rgba(0, 0, 0, 0.2);
        transform: scaleY(0.1) scaleX(1);
    }

    10% {
        background: rgba(0, 0, 0, 0.3);
        transform: scaleY(0.1) scaleX(0.8);
    }

    to {
        background: rgba(0, 0, 0, 0.2);
        transform: scaleY(0.1) scaleX(1);
    }
}

.cashout-wrapper {
    padding: 0px 10px 10px 10px;
}

.cashout-btn-wrapper .btn-cancel,
.cashout-btn-wrapper .btn-confirm,
.modal-bottom .modal-body .setting .btn-wrapper .btn-cancel,
.modal-bottom .modal-body .setting .btn-wrapper .btn-confirm {
    width: 100%;
    border-radius: 5px;
    padding: 7px 10px;
    text-align: center;
    font-size: 14px;
}

.cashout-btn {
    border: 1px solid var(--text-color8);
    color: var(--text-color8);
    width: 100%;
    border-radius: 5px;
    padding: 5px 10px;
    text-align: center;
    font-size: 14px;
    display: flex;
    gap: 5px;
    justify-content: center;
}

.cashout-info {
    border-radius: 5px;
    background-color: var(--bg-color1);
    padding: 10px;
    margin-top: 10px;
    border: 1px solid var(--line2);
    display: none;
}

.cashout-btn .icon svg {
    width: 20px;
}

.cashout-btn-wrapper,
.modal-bottom .modal-body .setting .btn-wrapper {
    display: flex;
    gap: 10px;
}

.cashout-btn-wrapper .btn-cancel,
.modal-bottom .modal-body .setting .btn-wrapper .btn-cancel {
    background-color: var(--bg-color3);
    color: var(--text-color3);
}

.cashout-btn-wrapper .btn-confirm,
.modal-bottom .modal-body .setting .btn-wrapper .btn-confirm {
    background-color: var(--theme-color3);
    color: var(--text-color-b);
}

.modal-cashout .btn-confirm {
    width: 100%;
    border-radius: 5px;
    padding: 5px 10px;
    text-align: center;
    font-size: 14px;
    background-color: var(--theme-color3);
    color: var(--text-color-b);
    margin-top: 10px;
}

.cashout-btn .icon-color {
    width: 20px;
    fill: var(--theme-color1);
}

.modal-cashout .info-row {
    border-bottom: 1px solid var(--line2);
    padding: 5px;
}

.statement-wrap .small-text {
    font-size: 12px;
    opacity: 0.6;
}

.modal-cashout .btn-close,
.modal-bottom .modal-body .setting .btn-close {
    display: inline-block;
    border-radius: 5px;
    padding: 5px 10px;
    text-align: center;
    font-size: 14px;
    background: none;
    background-color: var(--theme-color3);
    margin-left: auto;
    order: 99;
    margin-top: 10px;
    opacity: 1;
    display: inline-block;
    width: auto;
    height: auto;
}

.modal-cashout .modal-header {
    background-color: var(--theme-color1);
    color: var(--text-color2);
    padding: 7px 15px;
    font-size: 14px;
}

.modal-bottom .modal-body .setting {
    padding: 15px;
}

.modal-bottom .modal-body .setting .form-control {
    display: block;
    width: 100%;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color1);
    background-color: var(--bg-color1);
    background-clip: padding-box;
    border: 1px solid var(--line2);
    border-radius: 10px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-bottom: 10px;
}

.modal-bottom .modal-body .setting .form-control::placeholder {
    color: var(--text-color1);
}

.modal-bottom .text-small {
    line-height: 1.2;
    font-size: 12px;
    color: var(--text-color3) !important;
    opacity: 0.5;
    display: flex;
    gap: 5px;
}

.modal-bottom .text-small:before {
    content: "*";
}

.sport-title {
    display: inline-flex;
    gap: 5px;
    font-size: 16px;
    margin-top: 16px;
    color: var(--text-color1);
    flex-direction: column;
}

.sport-title:after {
    content: "";
    height: 3px;
    width: 100%;
    background: var(--bg-title);
    margin-top: -9px;
}

.sport-title .icon {
    width: 20px;
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.refresh-wrapper {
    padding: 0.5rem 0.7rem 0px;
}

.refresh-wrapper .refresh-count {
    color: var(--text-color1);
    text-transform: capitalize;
    font-size: 0.8rem;
    padding: 3px 10px 3px 3px;
    background-color: #f9d040;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 10px #b79930;
}

.note-panel {
    padding: .5rem;
    margin: .5rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    -webkit-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    -webkit-box-shadow: 0px 1px 1.5px rgba(0, 0, 0, 0.12);
    box-shadow: 0px 1px 1.5px rgba(0, 0, 0, 0.12);
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
}

/*Time Machine*/
.time-machine-wrapper{
    border-radius: 12px;
    padding: 32px 24px 24px 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}
.header-icons{
    display: flex;
    font-weight: 500;
}
.header-icons span {
    margin-left: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: 0.2s;
    font-size: 0.9rem;
}

.header-icons span:hover {
    color: #fff;
}
.main-display {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 30px;
}
.time-machine-odds-wrapper{
    padding: 0px 24px 24px 24px;
    width: 100%;
    border-top: 1px solid var(--line2);
}
.odds-column {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows:min-content;
    gap: 5px;
    width: 100%;
}
.odds-header {
    grid-column: span 2;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 2px;
    height:auto;
    margin-top: 16px;
}
.odds-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--box-bg);
    border: 1px solid var(--line2);
    border-radius: 6px;
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    height: 40px;
}
.odds-box:hover {
    background-color: var(--bg-odd-box-selected);
    border: 1px solid var(--theme-line);
    transform: translateY(-2px);
}
.odds-label {
    font-size: 13px;
    color: var(--text-color8);
}
.odds-label span{
    color: var(--text-color3);
    opacity: 0.5;
}
.odds-value {
    font-size: 16px;
    font-weight: 700;
}

.meter-container {
    position: relative;
    width: 250px;
    height: 125px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 15px;
}

.meter-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
#ringGradient{
    box-shadow: 0 0 16px #000;
}
.meter-marks {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.meter-mark {
    position: absolute;
    font-size: 12px;
    color: var(--text-color1);
    font-weight: 700;
}

.mark-0 {
    left: -12px;
    bottom: 0px;
}

.mark-45 {
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
}

.mark-90 {
    right: -16px;
    bottom: 0px;
}

.bubble-pivot {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 88.5px;
    transform-origin: bottom center;
    transition: transform 0.2s ease-out;
    z-index: 10;
}

.time-bubble {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #7b2cbf, #e53935);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease-out;
}

.needle-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 73px;
    transform-origin: bottom center;
    transform: rotate(-90deg);
    transition: transform 0.2s ease-out;
    z-index: 5;
}

.needle {
    position: absolute;
    bottom: 0;
    left: -2px;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
    border-radius: 2px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pivot {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border: 2px solid #fff;
    border-radius: 50%;
    z-index: 6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.slider-section {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    margin-bottom: 20px;
}

.slider-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.marker-min-time {
    position: absolute;
    left: 6.66%;
    top: 100%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    font-size: 0.7rem;
    color: #fff;
    background-color: var(--text-muted);
    font-weight: 600;
    padding: 0 10px;
    border-radius: 3px;
    pointer-events: none;
}

.marker-min-time::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-bottom: 5px solid var(--text-muted);
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
}

.control-btn {
    background-color: var(--panel-bg);
    color: var(--text-color1);
    border: 1px solid var(--line2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.control-btn:hover:not(:disabled) {
    background-color: var(--box-bg);
    border-color: var(--line2);
    color: var(--text-color1);
}

.control-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    border-color: var(--line2);
}

input[type="range"] {
    -webkit-appearance: none;
    flex-grow: 1;
    height: 10px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);

    background: linear-gradient(to right,
            #cbd5e1 0%,
            #cbd5e1 var(--min-progress, 6.66%),
            #00ee6e var(--min-progress, 6.66%),
            #3d80c9 50%,
            #722df2 100%);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #d1d9e6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 6px;
    width: 100%;
}

.quick-btn,
.quick-btn:hover{
    background-color: var(--box-bg);
    border: 1px solid var(--line2);
    padding: 6px 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-color3);
}
.quick-btn.active {
    background-color: var(--theme-color1);
    color: #fff;
    border-color: var(--theme-color1);
    box-shadow: 0 4px 10px rgba(56, 92, 182, 0.2);
}
.icon-stroke {
  stroke: #888894;
}
@media (max-width: 550px) {
    .main-display {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .odds-column {
        flex: 1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: min-content;
        gap: 5px;
    }
    .quick-buttons {
        grid-template-columns: repeat(5, 1fr);
    }
    .quick-btn:last-child{
        grid-column: span 2;
    }
}

.worldcup-title{
    display: flex;
    gap: 10px;
    align-items: center;
    background-image: url(../images/worldcup-bg.png);
    background-size: 100%;
    background-position: bottom center;
    background-repeat: no-repeat;
    border-radius: 10px;
    margin: 10px 0;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    width: 100%;
}

.worldcup-title .icon{
    width: 35px;
}
.worldcup-title .wc-info-btn{
    background-color: #000;
    border:1px solid #fff;
    border-radius: 10px;
    padding: 3px 7px;
    order:99;
    margin-left: auto;
    font-weight: 500;
    cursor: pointer;
    font-size: clamp(12px, 3vw, 14px);
}