/*
Theme Name: Robong
Description: WordPress theme for Robong sports streaming website
Version: 1.0.0
Author: Robong Team
Text Domain: robong
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #121215;
    color: #fff;
    line-height: 1.6;
}

/* WordPress Admin Bar Compatibility */
.admin-bar #app {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar #app {
        margin-top: 46px;
    }
}

/* Container and Layout */
.container {
    max-width: 1894px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: rgba(18, 18, 21, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* margin-left sẽ được điều chỉnh bởi media queries */
}

.header-elements {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

#logo img {
    height: 40px;
    width: auto;
}


.top-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Menu Items */
.top-menu .menu-item {
    position: relative;
    list-style: none;
}

.top-menu .menu-item .menu-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.top-menu .menu-item .menu-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e2fe35;
}

/* Dropdown Arrow for Menu Items with Children */
.top-menu .menu-item-has-children > .menu-link::after {
    /* content: "▼"; */
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.top-menu .menu-item-has-children:hover > .menu-link::after {
    transform: rotate(180deg);
}

/* Submenu Styles */
.top-menu .sub-menu {
    position: absolute;
    /* display: inline-block !important; */
    top: 100%;
    left: 0;
    background-color: rgba(18, 18, 21, 0.3);
    backdrop-filter: blur(10px);
    min-width: 160px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

/* Show submenu on hover */
.top-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Submenu Items */
.top-menu .sub-menu .menu-item {
    position: relative;
    list-style: none;
    align-items: center !important;
    justify-content: space-between !important;
}

.top-menu .sub-menu .menu-item .menu-link {
    padding: 0.75rem 1rem;
    border-radius: 0;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.top-menu .sub-menu .menu-item .menu-link:hover {
    background-color: rgba(226, 254, 53, 0.1);
    color: #e2fe35;
    padding-left: 0.8rem;
}


/* Submenu Icons */
.top-menu .sub-menu .menu-item .menu-link::before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
} 


/* Multi-level dropdown support */
.top-menu .sub-menu .menu-item-has-children > .menu-link::after {
    content: "►";
    margin-left: auto;
    font-size: 0.7rem;
}

.top-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 0.5rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon-image {
    border-radius: 5px;
    width: 33px;
    height: 33px;
    /* object-fit: contain; */
}

.icon-menu span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Top Navbar - kế thừa từ .base-column */
#top_navbar {
    /* Additional styles nếu cần */
    overflow-y: auto;
}
.sc-logo{
    opacity: 0.3;
}
.nav_clock{
    display: flex;
    justify-content: flex-start;
    width: 100%;
    top: 0;
    left: 0;
}
.nav_clock .icon-align {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* padding: 0.5rem 1rem; */
}
.nav_clock .icon-align .time {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.nav_clock .icon-align .date {
    font-size: 0.7rem;
    color: #030303;
    background-color: #e2fe35;
    padding: 0.1rem 0.5rem;
    border-radius: 5px;
}
.navbar_container {
    width: 100%;
    margin: 0;
    padding: 0;
    /* Sẽ được override bởi media queries khi cần */
}

.inc-icon.icon-14 img{
    width: 30px;
    height: 30px !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.nav_menu {
    display: flex;
    /* flex-direction sẽ được điều chỉnh bởi media queries */
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
}
.nav_menu .nav_clock{
    position: relative;
    gap: 0.5rem;
    transform: translateX(-4px);

}
.nav_menu .item {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 1rem 0.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    height: 100px;
    text-align: center;
    /* height sẽ được điều chỉnh bởi media queries */
    background-color: rgba(255, 255, 255, 0.03);
    /* border: 1px solid rgba(255, 255, 255, 0.08); */
}

.nav_menu .item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(226, 254, 53, 0.3);
}

.nav_menu .item.item-live {
    background-color: rgba(226, 254, 53, 0.1);
    border-color: rgba(226, 254, 53, 0.3);
    color: #e2fe35;
}

.nav_menu .item.item-live:hover {
    background-color: rgba(226, 254, 53, 0.2);
    color: #e2fe35;
    transform: translateX(8px);
}

/* Main Content Wrapper */
#wrapper {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    /* margin-left sẽ được điều chỉnh bởi media queries */
}

/* Top Slide Section */
#top_slide {
    margin-bottom: 3rem;
    /* XÓA background gradient che lên slide_container */
    border-radius: 2rem;
    overflow: hidden;
}

