/* New style */
.menu-top-nha-cai a {
    background: linear-gradient(102deg, #B3421E -7.82%, #8F1512 110.99%) !important;
    fill: linear-gradient(102deg, #B3421E -7.82%, #8F1512 110.99%)  !important;
}
.menu-cuoc-8xbet a {
    background: unset !important;
    padding: 0 !important;
}
.menu-cuoc-8xbet a img {
    height: 36px;
}

.main-page .sports-bars {
    margin-bottom: 0;
}
.page_bars {
    border-radius: 7px 7px 0px 0px !important;
    position: relative;
    border: 1px solid #3A3B6B;

    background: linear-gradient(0deg, #242B44 0%, #15192A 100%);
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.32) inset;
    border-bottom: none;
}
.filter-tab-wrapper {
	border-radius: 0px 0px 7px 7px !important;
	border: 1px solid #3A3B6B;

    background: #202538;
    border-top: none;
}
.grid-match {
	background-color: #232323 !important;
}
#football .grid-match {
	background: url(/wp-content/themes/bongda/dist/images/bg-match/bg-match-football.png) lightgray 50% / cover no-repeat;
}

#tennis .grid-match {
	background: url(/wp-content/themes/bongda/dist/images/bg-match/bg-match-tennis.png) lightgray 50% / cover no-repeat;
	background-size: cover;
}
#basketball .grid-match {
	background: url(/wp-content/themes/bongda/dist/images/bg-match/bg-match-basketball.png) lightgray 50% / cover no-repeat;
	background-size: cover;
}
#volleyball .grid-match {
	background: url(/wp-content/themes/bongda/dist/images/bg-match/bg-match-volleyball.png) lightgray 50% / cover no-repeat;
	background-size: cover;
}
#badminton .grid-match {
	background: url(/wp-content/themes/bongda/dist/images/bg-match/bg-match-badminton.png) lightgray 50% / cover no-repeat;
	background-size: cover;
}
/* Football Footer */
.grid-match__footer-football {
    display: none;
    justify-content: center;
    margin-bottom: 10px;
}

.grid-match__footer-football .grid-match--flag {

    justify-content: space-between;
}

/* Match Flag Container */
.grid-match--flag {
    /* background: #373737; */
    /* color: #ACACAC; */
    font-family: 'Roboto';
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    /* border-radius: 24px; */
    /* padding: 6px 14px; */
    gap: 10px;
}

/* Goal Scoring Section */
.grid-match__goal-scoring {
    display: flex;
    align-items: center;
    gap: 4px;
}

.grid-match__goal-scoring span {
    color: #00C44D;
}

.grid-match__goal-scoring .grid-match__half-court {
    color: #fff;
}

/* Corner Ball Section */
.grid-match__corner-ball {
    display: flex;
    align-items: center;
    gap: 6px;
}

.grid-match__corner-ball .icon {
    display: inline-block;
    vertical-align: middle;
}

/* Yellow Card Section */
.grid-match__yellow-ball {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Common Icon Styles */
.icon.fs-12 {
    font-size: 12px;
}

/* Score Display */
.corner-goal,
.yellow-cards {
    color: #fff;
}

/* Responsive */
@media (max-width: 1200px) {
    .grid-match__footer-football {
        display: flex;
    }
}

@media (max-width: 576px) {
    .grid-match--flag {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .grid-match__footer-football .grid-match--flag {
        
    }
}

/* Match Footer */
.grid-match__footer {
    border-radius: 7px;
    position: relative;
    height: 37px;
    padding: 0 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* top: 0px; */
}

.grid-match__footer::before {
    content: '';
    position: absolute;
    background: url(../images/border-match-footer.svg) no-repeat top;
    width: 100%;
    height: 37px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-size: contain;
}

.grid-match__footer::after {
    content: '';
    opacity: 0.32;
    background: linear-gradient(90deg, #333A42 0%, #FFF 48.79%, #333A42 97.58%);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 107px;
    max-width: 100%;
    height: 1px;
}

/* Footer Sections */
.grid-match__footer-left {
    flex: 1;
    display: flex;
    z-index: 2;
}

.grid-match__footer-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.grid-match__footer-right {
    flex: 1;
    z-index: 2;
}



/* Score Elements */
.grid-match__goal-scoring {
    gap: 6px;
}

.grid-match__goal-scoring span {
    color: #00C44D;
}

.grid-match__half-court {
    color: #fff;
}

.grid-match__corner-ball,
.grid-match__yellow-ball {
    gap: 6px;
    align-items: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .grid-match__footer .grid-match__footer-left {
        display: none;
    }
}

@media (max-width: 992px) {
    .grid-match__footer {
        padding: 10px;
    }
}

@media (max-width: 575px) {
    .grid-match__footer-right svg {
        width: 52px;
    }
}

/* Match Odds Container */
.grid-match__odds {
    color: #8D92A2;
    font-family: 'Roboto';
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
    position: relative;
    min-width: 105px;
}

/* Odds Item Row */
.grid-match__odds-item {
    display: flex;
    justify-content: space-between;
    line-height: 16px;
    gap: 15px;
    position: relative;
}

/* Individual Odds Value */
.grid-match__odds-item p {
    color: #8D92A2;
    font-family: 'Roboto';
    font-size: 11px;
    margin: 0;
    position: relative;
    display: flex;
    flex: 1;
    justify-content: center;
}

/* Separator Lines */
div[odds]:not([odds=""]) .grid-match__odds::before,
div[odds]:not([odds=""]) .grid-match__odds::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 1px;
    height: 24px;
    opacity: 0.3;
    background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0) 100%);
}

div[odds]:not([odds=""]) .grid-match__odds::before {
    left: 30px;
}

