* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* .container-post {
    font-family: 'Inter', sans-serif;
    color: white;
    min-height: 100vh;
    max-width: 1894px;
} */

.header-post {
    background-image: linear-gradient(360deg, #3a3939, #121215);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    height: 151px;
    border-radius: 20px;
}

.match-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 80%;
}
.user-info{
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Phòng Chat */
.v-tabs.v-tabs-min.m-0.nav.nav-pills{
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}
/*------------*/
.team {
    display: flex;
    align-items: center;
    gap: 20px;
}

.team img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.current-post {
    width:80px;
    padding:5px;
    border-radius: 10px;
    border:#ffffff 0.3px solid;
    display:flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
}
.score-post span{
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}
.vs {
    color: #ffffff;
    font-weight: bold;
    margin: 0 10px;
}

.live-indicator {
    background: #ff4444;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance {
    background: #ffd700;
    color: #000;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.main-content-post {
    display: flex;
    max-width: 100%;
    min-height: auto;
    margin: 0 auto;
    border-radius: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
    background:#000000;
}
.ma-main{
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}
.match-buttons-post{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ma-main .player-header{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 20px 10px;
    gap: 10px;
    background-color: #000000;
    border-top-left-radius: 20px;
    font-size: 12px;
}
.player-main{
    width: 100%;
    height: 100%;
    flex-shrink:1;
}

.board-player{
    width: 100%;
    height: 100%;
}

/* .img-container{
    width: 100%;
    height: 100%;
    background: url('../img/coming.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(10px);
    z-index: 1;
} */

.back-button {
    background: none;
    border: none;
    color: #e2fe35;
    cursor: pointer;
    font-size: 16px;
}

.bet-button{
    display:inline-block;
    background: #4a90e2;
    color: #e2fe35;
    padding: 15px 20px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 180px;
    height: 41px;
}

.bet-button.ended{
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight:bold;
}

.bet-button.bet{
    background-image: linear-gradient(180deg, #fae7ae, #ffdd75);
    color: #000000;
    font-size: 14px;
    font-weight:bold;
}

.bet-button.live {
    background: #ff4141;
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 65, 65, 0.35);
}

.blv-info{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width:100%;
}

.matches-container-other {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.other-match-card {
    position: relative;
    background: #1f1f2e;
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease;
}

.other-match-card:hover {
    transform: translateY(-3px);
}

.other-match-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.other-match-card > *:not(.other-match-link) {
    position: relative;
    z-index: 2;
}

.other-match-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.other-match-header .other-status {
    background: #ff4874;
    color: #fff;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.other-match-header .other-time {
    font-size: 20px;
    font-weight: 700;
    color: #f5f6ff;
    letter-spacing: 0.5px;
}

.other-match-header .other-date {
    padding: 3px 10px;
    border-radius: 10px;
    background: #f9e69a;
    color: #2c2c2c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.other-league {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.8;
}

.other-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
}

.other-team {
    width: 100%;
    gap: 12px;
    text-align: center;
}

.other-team.align-end {
    flex-direction: row-reverse;
    text-align: right;
}

.other-team .logo img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
}

.other-team .name {
    font-weight: 600;
    font-size: 15px;
}

.other-score {
    text-align: center;
}

.other-score .value {
    font-size: 20px;
    font-weight: 700;
    background: rgba(255,255,255,0.08);
    padding: 6px 14px;
    border-radius: 12px;
    min-width: 74px;
}

.other-match-footer {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.other-commentator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.other-commentator .avatar img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
}

.other-match-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.match-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: .4rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.match-btn.pending,
.other-match-btn.pending {
    background: #3a3845;
    color: #d5d2e0;
}

.match-btn.live,
.other-match-btn.live {
    background: #ff4141;
    color: #fff;
}

.match-btn:hover,
.other-match-btn:hover {
    filter: brightness(1.05);
}

.matches-container-other .placeholder {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
}



.blv-info .img-blv img{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border:2px solid #ffffff;
}

.sb_header{
    display:flex;
    align-items: center;
    justify-content: space-between;
}
/* code css update */
.item.item-clean{
    column-gap: 5px !important;
    padding-right:10px;
}
.item.v-toggle{
    column-gap: 5px !important;
    padding-right: 10px;
}
.flex-grow-1{
    display:none;
}

/* --- */
.sb-tabs .v-tabs.v-tabs-min.m-0.nav.nav-pills{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}
.sb-tabs .v-tabs.v-tabs-min.m-0.nav.nav-pills .nav-item{
    display: flex;
    align-items: center;
    border-radius: 5px;
    background: #FFFFFF22;
    padding: 8px;
    flex-direction: row;  
}

/* @media (max-width: 999px) {
    .sb-tabs .v-tabs.v-tabs-min.m-0.nav.nav-pills .nav-item{
        max-width: 30px;
        max-height: 30px;
        padding: 0px;
    }
} */

.sb-tabs .v-tabs.v-tabs-min.m-0.nav.nav-pills .nav-item span{
    display: none;
}
/* Khi nav-item CHỨA nav-link.active - Style cho nav-item */
.sb-tabs .v-tabs.v-tabs-min.m-0.nav.nav-pills .nav-item:has(.nav-link.active) {
    background: #E2FE3540 !important;
    /* box-shadow: 0 0 10px rgba(226, 254, 53, 0.2) !important; */
}
/* .sb-tabs .v-tabs.v-tabs-min.m-0.nav.nav-pills .nav-item .nav-link.active{
    display: flex;
    background: #E2FE3540 !important;
} */
.sb-tabs .v-tabs.v-tabs-min.m-0.nav.nav-pills .nav-item .nav-link.active span{
    display: block !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #E2FE35;
}
.sb-tabs .v-tabs.v-tabs-min.m-0.nav.nav-pills .nav-item .nav-link.active i{
    color: #E2FE35 !important;
}
.sb-tabs .v-tabs.v-tabs-min.m-0.nav.nav-pills .nav-item a{
    display: flex;
    text-decoration: none;
    color: white;
    font-size: 13px;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
/* Hover effect cho non-active tabs */
/* .sb-tabs .v-tabs.v-tabs-min.m-0.nav.nav-pills .nav-item:not(.active):hover span {
    display: block;
    color: rgba(255, 255, 255, 0.8);
} */

.item.v-toggle.v-toggle-min.line-center{
    gap:10px;
}
.item.v-toggle.v-toggle-min.line-center .text{
    font-size:0.8rem;
}
.item.v-toggle.v-toggle-min.line-center .toggle-x{
    background: transparent;
    border: 1px solid #E2FE35;
    border-radius: 20px;
    width: 30px;
    height: 20px;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding:0 5px;
}
.item.v-toggle.v-toggle-min.line-center .toggle-x span{
    /* content:''; */
    background-color: #E2FE35;
    border-radius:50%;
    width: 8px;
    height: 8px;
}
.team-vs-post{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.countdown-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.layoutplayer-container{
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/coming.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content-countdown{
    /* position: relative; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);           
    -webkit-backdrop-filter: blur(10px); 
}

.content-countdown.hidden {
    display: none; /* Ẩn khi không cần */
}

#jwplayer-container{
    display: none;
    width: 100%;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}

#jwplayer-container.active {
    display: block; /* Hiển thị khi active */
}

.houes-blur{
    position: absolute;
    color: #ffd700;
    filter: blur(5px);
    z-index: -2;
    font-weight: 900;
    font-style: italic;
    top:-10px;
    left: -10px;
}

.countdown-title {
    margin-bottom: 10px;
    font-size: 18px;
    color: #ccc;
}

.countdown {
    position: relative;
    font-size: 85px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}

.countdown .minutes {
    color: white;
    font-style: italic;
    margin: 30px 0 0 20px;
    font-weight: 900;
}
.description-video{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.countdown .seconds {
    color: white;
}

.match-date {
    color: #ccc;
}
.buttons-video{
    display: flex;
    padding-top: 15px;
}
.button-note{
    padding: 12.8px 19.2px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 10px;
    column-gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-right: 10px;
}
.button-note span{
    font-size: 14px;
    color: #ffffff;
}
.button-note i{
    width: 14px;
    height: auto;
    color: #ffffff;
}


.countdown-title {
    position: relative;
    margin-bottom: 30px;
    font-size: 18px;
    color: #ccc;
}

.countdown {
    font-size: 80px;
    font-weight: bold;
    margin-bottom: 20px;
}

.countdown .seconds {
    color: white;
}

.match-date {
    color: #ccc;
    margin-bottom: 10px;
}

.match-status {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 30px;
}

.bet-button {
    background: #4a90e2;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bet-button:hover {
    background: #357abd;
    transform: translateY(-2px);
}

.chat-section {
    flex: 0 0 25%;
    min-width: 25%;
    max-width: 100%;
    background: transparent;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    height: 817px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    height: 100%;
}

.chat-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.chat-button {
    background: #ffd700;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

.matches-section {
    margin-top: 50px;
}

.matches-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: white;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.match-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.match-card:hover {
    transform: translateY(-5px);
}

.match-time {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.time-badge {
    background: #4a90e2;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.team-name {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

.bet-odds {
    text-align: center;
    color: #ffd700;
    font-weight: bold;
}
@media screen and (max-width: 1700px) and (min-width: 1280px){
    .main-content-post {
        display: flex;
        max-width: 1794px !important;
        height:20vh;
        border-radius: 20px !important;
        margin-top: 10px;
        height:auto;
        background:#000000;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        transition: all 0.3s ease;
    }
    .player-main{
        height:100%;
    }
    .ma-main{
        width:100%;
    }
    .chat-section{
        width: 100%;
        margin-top: 20px;
        height: 600px;
    }
}
@media screen and (max-width: 1279px) and (min-width: 800px) {
    .main-content-post {
        display: flex;
        max-width: 1794px !important;
        height:20vh;
        border-radius: 20px !important;
        margin-top: 10px;
        height:auto;
        background:#000000;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        transition: all 0.3s ease;
    }
    .header-post{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        height:auto;
        gap:10px;
    }
    .match-info{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
    }
    .match-time-post{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:5px;
    }
    .team-vs-post{
        width:100%;
        display:flex;
        align-items:center;
        /* justify-content:space-between; */
    }
    .home-team-post{
        margin-right:100px;
        display:flex;
        align-items:center;
        justify-content:flex-end;
        width:100%;
    }
    .away-team-post{
        margin-left:100px;
        width:100%;
    }
    .current-post{
        position:absolute;
    }
    .player-main{
        height:100%;
    }
    .ma-main{
        width:100%;
    }
    .chat-section{
        width: 100%;
        margin-top: 20px;
        height: 600px;
    }
}
@media screen and (max-width: 800px) and (min-width: 400px) {
    .main-content-post {
        display: flex;
        max-width: 1794px !important;
        height:20vh;
        border-radius: 20px !important;
        margin-top: 10px;
        height:auto;
        background:#000000;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        transition: all 0.3s ease;
    }
    .header-post{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        height:auto;
        gap:10px;
    }
    .match-info{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
    }
    .match-time-post{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:5px;
    }
    .team-vs-post{
        width:100%;
        display:flex;
        align-items:center;
        /* justify-content:space-between; */
    }
    .home-team-post{
        margin-right:70px;
        display:flex;
        flex-direction:column-reverse;
        align-items:center;
        justify-content:flex-start;
        width:100%;
        font-size: 1rem;
        font-weight: 600;
    }
    .home-team-post span{
        display:flex;
        /* align-items:center;
        justify-content:center;
        white-space:nowrap; */
        text-align: center;
    }
    .name-blv span{
        white-space:nowrap;
    }
    .away-team-post span{
        display:flex;
        align-items:center;
        justify-content:center;
        white-space:nowrap;
        text-align: center;
    }
    .away-team-post{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:flex-end;
        margin-left:70px;
        width:100%;
        font-size: 1rem;
        font-weight: 600;
    }
    .current-post{
        position:absolute;
    }
    .player-main{
        height:100%;
    }
    .ma-main{
        width:100%;
    }
    .chat-section{
        width: 100%;
        margin-top: 20px;
        height: 600px;
    }
}
@media screen and (max-width: 400px) and (min-width: 100px) {
    .main-content-post {
        display: flex;
        max-width: 1794px !important;
        height:20vh;
        border-radius: 20px !important;
        margin-top: 10px;
        height:auto;
        background:#000000;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        transition: all 0.3s ease;
    }
    .header-post{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        height:auto;
        gap:10px;
        zoom:0.8;
        transition: all 0.3s ease;
    }
    .match-info{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
    }
    .match-time-post{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:5px;
    }
    .team-vs-post{
        width:100%;
        display:flex;
        align-items:center;
        /* justify-content:space-between; */
    }
    .home-team-post{
        margin-right:50px;
        display:flex;
        flex-direction:column-reverse;
        align-items:center;
        justify-content:flex-start;
        width:100%;
    }
    .home-team-post span{
        display:flex;
        /* align-items:center;
        justify-content:center;
        white-space:nowrap; */
        text-align: center;
    }
    .name-blv span{
        white-space:nowrap;
    }
    .away-team-post span{
        display:flex;
        align-items:center;
        justify-content:center;
        white-space:nowrap;
        text-align: center;
    }
    .away-team-post{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:flex-end;
        margin-left:50px;
        width:100%;
        
    }
    .current-post{
        position:absolute;
    }
    .player-main{
        height:100%;
    }
    .ma-main{
        width:100%;
    }
    .chat-section{
        width: 100%;
        margin-top: 20px;
        height: 600px;
    }
}
/* Tab Content */
.tab-content {
    min-height: 600px;
    background: transparent;
}

@media screen and (max-width: 1700px) {
    .tab-content {
        min-height: 600px;
        max-height: 700px;
        background: transparent;
    }

}

.tab-pane {
    display: none;
    padding: 1rem;
    height: 100%;
    overflow-y: auto;
}

.tab-pane.active {
    display: block;
}

/* Chat Container */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
    max-height: none;
    min-height: 0;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    flex: 1;
}

.username {
    font-weight: 600;
    color: #e2fe35;
    font-size: 14px;
    margin-bottom: 0.25rem;
}

.message-text {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

/* Chat Input */
.chat-input-container {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.chat-input-wrapper {
    flex: 1;
    position: relative;
}

.chat-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.chat-input:focus {
    border-color: #e2fe35;
}

.char-count {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
}

.send-button {
    padding: 0.75rem 1.5rem;
    background: #e2fe35;
    color: #000;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-button:not(:disabled):hover {
    background: #d4f025;
}

/* Login Prompt */
.chat-identity {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-identity .identity-header {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: #e2fe35;
    font-weight: 600;
}

.chat-identity .identity-header p {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: #ddd;
    font-weight: 400;
}

.chat-identity .identity-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.chat-display-name {
    flex: 1;
    min-width: 200px;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.chat-display-name::placeholder {
    color: #888;
}

.save-display-name {
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    background: #e2fe35;
    color: #000;
    cursor: pointer;
    transition: background 0.2s ease;
}

.save-display-name:hover {
    background: #d4f025;
}

.guest-name-status {
    font-size: 0.85rem;
    color: #999;
}

.guest-name-status.error {
    color: #ff6b6b;
}

.char-count.warning {
    color: #ff4757 !important;
}

.login-prompt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-top: 1rem;
    color: #ccc;
    font-size: 14px;
}

.login-prompt u {
    color: #e2fe35;
    cursor: pointer;
}

@media (max-width: 768px) {
    .chat-identity .identity-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .save-display-name {
        width: 100%;
        text-align: center;
    }
}

/* Stats Container */
.stats-container {
    height: 100%;
}

.stats-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    justify-content: center;
}

.stats-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #444;
    color: #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stats-tab.active {
    background: #e2fe35;
    color: #000;
    border-color: #e2fe35;
}

.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

.stat-row:last-child {
    border-bottom: none;
}

.home-stat,
.away-stat {
    font-weight: 700;
    color: #e2fe35;
    min-width: 60px;
    text-align: center;
}

.stat-label {
    color: #fff;
    text-align: center;
    flex: 1;
    font-size: 14px;
}

/* Odds Container */
.odds-container {
    height: 100%;
}

.odds-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.odds-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #444;
    color: #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.odds-tab.active {
    background: #e2fe35;
    color: #000;
    border-color: #e2fe35;
}

.odds-section {
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.1);
    /* padding: 1rem; */
}

.odds-title {
    color: #fff;
    font-weight: 600;
    /* margin: 0.75rem; */
    padding:10px 0;
    text-align: center;
}

.odds-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.5rem 0;
    width:100%;
}

.odds-label {
    color: #ccc;
    font-size: 14px;
    text-align: center;
    padding: 0.5rem;
    border-radius: 6px;
    flex: 1;
}
.is-content.is-primary{
    background: rgba(226, 254, 53, 0.1);
}
.odds-value {
    color: #e2fe35;
    font-weight: 700;
    text-align: center;
    flex: 1;
    padding: 0.5rem;
    margin: 0 0.25rem;
}
.odds-row.is-head{
    background:#444;
    padding: 4px;
    width:100%;
}
/* Lineup Container */
.lineup-container {
    height: 100%;
}

.lineup-teams {
    display: flex;
    gap: 1rem;
    height: 100%;
}

.team-lineup {
    flex: 1;
    background: #2a2a2a;
    border-radius: 8px;
    padding: 1rem;
}

.team-header {
    /* display: flex;
    align-items: center;
    justify-content: center; */
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.team-header img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.team-header span {
    color: #ccc;
    font-size: 12px;
}

.coach-name {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.formation-title {
    color: #ccc;
    font-size: 12px;
    margin-bottom: 0.25rem;
}

.formation {
    color: #e2fe35;
    font-weight: 700;
    margin-bottom: 1rem;
}

.players-list {
    max-height: 200px;
    overflow-y: auto;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
}

.player-item:last-child {
    border-bottom: none;
}

.player-number {
    width: 24px;
    height: 24px;
    /* background: #e2fe35; */
    color: #e2fe35;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.player-name {
    color: #fff;
    font-size: 12px;
    flex: 1;
}

/* Chat Disabled */
.chat-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #1a1a1a;
}

.chat-disabled-content {
    text-align: center;
    color: #ccc;
}

.chat-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.disabled-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.enable-chat-btn {
    padding: 0.75rem 1.5rem;
    background: #e2fe35;
    color: #000;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enable-chat-btn:hover {
    background: #d4f025;
}

/* Responsive */
@media (max-width: 768px) {
    .sb_header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .v-tabs.v-tabs-min.m-0.nav.nav-pills {
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 0.4rem 0.6rem;
    }
    .nav-item{
        padding:0 !important;
    }

    .tab-pane {
        padding: 0px;
    }

    .chat-section {
        padding: 20px 0 0 0;
    }
    
    .chat-input-container {
        flex-direction: column;
        gap: 0.5rem;
    }
}
body {
font-family: Inter;
}

.player-logo{
    width:30px;
}
/* Test */
/* Trong <style> hoặc template-post.css */
.countdown-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; 
    max-width: 100%;
    /* padding-bottom: 56.25%;  */
    height: 100%; 
    overflow: hidden;
}

/* #jwplayer-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */

#jwplayer-container iframe,
#jwplayer-container video {
    width: 100% !important;
    height: 100% !important;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}
@media screen and (max-width: 1280px) and (min-width: 800px){
    .countdown{
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content: center;
        padding:0;
        margin:0;
    }
    .countdown-title{
        margin: 0 !important;
    }
    .item.v-toggle{
        display:flex;
        align-items:center;
        justify-content: flex-end;
        width: max-content;
        flex: 0 0 15%;
    }
    .houes-blur{
        position: relative;
        top: 0;
        left: 0;
        font-size:36px;
        filter: blur(0)!important;
        padding-right: 4px;
    }
    .minutes::before{
        content:": ";
    }
    .sb-tabs{
        flex: 0 0 70%;
    }
    .sb_header{
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
        column-gap: 5px;
        flex-wrap: nowrap;
    }
    .v-tabs.v-tabs-min.m-0.nav.nav-pills{
        display:flex;
        flex-direction:row;
        align-items: center;
        justify-content: flex-start !important;
        padding: 8px 0 !important;
    }
    .minutes{
        margin: 0 !important;
        font-size:36px;
    }
    .match-date{
        font-size: 12px;
    }
    .text-content{
        font-size: 12px;
    }
    .item.item-clean{
        flex: 0 0 15%;
        display:flex;
        align-items:center;
        justify-content:flex-end;
        width: max-content;
    }
}

@media screen and (max-width: 800px) and (min-width: 640px){
    .countdown{
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content: center;
        padding:0;
        margin:0;
    }
    .countdown-title{
        margin: 0 !important;
    }
    .item.v-toggle{
        display:flex;
        align-items:center;
        justify-content: flex-end;
        width: max-content;
        flex: 0 0 20%;
    }
    .houes-blur{
        position: relative;
        top: 0;
        left: 0;
        font-size:36px;
        filter: blur(0)!important;
        padding-right: 4px;
    }
    /* .minutes::before{
        content:": ";
    } */
    .sb-tabs{
        flex: 0 0 60%;
    }
    .sb_header{
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
        column-gap: 5px;
        flex-wrap: nowrap;
    }
    .v-tabs.v-tabs-min.m-0.nav.nav-pills{
        display:flex;
        flex-direction:row;
        align-items: center;
        justify-content: flex-start !important;
        padding: 8px 0 !important;
    }
    .minutes{
        margin: 0 !important;
        font-size:36px;
    }
    .match-date{
        font-size: 12px;
    }
    .text-content{
        font-size: 12px;
    }
    .item.item-clean{
        flex: 0 0 20%;
        display:flex;
        align-items:center;
        justify-content:flex-end;
        width: max-content;
    }
     .chat-section{
        margin:0;
    }
}

@media screen and (max-width: 640px) and (min-width: 520px){
    .countdown{
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content: center;
        padding:0;
        margin:0;
    }
    .countdown-title{
        margin: 0 !important;
    }
    .item.v-toggle{
        display:flex;
        align-items:center;
        justify-content: flex-end;
        width: max-content;
        flex: 0 0 20%;
    }
    .houes-blur{
        position: relative;
        top: 0;
        left: 0;
        font-size:36px;
        filter: blur(0)!important;
        padding-right: 4px;
    }
    .minutes::before{
        content:": ";
    }
    .sb-tabs{
        flex: 0 0 60%;
    }
    .sb_header{
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
        column-gap: 5px;
        flex-wrap: nowrap;
    }
    .v-tabs.v-tabs-min.m-0.nav.nav-pills{
        display:flex;
        flex-direction:row;
        align-items: center;
        justify-content: flex-start !important;
        padding: 8px 0 !important;
    }
    .minutes{
        margin: 0 !important;
        font-size:36px;
    }
    .match-date{
        font-size: 12px;
    }
    .text-content{
        font-size: 12px;
    }
    .item.item-clean{
        flex: 0 0 20%;
        display:flex;
        align-items:center;
        justify-content:flex-end;
        width: max-content;
    }
    .chat-section{
        margin:0;
    }
}
@media screen and (max-width: 520px) and (min-width: 300px){
    .countdown{
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content: center;
        padding:0;
        margin:0;
    }
    .container{
        padding:0 !important;
    }
    .chat-section{
        margin:0;
    }
    .countdown-title{
        margin: 0 !important;
    }
    .v-tabs.v-tabs-min.m-0.nav.nav-pills .nav-item .nav-link.active span{
        display: none!important;
    }
    .item.v-toggle{
        display:flex;
        align-items:center;
        justify-content: flex-end;
        width: max-content;
        flex: 0 0 25%;
        z-index: 1;
        padding: 8px 0;
        background: #000000;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        filter: drop-shadow(-20px 0px 10px rgba(0,0,0,1));
    }
    .item.v-toggle .text{
        font-size: 11px !important;
        white-space: nowrap;
    }
    .houes-blur{
        position: relative;
        top: 0;
        left: 0;
        font-size:36px;
        filter: blur(0)!important;
        padding-right: 4px;
    }
    .minutes::before{
        content:": ";
    }
    .sb-tabs{
        flex: 0 0 50%;
        white-space: nowrap;
    }
    .sb_header{
        position:relative;
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
        column-gap: 5px;
        flex-wrap: nowrap;
        width: 100%;
        max-width:100%;
        white-space:nowrap;
    }
    .v-tabs.v-tabs-min.m-0.nav.nav-pills{
        position: absolute;
        display:flex;
        flex-direction:row;
        align-items: center;
        justify-content: flex-start !important;
        top:0;
        padding:0;
        z-index:-1;
        overflow: hidden;
        width:100%;
        max-width:100%;
    }
    .minutes{
        margin: 0 !important;
        font-size:36px;
    }
    .match-date{
        font-size: 12px;
        margin: 0;
    }
    .text-content{
        font-size: 12px;
    }
    .item.item-clean{
        flex: 0 0 25%;
        display:flex;
        align-items:center;
        justify-content:flex-end;
        width: max-content;
        z-index:1;
        padding: 8px 0;
        background: #000000;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        filter: drop-shadow(-20px 0px 10px rgba(0,0,0,1));
    }
    .item.item-clean .text{
        font-size: 11px;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    /* .countdown-section {
        padding-bottom: 75%;
    } */
    .header-post, .main-content-post, .countdown-section {
        border-radius: unset !important;
    }
    .matches-section {
        padding: 1rem;
    }

}

/* Chat slider layout for match detail */
.chat-section .chat-container {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.chat-section .chat-container > * {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 0;
    min-height: 0;
}

.chat-section .chat-container::-webkit-scrollbar {
    display: none;
}

.chat-section .chat-messages {
    max-height: 55vh;
}
.chat-section .chat-input-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}
.chat-section .chat-input-container .send-button {
    width: 100%;
}

/* Ensure chat tabs stretch full height */
.chat-section .tab-pane {
    height: 100%;
    display: none;
    flex-direction: column;
}

.chat-section .tab-pane.active {
    display: flex;
}

.chat-section .tab-pane > .chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}
@media (max-width: 300px) {
    .countdown{
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content: center;
        padding:0;
        margin:0;
    }
    .container{
        padding:0 !important;
    }
    .chat-section{
        margin:0;
    }
    .countdown-title{
        margin: 0 !important;
    }
    .v-tabs.v-tabs-min.m-0.nav.nav-pills .nav-item .nav-link.active span{
        display: none!important;
    }
    .item.v-toggle{
        display:flex;
        align-items:center;
        justify-content: flex-end;
        width: max-content;
        flex: 0 0 25%;
        z-index: 1;
        padding: 8px 0;
        background: #000000;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        filter: drop-shadow(-20px 0px 10px rgba(0,0,0,1));
    }
    .item.v-toggle .text{
        font-size: 11px !important;
        white-space: nowrap;
    }
    .houes-blur{
        position: relative;
        top: 0;
        left: 0;
        font-size:36px;
        filter: blur(0)!important;
        padding-right: 4px;
    }
    .minutes::before{
        content:": ";
    }
    .sb-tabs{
        flex: 0 0 50%;
        white-space: nowrap;
    }
    .sb_header{
        position:relative;
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
        column-gap: 5px;
        flex-wrap: nowrap;
        width: 100%;
        max-width:100%;
        white-space:nowrap;
    }
    .v-tabs.v-tabs-min.m-0.nav.nav-pills{
        position: absolute;
        display:flex;
        flex-direction:row;
        align-items: center;
        justify-content: flex-start !important;
        top:0;
        padding:0;
        z-index:-1;
        overflow: auto;
        width:100%;
        max-width:100%;
        white-space: nowrap;
    }
    .minutes{
        margin: 0 !important;
        font-size:36px;
    }
    .match-date{
        font-size: 12px;
        margin: 0;
    }
    .text-content{
        font-size: 12px;
    }
    .item.item-clean{
        flex: 0 0 25%;
        display:flex;
        align-items:center;
        justify-content:flex-end;
        width: max-content;
        z-index:1;
        padding: 8px 0;
        background: #000000;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        filter: drop-shadow(-20px 0px 10px rgba(0,0,0,1));
    }
    .item.item-clean .text{
        font-size: 11px;
        white-space: nowrap;
    }

}

@media (max-width: 1279px) {
    .chat-section {
        width: 100%;
        min-height: 700px;
        padding: 1rem !important;
    }
}

@media screen and (max-width: 1700px) {
    .chat-section .tab-content {
        min-height: 600px;
        max-height: 700px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        background: transparent;
    }

    .chat-section .tab-content .tab-pane {
        flex: 1;
        min-height: 0;
    }
}

@media screen and (max-width: 639px) and (min-width: 365px) {
    .container {
        max-width: 960px;
        transition: all 0.3s ease;
        padding: 0 !important;
    }
}