.slide_container {
    display: flex;
    align-items: center;
    min-height: 500px;
    padding: 3rem;
    gap: 3rem;
    position: relative;
    overflow: hidden;
    /* FORCE background để test - XÓA overlay blend mode */
    background: url('./img/banner-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Inline styles từ admin sẽ override CSS này */

/* Priority cho admin customizer backgrounds */
#top_slide .slide_container[style] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    /* XÓA background-blend-mode overlay */
}

.slide_container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Background được set trực tiếp lên .slide_container, ::before không cần nữa */
    z-index: -1;
    pointer-events: none;
}

.content {
    flex: 1;
    max-width: 600px;
}

.sc-logo img {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

.sc-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.description {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Sports Categories */
.sports {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.sport-item {
    position: relative;
    height: 250px;
    border-radius: 1.5rem;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    /* transform: rotate(-5deg); */
    z-index: 2;
}

.sport-item:nth-child(even) {
    /* transform: rotate(5deg); */
}

.sport-item:hover {
    transform: rotate(-5deg) translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.sport-item:nth-child(even):hover {
    transform: rotate(5deg) translateY(-5px) scale(1.05);
}

.sport-item .mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    /* transform: rotate(0deg); */
    z-index: -1;
}

.sport-item:hover .mask {
    opacity: 1;
}

.sport-item .object {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    height: 100%;
}

.sport-item .object img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.sport-name {
    position: relative;
    z-index: 3;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.sport-name .name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Layout Fluid */
#layout_fluid {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

#primary_column {
    flex: 2;
}

#secondary_column {
    flex: 1;
    max-width: 350px;
}

/* Content Sections */
.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem 0;
}

.heading-xl {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.box-content{
    background-color: rgba(255, 254, 254, 0.1);
    border-radius: 10px;
    border: 0.5px solid rgba(255, 254, 254, 0.3);
    box-shadow: 0 0 8px 2px rgba(255, 254, 254, 0.2) inset;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
}
.box-content:hover{
    border: 0.5px solid rgba(255, 254, 254, 1);
    box-shadow: 0 0 8px 2px rgba(255, 254, 254, 0.4) inset;
    
}
.box-content .event-list{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6px;
}
.box-content .event-list .icon-event-list{
    color: #e2fe35;
    font-size: 1rem;
    padding: 10px;
}
.box-content .event-list.text-event-list{
    color: #ffffff;
    font-size: 1rem;
    padding: 10px;
}
.more {
    color: #e2fe35;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.more:hover {
    color: #fff;
}

.genre-row {
    margin-bottom: 1rem;
    /* background-color: rgba(255, 255, 255, 0.02); */
    border-radius: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Loading States */
.rloading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #ccc;
    gap: 1rem;
}

.r-icon {
    font-size: 2rem;
    color: #e2fe35;
    animation: pulse 2s infinite;
}
.matches-container.loading {
    opacity: 0.6;
    pointer-events: none;
}

.sports-navigation.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.sports-navigation.loading::after {
    content: 'Đang tải...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
}

.matches-container.loading::after {
    content: 'Đang tải...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.no-matches, .error {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Secondary Column */


#home-toggle-chat {
    width: 100%;
    background-color: rgba(226, 254, 53, 0.1);
    border: 2px solid rgba(226, 254, 53, 0.3);
    color: #fff;
    padding: 1rem;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

#home-toggle-chat:hover {
    background-color: rgba(226, 254, 53, 0.2);
    border-color: #e2fe35;
    color: #e2fe35;
}

/* Footer Styles */
footer {
    margin-top: 4rem;
    padding: 3rem 0 2rem;
    /* margin-left sẽ được điều chỉnh bởi media queries */
}

.footer-elements {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: space-between;
    background: #000000;
    padding: 64px;
}

.side-left {
    flex: 2;
}

.side-right {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
}

.sl-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.socials {
    display: flex;
    gap: 1rem;
}

.social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-item:hover {
    background-color: #0000;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(226, 254, 53, 0.5);
}

.sl-about {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.sl-about a{
    text-decoration: none;
    color: #ffffff;
}

.sl-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.sl-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.sl-menu a:hover {
    color: #e2fe35;
}

.sl-copyright {
    color: #999;
    font-size: 0.8rem;
}

.sr-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sr-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sr-links a:hover {
    color: #e2fe35;
}

/* Navigation Icons */
.xicon {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.xicon-live {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"/><path d="M12 1v6M12 17v6M4.22 4.22l4.24 4.24M15.54 15.54l4.24 4.24M1 12h6M17 12h6M4.22 19.78l4.24-4.24M15.54 8.46l4.24-4.24"/></svg>');
}

.xicon-football {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.77 5.82 22 7 14.14l-5-4.87 6.91-1.01L12 2z"/></svg>');
}

.xicon-basketball {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M12 2a10 10 0 0 0 0 20M12 2a10 10 0 0 1 0 20M2 12h20"/></svg>');
}

.xicon-volleyball {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M12 2v20M2 12h20M6 6l12 12M18 6L6 18"/></svg>');
}

.xicon-tennis {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><ellipse cx="12" cy="12" rx="6" ry="10" fill="none" stroke="currentColor"/><ellipse cx="12" cy="12" rx="10" ry="6" fill="none" stroke="currentColor"/></svg>');
}

/* .xicon-shadow - Đã tắt để tránh lỗi hiển thị drop-shadow */

.icon-align {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onair {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: #ff4444;
    border-radius: 50%;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.2);
    }
}

/* Active states for navigation */
.nav_menu .item.item-live {
    color: #e2fe35;
}

.nav_menu .item:hover .xicon {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(60deg);
}

.nav_menu .item.item-live:hover .xicon {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(60deg);
}
.flex-grow-1 {
    flex-grow: 1;
}

.line-center {
    display: flex;
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.text-primary {
    color: #e2fe35;
}

.w-100-layout {
    width: 100%;
    padding-bottom: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.m-0 {
    margin: 0;
}

.d-none {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-rounded {
    border-radius: 2rem;
}

.btn-bet {
    background: linear-gradient(45deg, #e2fe35, #a8c807);
    color: #000;
    font-weight: 700;
    animation: flash 2s infinite;
}

.shoutbox.home-shoutbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    background:#000000;
    width: 100%;
    height: 800px;
    border-radius: 10px;
    padding: 16px;
}
.line-center.text-light{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.line-center.text-light i {
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.line-center.text-light span {
    font-size: 0.9rem;
}
.user-avarta{
    width: 40px;
    height: 40px;
}

.user-avarta img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.chat-row{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}
.chat-row.d-flex.gap-3{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.head.w-100.line-center.gap-3 {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}
.user-name.line-center.gr-free {
    font-weight: 400;
    color: #ffffff;
    font-size: 0.8rem;
}
.time-chat{
    font-size: 0.8rem;
    color: #666666;
}
.info .subject{
    display: inline-block;
    font-size: 0.8rem;
    color: #adadad;
}

.sb_bottom .is_top{
    display: flex;
    flex-direction: row; /* Quan trọng: sắp xếp ngang */
    gap: 8px;
    align-items: stretch;
}

/* Chat Box Styling */
.sb_bottom {
    background: #000000;
}

.is_top {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.is_top-input {
    flex: 1; /* Chiếm hết không gian còn lại */
    position: relative;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    flex-direction: row; /* Sắp xếp icon, input, counter theo ngang */
    align-items: center;
    gap: 8px;
    min-height: 50px;
}

.emo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.emo-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s;
}

.emo-btn:hover {
    color: #007bff;
}

.chat-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    font-size: 14px;
    line-height: 1.4;
    min-height: 20px;
}

.chat-input::placeholder {
    color: #adb5bd;
}

.text-left {
    flex-shrink: 0;
    font-size: 8px;
    color: #6c757d;
    margin-left: auto;
}

.is_top-button {
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
}

.is_top-button .btn {
     background: #28a745;
    color: white;
    border: none;
    border-radius: 18px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap; /* Không cho text xuống dòng */
    min-height: 40px; /* Cùng chiều cao với input */
    display: flex;
    align-items: center;
    justify-content: center;
}

.is_top-button .btn:enabled:hover {
    background: #218838;
}

.is_top-button .btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.is_bottom {
    padding: 10px 0;
    display:flex;
    align-items: center;
    justify-content: flex-start;
}
.is_bottom-login.line-center i
{
    color: #6c757d;
}
.is_bottom-login {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6c757d;
    justify-content: center;
    flex-wrap: nowrap;
}

.is_bottom-login i {
    color: #007bff;
}

.is_bottom-login u {
    text-decoration: under;
    cursor: pointer;
    transition: color 0.2s;
    font-weight: bold;
}

.is_bottom-login u:hover {
    color: #0056b3;
}
.sb_bottom .form-control {
    border: none;
    box-shadow: none;
    background: transparent;
}

.sb_bottom .btn-block {
    width: auto; /* Override btn-block để không chiếm full width */
}

/* Responsive */
@media (max-width: 768px) {
    .is_top {
        padding: 10px;
        gap: 6px;
    }
    
    .is_top-input {
        padding: 6px 10px;
        border-radius: 16px;
    }
    
    .is_top-button .btn {
        padding: 6px 16px;
        border-radius: 14px;
        font-size: 13px;
    }
    
    .is_bottom {
        padding: 8px 10px;
    }
    
    .is_bottom-login {
        font-size: 12px;
    }
}
@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Responsive Design */
/* Desktop rất lớn - menu dọc bên trái */
@media screen and (min-width: 2071px) {
    .base-column {
        display: flex;
        left: -20px; /* Menu ra ngoài một chút */
        width: 120px;
        position: fixed;
        top: 0;
        height: 100vh;
        /* background-color: rgba(18, 18, 21, 0.95); */
        border-radius: 0 1rem 1rem 0;
        padding: 1rem 0.5rem;
        border-left: none;
        /* box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3); */
        box-shadow: none; /* Tắt shadow để tránh lỗi hiển thị */
    }
    header, #wrapper, footer {
        margin-left: 100px;
    }
    .nav_menu {
        flex-direction: column;
        gap: 1rem;
    }
    .xicon {
        width: 28px;
        height: 28px;
    }
    .nav_menu .item span {
        font-size: 0.8rem;
    }
}

/* Desktop lớn - menu chuyển thành ngang dưới header */
@media screen and (max-width: 2070px) and (min-width: 1750px) {
    .base-column {
        display: flex;
         /* Menu ra ngoài một chút */
        width: 120px;
        position: fixed;
        top: 0;
        height: 100vh;
        border-radius: 0 1rem 1rem 0;
        padding: 1rem 0.5rem;
        border-left: none;
        /* box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3); */
        box-shadow: none; /* Tắt shadow để tránh lỗi hiển thị */
        zoom: 0.95; /* Thu nhỏ 80% mà giữ nguyên layout */
        transition: all 0.3s ease;
    }
    .base-column.nav_menu{
        gap:1rem;
    }
    .base-column.item.item-generic {
        left: -20px;

    }
    .container {
    zoom: 0.9; /* Thu nhỏ 80% mà giữ nguyên layout */
    transition: all 0.3s ease;
    }

/* Fallback cho Firefox */
    @-moz-document url-prefix() {
        .container {
            zoom: 1;
            transform: scale(0.9); /* Thu nhỏ */
            transform-origin: center;
        }
    }

}

/* Desktop nhỏ - menu ngang */
@media screen and (max-width: 1750px) and (min-width: 1399px) {
    .base-column {
        position: static;
        width: 100%;
        height: auto;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
    .nav_clock{
        display: none !important;
    }
    .base-column.nav_menu{
        display: flex;
        flex-direction: row;
        align-items: center; /* ← Thêm !important */
        width: 100%;
        margin: 0 !important; /* ← Thêm để override margin: 0 auto */
    }
    .base-column.nav_menu {
        justify-content: flex-start; /* Sẽ override .nav_menu rule */
    }
    .base-column.nav_menu a {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 140px;
        padding: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .navbar_container {
        max-width: 1894px;
        margin: 0 auto;
        padding-left: 15px;
    }
    header, #wrapper, footer {
        margin-left: 0;
    }
    .nav_menu {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding: 0;
    }
    .nav_menu .item {
        width: auto;
        height: auto;
        background-color: transparent;
        border: none;
        flex-direction: column;
    }
    .nav_menu .item:hover {
        transform: translateY(-2px);
        background-color: rgba(255, 255, 255, 0.05);
    }
    .nav_menu .item.item-live:hover {
        transform: translateY(-2px);
        background-color: rgba(226, 254, 53, 0.1);
    }
    .xicon {
        width: 26px;
        height: 26px;
    }
    .nav_menu .item span {
        font-size: 0.75rem;
    }
}

/* Desktop nhỏ - menu ngang */
@media screen and (max-width: 1399px) and (min-width: 1200px) {
    .base-column {
        position: static;
        width: 100%;
        height: auto;
        /* background-color: rgba(18, 18, 21, 0.9); */
        border-radius: 0;
        /* padding: 1rem 0; */
        border: none;
        box-shadow: none;
    }
    .base-column .nav_menu{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }
    .base-column .nav_menu a {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 140px;
        padding: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .navbar_container {
        max-width: 1894px;
        margin: 0 auto;
        padding-left: 15px;
    }
    header, #wrapper, footer {
        margin-left: 0;
    }
    .nav_menu {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        /* gap: 2.5rem; */
        /* max-width: 1200px; */
        margin: 0 auto;
        padding: 0;
    }
    .nav_menu .item {
        width: auto;
        height: auto;
        /* padding: 1rem; */
        background-color: transparent;
        border: none;
        flex-direction: column;
    }
    .nav_menu .item:hover {
        transform: translateY(-2px);
        background-color: rgba(255, 255, 255, 0.05);
    }
    .nav_menu .item.item-live:hover {
        transform: translateY(-2px);
        background-color: rgba(226, 254, 53, 0.1);
    }
    .xicon {
        width: 26px;
        height: 26px;
    }
    .nav_menu .item span {
        font-size: 0.75rem;
    }
}

/* Tablet lớn - menu ngang thu gọn */
@media screen and (max-width: 1199px) and (min-width: 992px) {
    .header-elements{
        padding: 0.3rem 0;
    }
    .base-column {
        position: static;
        width: 100%;
        height: auto;
        background-color: rgba(18, 18, 21, 0.9);
        border-radius: 0;
        padding: 0.2rem 0;
        border: none;
        box-shadow: none;
    }
    .base-column .nav_menu{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }
    .base-column .nav_menu a {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 140px;
        padding: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .navbar_container {
        margin: 0 auto;
        padding-left: 15px;
    }
    header, #wrapper, footer {
        margin-left: 0;
    }
    .nav_menu {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding: 0;
    }
    .nav_menu .item {
        width: auto;
        height: auto;
        /* padding: 0.8rem 0.4rem; */
        background-color: transparent;
        border: none;
        flex-direction: column;
    }
    .nav_menu .item:hover {
        transform: translateY(-2px);
        background-color: rgba(255, 255, 255, 0.05);
    }
    .nav_menu .item.item-live:hover {
        transform: translateY(-2px);
        background-color: rgba(226, 254, 53, 0.1);
    }
    .xicon {
        width: 24px;
        height: 24px;
    }
    .nav_menu .item span {
        font-size: 0.7rem;
    }
}

/* Tablet nhỏ - menu ngang nhỏ */
@media screen and (max-width: 991px) and (min-width: 769px) {
    .base-column {
        position: static;
        width: 100%;
        height: auto;
        /* background-color: rgba(18, 18, 21, 0.9); */
        border-radius: 0;
        padding: 0.6rem 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: none;
    }
    .navbar_container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 15px;
    }
    header, #wrapper, footer {
        margin-left: 0;
    }
    .nav_menu {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        max-width: 800px;
        margin: 0 auto;
        padding: 0;
        flex-wrap: wrap;
    }
    .nav_menu .item {
        width: auto;
        height: auto;
        padding: 0.6rem 0.3rem;
        background-color: transparent;
        border: none;
        flex-direction: column;
    }
    .nav_menu .item:hover {
        transform: translateY(-2px);
        background-color: rgba(255, 255, 255, 0.05);
    }
    .nav_menu .item.item-live:hover {
        transform: translateY(-2px);
        background-color: rgba(226, 254, 53, 0.1);
    }
    .xicon {
        width: 20px;
        height: 20px;
    }
    .nav_menu .item span {
        font-size: 0.65rem;
    }
}

/* Mobile - ẩn menu dọc */
@media screen and (max-width: 768px) {
    .base-column {
        display: none;
    }
    .navbar_container {
        display: none;
    }
    header, #wrapper, footer {
        margin-left: 0px;
    }
}

@media screen and (max-width: 1024px) {
    .slide_container {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .sports {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    #layout_fluid {
        flex-direction: column;
        gap: 3rem;
    }
    
    #secondary_column {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .top-menu {
        display: none;
    }
    
    .nav_menu {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .nav_menu .item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .sc-heading {
        font-size: 2rem;
    }
    
    .footer-elements {
        flex-direction: column;
        gap: 2rem;
    }
    
    .sl-brand {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .slide_container {
        padding: 1.5rem;
    }
    
    .sc-heading {
        font-size: 1.5rem;
    }
    
    .sports {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sport-item {
        height: 180px;
    }
    
    .nav_menu {
        gap: 0.5rem;
    }
    
    .nav_menu .item {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

/* Additional Base Layout Classes */
.base-column {
    display: flex;
    flex-direction: column;
    z-index: 999;
    /* Default styles - sẽ được override bởi media queries */
    /* Styles này sẽ được điều chỉnh bởi responsive breakpoints */
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.item-flex {
    display: flex;
    align-items: center;
}

/* Member and Bet Buttons */
.he-member {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.he-bet {
    display: flex;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Small text utility */
.small-text {
    font-size: 0.875rem;
}

/* Icon utilities */
.inc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-14 {
    width: 14px;
    height: 14px;
}

/* Loading and content states */
.matches-content {
    text-align: center;
    padding: 2rem;
    color: #ccc;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Toastify compatibility */
.Toastify {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
}

/* Cover element */
.cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Mobile menu states */
.mobile-menu-active .top-menu {
    display: flex;
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(18, 18, 21, 0.98);
    flex-direction: column;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    z-index: 999;
}

.mobile-menu-active .icon-menu span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-active .icon-menu span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-active .icon-menu span:nth-child(3) {xicon-football
    transform: rotate(45deg) translate(-5px, -6px);
}

/* WordPress specific */
.screen-reader-text {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

.sticky {
    position: sticky;
}

.gallery-caption {
    text-align: center;
    font-style: italic;
}

.bypostauthor {
    background-color: rgba(226, 254, 53, 0.05);
}

/**
 * ========================================
 * MATCH CARDS DESIGN - Based on HTML structure
 * ========================================
 */

/* Matches Container */
.matches-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.matches-container-sport-type {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

/* Grid layout for hot matches (3x4 = 12 matches) */
.matches-container.matches-grid {
    min-height: auto;
}


/* No matches fallback */
.no-matches {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #999;
}

.no-matches p {
    font-size: 16px;
    margin: 0;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .matches-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .matches-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Card Single */
.card-single {
    width: 100%;
}

/* Card Match */
.card-match {
    position: relative;
    background: #1f1f2e;
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.card-match:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Match Link */
.match-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Corner */
.corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #121215;
    border-bottom-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    padding-bottom: 20px;
    padding-right: 1px;
}
.corner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.corner .xicon {
    position: relative;
    top: 0;
    right: 0;
    z-index: 3;
    filter: none !important; /* Loại bỏ filter để hiển thị màu gốc */
    width: 35px;
    height: 35px;
}

/* Sửa selector và đường dẫn đúng */
.corner .xicon.xicon-football {
    background-image: url('./img/icons/football.webp')!important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
}

/* Corner specific styling for different sport icons */
.corner .xicon.xicon-football {
    background-image: url('./img/sport-football.webp') !important;
}

.corner .xicon.xicon-basketball {
    background-image: url('./img/icons/basketball.webp') !important;
    border-radius: 10px;
}

.corner .xicon.xicon-volleyball {
    background-image: url('./img/icons/volleyball.webp') !important;
    border-radius: 10px;
}

.corner .xicon.xicon-tennis {
    background-image: url('./img/icons/tennis.webp') !important;
    border-radius: 10px;
}

/* Override filter cho tất cả xicon trong corner */
.corner .xicon {
    filter: none !important;
}

/* Debug: Đảm bảo icon football hiển thị đúng */
.corner .xicon.xicon-football {
    background-color: transparent !important;
    background-image: url('./img/icons/football.webp') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* CM BLV */
.cm-blv {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    background: rgba(84, 83, 95, 0.9);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    z-index: 2;
    min-height: 36px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cm-blv .avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    overflow: hidden;
}

.cm-blv .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cm-blv .blv-name {
    padding: 0 12px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

/* CM Wrap */
.cm-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.flex-shrink-0 {
    width: auto;
}

/* Match Time */
.match-time {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* column-gap: 4px; */
    margin-bottom: 8px;
    width: 100%;
}

.match-time .line-center {
    display: flex;
    align-items: center;
    /* column-gap: 8px; */
}

.status-match.is-live {
    display: none;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

.match-time .time {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-right: 8px;
}

.match-time .time-count {
    display: inline-block;
    white-space: nowrap;
    font-size: 12px;
    background: #f9e8b0;
    border-radius: 5px;
    font-weight: 600;
    color: #333333;
    padding: 2px 4px;
}

/* League */
.league {
    color: #999999;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Team VS */
.team-vs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin: 20px 0; */
    width: 100%;
}
.current-vs{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    width: 80px;
    height: 36px;
}
.current-vs .score{
    display:inline-block;
}
.card-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 35%;
    row-gap: 8px;
}

.card-team .current {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}
.card-team .current img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Match Buttons */
.match-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    padding-left: 76%;
}

.btn.btn-live {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000000;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 255, 136, 0.3);
    z-index: 2;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.btn.btn-live:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .card-match {
        padding: 16px;
    }
    
    .cm-wrap {
        padding-right: 50px;
        padding-bottom: 45px;
    }
    
    .corner {
        width: 45px;
        height: 45px;
    }
    
    .cm-blv {
        min-height: 32px;
    }
    
    .cm-blv .avatar {
        width: 32px;
        height: 32px;
    }
}
/* =====================================================
   LEAGUE TABLE / BẢNG XẾP HẠNG STYLES
   ===================================================== */

/* Main Chart Container */
.sc-chart {
    margin-bottom: 24px;
}

.sc-chart .box-main {
    background: linear-gradient(135deg, #1e2a3a 0%, #2d4a5c 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Chart Header */
.cw_header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cw_header .heading-md {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.cw_header i {
    margin-right: 8px;
    color: #00ff88;
}

.more-button {
    color: #00ff88 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.more-button:hover {
    color: #00cc6a !important;
    transform: translateX(2px);
}

/* League Selector Dropdown */
.cw_select{
    padding:10px;
}
.cw_select .btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cw_select .btn:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 136, 0.3);
}

.cw_select .base-icon.icon-16 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.cw_select .base-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw_select .fa-angle-down {
    color: #00ff88;
    font-size: 14px;
}

/* Table Structure */
.cw_rows {
    background: transparent;
}

/* Table Header */
.item.item-head {
    display: grid;
    grid-template-columns: 50px 1fr 60px 60px;
    align-items: center;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.item.item-head .number{
    font-weight: 500;
    font-size: 13px;
}

.item.item-head .team{
    font-weight: 500;
    font-size: 13px;
}

.item.item-head .game{
    font-weight: 500;
    font-size: 13px;
}
/* Team Rows */
.teams_wrap {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #00ff88 transparent;
}

.teams_wrap::-webkit-scrollbar {
    width: 4px;
}

.teams_wrap::-webkit-scrollbar-track {
    background: transparent;
}

.teams_wrap::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 2px;
}
.teams_wrap .item.item-team {
    
    font-size: 14px;
}
.item.item-team {
    display: grid;
    grid-template-columns: 50px 1fr 50px 50px;
    align-items: center;
    padding: 8px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    background: transparent;
}

.item.item-team:hover {
    background: rgba(0, 255, 136, 0.08);
    border-color: rgba(0, 255, 136, 0.2);
}

.item.item-team .number{
    width: 26px;
    height: 26px;
}

/* Position Numbers */
.number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}

.number.tier-1 {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
}

.number.tier-2 {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
}

.number.tier-out {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: #fff;
}

.number:not(.tier-1):not(.tier-2):not(.tier-out) {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Team Info */
.team {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.team .base-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team .base-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team .name-short {
    font-weight: 500;
    font-size: 15px;
    color: #fff;
}

/* Games and Points */
.game, .point {
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}

.point {
    color: #00ff88;
    font-weight: 700;
}

/* Legend/Notes Section */
.cw_note {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.group.group-left {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tier {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.tier-1-color {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    border-radius: 2px;
}

.tier-2-color {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.tier-out-color {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ff4757, #ff3838);
    border-radius: 2px;
}

/* Expand Button */
.cw_expand .btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cw_expand .btn:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: #00ff88;
    transform: translateY(-1px);
}

.cw_expand .btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.cw_expand .btn:hover i {
    transform: rotate(180deg);
}
.cw_header.line-center.py-3.px-4 .line-center{
    margin: 10px;
}
.name-short.lim.lim-1{
    font-size: 14px;
}
.group.group-left.line-center{
    padding:15px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .item.item-head,
    .item.item-team {
        grid-template-columns: 40px 1fr 60px 60px;
        padding: 10px 15px;
    }
    
    .team .name-short {
        font-size: 13px;
    }
    
    .team .base-icon {
        width: 24px;
        height: 24px;
    }
    
    .number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .game, .point {
        font-size: 13px;
    }
    
    .cw_header {
        padding: 15px 20px;
    }
    
    .cw_header .heading-md {
        font-size: 16px;
    }
    
    .group.group-left {
        gap: 15px;
    }
    
    .tier {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .item.item-head,
    .item.item-team {
        grid-template-columns: 35px 1fr 50px 50px;
        padding: 8px 12px;
    }
    
    .cw_select {
        margin: 0 15px;
    }
    
    .teams_wrap {
        max-height: 300px;
    }
}

/* Commentator Section Styles */
.w-100.sc-commentator {
    margin-bottom: 2rem;
}

.sc-commentator .box-main {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
}

.sc-commentator .comm-list {
    padding: 0;
}

.sc-commentator .item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-bottom: 1px solid #404040;
    background: #1f1f2e;
    transition: background-color 0.2s ease;
}

.sc-commentator .item:hover {
    background: #0e0e16;
}

.sc-commentator .item:last-child {
    border-bottom: none;
}

/* Avatar */
.sc-commentator .user-avatar {
    flex-shrink: 0;
    margin-right: 1rem;
}

.sc-commentator .user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #404040;
}

/* Commentator Info */
.sc-commentator .comm-info {
    flex-grow: 1;
    min-width: 0;
}

.sc-commentator .name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sc-commentator .small {
    color: #888888;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

/* Match List */
.sc-commentator .match-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sc-commentator .ml-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background: #1f1f2e;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid #FF6B35;
}

.sc-commentator .ml-item:hover {
    background: #1f1f2e;
    transform: translateX(2px);
    text-decoration: none;
}

.ml-item.line-center{
    border-left: 3px solid #00ff88;
}
.status .type{
    color: #ffffff !important;
}

/* Teams Section */
.sc-commentator .teams {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.sc-commentator .base-icon.icon-20 {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
    background: #404040;
}

.sc-commentator .base-icon.icon-20 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Status Section */
.sc-commentator .status {
    text-align: right;
    flex-shrink: 0;
    margin-left: 1rem;
}

.sc-commentator .type {
    color: #FF6B35;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.sc-commentator .status small {
    color: #aaaaaa;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
}

.sc-commentator .status small i {
    font-size: 0.6rem;
    opacity: 0.8;
}

.sc-commentator .status small strong {
    color: #ffffff;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sc-commentator .item {
        flex-direction: column;
        padding: 0.75rem;
    }
    
    .sc-commentator .user-avatar {
        margin-right: 0;
        margin-bottom: 0.75rem;
        align-self: center;
    }
    
    .sc-commentator .ml-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .sc-commentator .status {
        text-align: left;
        margin-left: 0;
    }
    
    .sc-commentator .status small {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .sc-commentator .user-avatar img {
        width: 50px;
        height: 50px;
    }
    
    .sc-commentator .name {
        font-size: 0.9rem;
    }
    
    .sc-commentator .ml-item {
        padding: 0.4rem;
    }
}

/* Additional Header for Section (if needed) */
.sc-commentator .box-header {
    background: #1a1a1a;
    padding: 1rem;
    border-bottom: 1px solid #404040;
}

.sc-commentator .box-header h2 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Loading State */
.sc-commentator .loading {
    padding: 2rem;
    text-align: center;
    color: #888888;
}

/* Empty State */
.sc-commentator .no-commentators {
    padding: 2rem;
    text-align: center;
    color: #888888;
    font-style: italic;
}