div[odds]:not([odds=""]) .grid-match__odds::after {
    right: 30px;
}

/* Hide Empty Odds */
div[odds=""] .grid-match__odds {
    opacity: 0 !important;
}

/* Odds Status Colors */
.grid-match__odds-item .down {
    color: #FF0000;
}

.grid-match__odds-item .up {
    color: #00C44D;
}

/* Responsive */
@media (max-width: 575px) {
    .grid-match__odds {
        min-width: inherit;
    }
    
    .grid-match__odds,
    .grid-match__odds-item p {
        font-size: 8.939px;
    }
    
    .grid-match__odds-item {
        gap: 10px;
    }
    
    div[odds]:not([odds=""]) .grid-match__odds::before,
    div[odds]:not([odds=""]) .grid-match__odds::after {
        display: none;
    }
    
    .grid-match__odds-item p {
        text-align: center;
        white-space: nowrap;
    }
}

/* Commentator Container */
.grid-match__footer-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    z-index: 2;
}

/* Main Commentator Link */
.commentator {
    color: #BBB;
    font-size: 11px;
    font-weight: 500;
    line-height: 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Commentator More Dropdown */
.commentator-more .commentator-toggle-btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 38px;
    color: #bbbbbb;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 2;
    position: relative;
}

.commentator-more .commentator-toggle-btn::after {
    display: none;
}

/* Left Line Separator */
.commentator-more .commentator-toggle-btn .line-left {
    position: absolute;
    left: -6px;
    top: 0;
}

/* Counter Badge */
.commentator-more .blv-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.commentator-more .blv-count span {
    font-size: 11px;
    line-height: 10px;
}

/* Dropdown Menu */
.commentator-more .commentator-list {
    width: 100px;
    background: #303030;
    border-radius: 6px;
    padding: 6px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.commentator-more .commentator-list a {
    margin-bottom: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.commentator-more .commentator-list a:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Hide First Commentator in List */
.commentator-more .commentator-list .commentator-item_0 {
    display: none !important;
}
.grid-match__goal-scoring, .grid-match__corner-ball, .grid-match__yellow-ball {
    background: #2C314E;
    border-radius: 24px;
    padding: 3px 6px;
}
.sports-bars .nav-link.active:before {
	content: "";
    background: url(/wp-content/themes/bongda/dist/images/button-tab-active.png);
    display: block;
    width: 75px;
    position: absolute;
    height: 2px;
    top: 1px;
}
.main-page .sports-bars ul li button.active, .main-page .sports-bars ul li button:focus, .main-page .sports-bars ul li button:hover {
    color: #00FFFD !important;
}
.main-page .sports-bars ul li button span {
    text-align: center;
    text-shadow: 0px 0.92px 3.678px rgba(0, 0, 0, 0.24);
    font-family: Oswald;
    font-size: 13.793px;
    font-style: normal;
    font-weight: 600;
    line-height: 16.552px; /* 120% */
    text-transform: uppercase;
}
.gmd-elapsed-time {
    position: relative;

}
p#gmd_minutes {
    z-index: 1;
    position: relative;
}
.progress-bar {
	content: "";
    width: 0%;
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    background-image: url(/wp-content/themes/bongda/dist/images/bg-match/bg-match-status-spent.svg?t=1);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 7px !important;
	z-index: 0;
}
/* Responsive */
@media (max-width: 575px) {
    .commentator {
        font-size: 10px;
    }
    
    .commentator svg {
        width: 34px !important;
        height: 34px !important;
    }
	.filter-tab-wrapper {
		margin-top: -12px;
	}
}
/*BLV*/
.gmd-match-footer__streamer {
	display: flex;
	gap: 5px;
	align-items: center;
	color: #bbbbbb;
	justify-content: flex-end;
}
/* BLV toggle */
.extra-info {
	display: none;
	flex-direction: row;
	gap: 5px;
}
.toggle-btn {
	position: relative;
	background: none;
	border: none;
	color: #bbbbbb;
	/* background-color: #122A33; */
	border: none;
	border-radius: 38px;
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}
.toggle-btn::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	width: 1px;
	height: 24px;
	opacity: 0.3;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0) 0%,
		#fff 54.5%,
		rgba(255, 255, 255, 0) 100%
	);
}
.blv-count {
	display: flex;
	align-items: center;
	gap: 5px;
}
span.blv-arrow {
	color: #BBBBBB;
}
.gmd-match-footer__streamer.active span.blv-arrow {
	color: #2C73F2;
}
/* .gmd-match-footer__streamer.active span:first-child {
	display: none;
} */
 .gmd-match-footer:has(.no-blv),
 .gmd-match-footer:has(.int-blv) {
  grid-template-columns: 1fr 1fr 1fr;
}
.gmd-match-footer__streamer:has(.no-blv),
.gmd-match-footer__streamer:has(.int-blv)  {
	justify-content: center;
}

.toggle-btn.no-blv:has(img) {
	pointer-events: none;
}
.no-blv .blv-count {
	display: none;
}
.toggle-btn.no-blv::after { 
	display: none; 
}
.toggle-btn:hover,
.gmd-match-footer__streamer.active .toggle-btn {
	/* border: 1px solid #00461D; */
	border: none;
	background: transparent;
}
.gmd-match-footer__streamer.active .toggle-btn img,
.gmd-match-footer__streamer.active .toggle-btn span:first-child {
	display: none;
}
.gmd-match-footer__streamer.active .toggle-btn.no-blv {
	border: 1px solid transparent;
	background-color: transparent;
}
button.toggle-btn span {
	font-size: 12px;
}
.toggle-btn:focus {
	outline: none;
}
.gmd-match-footer__streamer.active .extra-info {
	display: flex;
	align-items: center;
}
/* BLV toggle */
