[data-theme=dark]{
    --body-bg:#151928;
    --bg-header:#202435;
    --bg-footer:#202435;
    --bg-color1:#1C2031;
    --bg-color2:#323955;
    --bg-color3:#2c3249;
    --bg-color4:#2c324a;
    --bg-color5:#313a5a;
    --bg-color6:#f443368f;
    --bg-color7:#0d101a;
    --bg-color8:#202435;
	--bg-color9:#ffffffdc;
	--bg-color10:#2B314A;
    --bg-color11:#DF0000;
    --bg-color12:#282D43;
    --bg-odd-box:#2B314A;
    --bg-odd-box-selected:#2e3a6b91;
    --bg-odd-value:#385cb6;
    --theme-color1: #385cb6;
    --theme-color1-hover: #394266;
    --theme-color2: #2A2F44;
    --theme-color3: #FEDC00;
    --side-nav-bg: #151928;
    --item-side-nav-bg: #202435;
    --footer-nav-bg: #ffffff;
    --text-color1: #ffffff;
    --text-color2: #ffffff;
    --text-color3: #ffffff;
    --text-color4:#9db9ff;
    --text-color5:#ff3131;
    --text-color6:#FEDC00;
    --text-color7:#E6E6E6;
    --text-color8:#93A6DC;
    --text-color9:#ffffff80;
    --text-color10:#FEDC00;
    --text-color-b:#000000;
    --text-reject:#ff4f4f;
    --text-confirm:#00e012;
    --text-waiting:#ff8400;
    --arrow-color1:#ffffff30;
    --arrow-color2:#ffffff30;
    --arrow-bg:#ffffff14;
    --arrow-bg2:rgba(255,255,255,0.1);
    --checkbox-icon:#000;
    --close-icon:rgba(255, 255, 255, 0.5);
    --box-shadow1:rgba(2, 3, 4, 0.6);
    --box-shadow2:rgba(141, 95, 19, 0.2);
    --box-shadow3:rgba(75, 187, 56, 0.2);
    --box-shadow4:rgba(0, 0, 0, 0.5);
    --mmo-color:rgba(74, 160, 119, 0.24);
    --mmo-match-color:linear-gradient(90deg,rgba(0, 172, 63, 1) 1%, rgba(0, 172, 63, 0) 50%, rgba(0, 172, 63, 1) 100%);
    --live-match-color: linear-gradient(90deg,rgb(254, 233, 0) 1%, rgba(254, 233, 0, 0) 50%, rgb(254, 233, 0) 100%);
    --normal-match-color:linear-gradient(90deg,rgba(40, 81, 187, 1) 1%, rgba(40, 81, 187, 0) 50%, rgba(40, 81, 187, 1) 100%);
    --line1:rgba(255, 255, 255, 0.1);
    --line2:rgba(255, 255, 255, 0.1);
    --pattern-bg:url(../images/game-bg.png);
    --pattern-bg1:url(../images/game-bg-w.png);
    --match-bg:#fff;
    --odds-box-bg:#EAEAEA;
    --bs-border-width: 0px;
    --bs-box-shadow-sm: none;
	--bg-transparent:#ffffff70;
    --bg-transparent2:#00000080;
	--bg-gradient:linear-gradient(90deg, #3c73ff 1%, rgba(40, 81, 187, 1) 100%);
    --odds-decrease:linear-gradient(90deg,#00000000 0%, #6f1919 70%, #00000000 100%);
    --odds-increase:linear-gradient(90deg,#00000000 0%, #135b2d 70%, #00000000 100%);
    --color-mmo:#00AC3F;
    --color-virtual:#534b7b;
    --color-virtual2:#3b3b63;
    --bs-list-group-bg: #202435;
    --bg-nav-active:linear-gradient(90deg, rgb(45 62 132) 0%, rgba(0, 0, 0, 0) 100%);
    --bg-title:linear-gradient(90deg, #FEDC00  0%, #fedc0000 100%);
    --bg-top:linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgb(45 62 132) 100%);
    --text-muted: #64748b;
    --box-bg: #2B314A;
    --accent: #ff9800;
    /*tournament*/
	--bg-t-leauge:#E8ECF2;
	--text-green:#00EC59;
	--bg-entry-fee:#1F2437;
	--bg-tournament-detail-info:#323955;

    /*vgame*/
    --bg-home-team:linear-gradient(90deg, rgb(28 32 49) 1%, rgb(35 44 82) 50%, rgba(40, 81, 187, 0) 100%);
    --bg-away-team:linear-gradient(90deg, rgba(255, 0, 0, 0) 0%, rgb(80 36 36) 50%, rgb(28 32 49) 100%);
    --vgame-box-shadow: #11131982;
    --vgame-border-color:#364151;
    
    --hue: 223;
    --primary100: hsl(var(--hue) 90% 95%);
    --primary300: hsl(var(--hue) 90% 75%);
    --primary500: hsl(var(--hue) 90% 55%);
    --primary900: hsl(var(--hue) 90% 15%);
    --trans-dur: 0.3s;
}

[data-theme=dark] .function-bar .btn-icon img,
[data-theme=dark] .all-market .tab-nav ul li a img{
    filter: brightness(100);
}

[data-theme=dark] .market-group .m-card-match{
    box-shadow: 0 5px 5px #2852bb24;
}
[data-theme=dark] .tournament .join-now-wrapper .player i, 
[data-theme=dark] .tournament .join-now-wrapper .player svg, 
[data-theme=dark] .tournament .join-now-wrapper .player span,
[data-theme=dark] .tournament .room-info-wrapper .user-total-points .points,
[data-theme=dark] .footer-slip .payout-wrapper span{
    color: var(--theme-color3);
}
[data-theme=dark]  .vgame-tab-wrapper .vgame-thumb.active .count-down,
[data-theme=dark] #search-modal .searchbar .btn-search{
    color: #000;
}
[data-theme=dark] .modal-bottom .allsport .list-group-item.active,
[data-theme=dark] .modal-bottom .modal-content .setting .list-group-item.active{
    background-color: var(--bg-color4);
}
[data-theme=dark] .modal-bottom .modal-header{
    background-color: var(--theme-color1);
}
[data-theme=dark] .cashout-btn .icon-color{
    width: 20px;
    fill:#93A6DC;
}
[data-theme=dark] .cashout-btn-wrapper .btn-cancel{
    background-color: var(--bg-color4);
}

[data-theme=dark] .no-info{
    opacity: 0.1;
}

[data-theme=dark] .slot-thumb.active img{
    filter: none;
}
[data-theme=dark] .slot-thumb img{
    height: 45px;
    filter: none;
}
[data-theme=dark] #search-modal .no-record img{
    opacity: 0.5;
}

[data-theme=dark] .footer-nav .footer-single.active .footer-icon .custom-icon{
    filter: none;
}
[data-theme=dark] .footer-nav .footer-single [aria-expanded="true"] .footer-name,
[data-theme=dark] .footer-nav .footer-single.active .footer-name,
[data-theme=dark] .footer-nav .footer-single .footer-name{
    color: var(--text-color1);
}
[data-theme=dark] .back-btn{
    border: 1px solid var(--line1);
    color: var(--text-color1);
}
[data-theme="dark"] .footer-nav .footer-wrapper {
    background: #202435bd !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .m-card-body .m-card-item .m-card-wrap{
    box-shadow: none;
}
[data-theme="dark"] .parlay-inner-layer {
    background-color: #2c3249 !important;
}
[data-theme="dark"] .icon-stroke {
  stroke: #d2d2d2;
  color: #d2d2d2;
}
[data-theme="dark"] .paralay-selection-wrapper .left .selection-wrap span.selection{
    color: #000;
}

[data-theme="dark"] .side-nav .swith-mode-wrapper .mode-icon{
    filter: brightness(100);
}

/* Live match cards and betslip selections */
[data-theme="dark"]{
    --live-card-edge: #e65c87;
    --live-card-accent: #ff80aa;
    --live-card-highlight: #ffb3cd;
    --live-card-border-strength: 65%;
    --mobile-live-tag-color: #ff929b;
    --mobile-live-match-border: linear-gradient(
        110deg,
        color-mix(in srgb, var(--live-card-edge) var(--live-card-border-strength), transparent) 0%,
        color-mix(in srgb, var(--live-card-accent) var(--live-card-border-strength), transparent) 25%,
        color-mix(in srgb, var(--live-card-highlight) var(--live-card-border-strength), transparent) 50%,
        color-mix(in srgb, var(--live-card-accent) var(--live-card-border-strength), transparent) 75%,
        color-mix(in srgb, var(--live-card-edge) var(--live-card-border-strength), transparent) 100%
    );
}
[data-theme="dark"] .m-card-body .m-card-item.live::after{
    display: block;
    inset: -1px;
    background: var(--mobile-live-match-border);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    animation: none;
    border-radius: 11px;
}
[data-theme="dark"] .market-group .live .m-card-match-wrapper::after{
    display: block;
    inset: -1px;
    background: var(--mobile-live-match-border);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    animation: none;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border-radius: 9px;
}
[data-theme="dark"] .market-group .layout2 .m-card-match-wrapper::after{
    display: none;
}
[data-theme="dark"] .m-card-body .m-card-item.live .m-card-wrap{
    background: var(--bg-color1);
    box-shadow: none;
}
[data-theme="dark"] .market-group .live .m-card-match{
    background: var(--bg-color1) var(--pattern-bg1) left center / auto no-repeat;
    box-shadow: 0 5px 5px var(--box-shadow2);
}
[data-theme="dark"] .market-group .layout2.live .m-card-match{
    background-image: none;
}
[data-theme="dark"] .market-group .layout2.live.active-open .m-card-match .match-time .live-group{
    background: var(--bg-top);
}
[data-theme="dark"] .m-card-body .m-card-item.live .m-card-odds{
    background: var(--bg-color1);
}
[data-theme="dark"] .modal-betslip .bet-slip-wrapper.live,
[data-theme="dark"] .betslip-group .bet-slip-wrapper.live{
    --betslip-live-body: var(--bg-color1);
    --betslip-live-header: var(--bg-color2);
    --betslip-live-odds: var(--bg-odd-box);
    --betslip-live-close: var(--bg-color2);
    --betslip-live-accent: #ff929b;
    border: 1px solid transparent;
    background: linear-gradient(var(--betslip-live-body), var(--betslip-live-body)) padding-box, var(--mobile-live-match-border) border-box;
    box-shadow: 0 0 6px color-mix(in srgb, var(--betslip-live-accent) 12%, transparent);
}
[data-theme="dark"] .modal-betslip .bet-slip-wrapper.live .bet-type,
[data-theme="dark"] .betslip-group .bet-slip-wrapper.live .bet-type{
    background: var(--betslip-live-header);
    color: var(--text-color2);
}
[data-theme="dark"] .modal-betslip .bet-slip-wrapper.live .bet-type .icon,
[data-theme="dark"] .betslip-group .bet-slip-wrapper.live .bet-type .icon{
    filter: brightness(100);
}
[data-theme="dark"] .modal-betslip .bet-slip-wrapper.live .stake-info,
[data-theme="dark"] .betslip-group .bet-slip-wrapper.live .stake-info,
[data-theme="dark"] .betslip-group .bet-slip-wrapper.live .bet-details-important,
[data-theme="dark"] .betslip-group .bet-slip-wrapper.live .bet-details{
    background: var(--betslip-live-body);
}
[data-theme="dark"] .modal-betslip .bet-slip-wrapper.live .selector-odd,
[data-theme="dark"] .betslip-group .bet-slip-wrapper.live .selector-odd{
    background: var(--betslip-live-odds);
}
[data-theme="dark"] .modal-betslip .bet-slip-wrapper.live .close{
    background: var(--betslip-live-close);
    color: var(--close-icon);
}
