.container.contaiver-live {
    padding-left: 0;
}
.container-live {
    display: flex;
}

/* Video Section */
.video-section {
    width: 100%;
    background-color: #fff;
    overflow: hidden;
}

.match-header {
    padding: 10px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0c0c0c url(/wp-content/uploads/2025/04/bg-match-2.webp) no-repeat !important;
    border: solid 2px #161616;
    background-position: center !important;
}

.team {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    width: 150px;
    gap: 0px !important;
}

.team-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.team-logo img {
    width: 50px !important;
    height: 50px !important;
}

.team-name {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    display: inline-block;
}

.score-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
}

.score {
    font-size: 28px;
    font-weight: bold;
    padding: 0 15px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    min-width: 60px;
    text-align: center;
}

.home-score {
    border-left: 4px solid #ff1919;;
}

.away-score {
    border-right: 4px solid #1952ff;
}

.score-separator {
    font-size: 24px;
    margin: 0 10px;
}

.match-status {
    background-color: #008000;
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.video-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #000;
}

.video-player {
    width: 100%;
    height: 100%;
    background-color: #000;
}

.video-controls {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.control-button {
    background: none;
    border: none;
    color: white;
    margin-right: 15px;
    cursor: pointer;
    font-size: 18px;
}

.time-display {
    color: white;
    font-size: 14px;
    margin-right: 15px;
}

.fullscreen-button {
    margin-left: auto;
}

.video-footer {
    background-color: #0C0C0C;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    border-top: 1px solid #333;
}

.tab-button {
    border: none;
    background-color: #333;
    color: white;
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
}

.tab-button:hover {
    background-color: #444;
}

.tab-button.active {
    background: linear-gradient(220deg, #00711b 7.37%, #00691a 57.22%, #005b16 66.05%, #2dbf1b 131.67%);
    box-shadow: inset 0 0 0 2px #3f9705;
}

/* Chat Section */
.chat-section {
    width: 302px;
    height: 100%;
    background-color: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.chat-tabs {
    display: flex;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

.chat-tab {
    padding: 10px 15px;
    text-align: center;
    cursor: pointer;
    flex: 1;
    font-size: 14px;
    color: #ccc;
}

.chat-tab.active {
    background-color: #2a2a2a;
    color: #fff;
    border-bottom: 2px solid #4CAF50;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: #222;
}

.chat-message {
    margin-bottom: 5px;
    padding: 3px 3px 1px 3px;
    background-color: #2a2a2a;
    border-radius: 5px;
}

.message-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.message-icon {
    width: 20px;
    height: 20px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: white;
}

.message-username {
    font-weight: bold;
    color: #08C04C;
    font-size: 14px;
}

.message-content {
    color: #ddd;
    font-size: 14px;
    word-break: break-word;
}

.chat-link {
    color: #4CAF50;
    text-decoration: none;
}

.chat-link:hover {
    text-decoration: underline;
}

.chat-input {
    display: flex;
    padding: 10px;
    background-color: #222222;
    border-top: 1px solid #333;
}

.chat-input input {
    flex: 1;
    padding: 18px;
    border-radius: 5px 0 0 5px;
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: #fff;
    outline: none;
}

.chat-input button {
    border: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 0px 5px 5px 0px;
    padding: 0 20px;
    cursor: pointer;
    font-weight: bold;
}

.chat-input button:hover {
    background-color: #3e8e41;
}

.match-title {
    background-color: #222222;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #ffcc00;
}

.chat-status {
    margin-top: 20px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

.contaiver-live {
    position: relative;
    padding-right: 302px;
}

@media (max-width: 992px) {
    .video-footer {
    display: block;
    overflow-x: auto;  /* Cho phép scroll ngang */
    white-space: nowrap; /* Giữ tất cả nội dung trong một dòng */
    text-align: center;
    padding: 15px 0;
}
    .contaiver-live {
        padding-right: 0;
        padding: 0;
    }

    .container-live {
        flex-direction: column;
        height: auto;
    }

    .video-section,
    .chat-section {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .chat-section {
        position: relative;
        min-height: auto;
        height: auto;
    }

    .chat-section .chat-messages {
        height: 400px;
    }
}

.message-level {
    background: #08C04C;
    padding: 2px 5px;
    margin-right: 3px;
    border-radius: 3px;
    font-size: 11px;
}

.level1 {
    background: #c09a08;
}

.level2 {
    background: #D85E00;
}

.level3 {
    background: #23c008;
}

.level4 {
    background: #08aec0;
}

.level5 {
    background: #5008c0;
}

.container-extend {
    background: #0C0C0C;
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 15px;

}

.container .content {
    background: #0C0C0C;
    margin-bottom: 15px;
}    

.heading-watch{
    border-left: 3px solid #50bf05;
    padding-left: 10px;
    margin-top: 0px;
}

.login-button {
    padding: 15px 0;
    color: white;
    width: 100%;
    display: block;
    text-align: center; /* đảm bảo chữ ở giữa */
    background: linear-gradient(220deg, #00711b 7.37%, #00691a 57.22%, #005b16 66.05%, #2dbf1b 131.67%);
    box-shadow: inset 0 0 0 2px #3f9705
}

#chat_messages::-webkit-scrollbar {
    width: 6px; /* Điều chỉnh độ rộng thanh cuộn */
}

#chat_messages::-webkit-scrollbar-track {
    background: #1a1a1a; /* Nền tối của phần track */
}

#chat_messages::-webkit-scrollbar-thumb {
    background-color: #555; /* Màu của phần kéo */
    border-radius: 10px; /* Bo góc thanh cuộn */
    border: 1px solid #333; /* Viền thanh cuộn */
}

.breadcrumb {
    font-size: 0.8rem;
}

.rows {
    background-color: #0c0c0c;
}

@media (max-width: 700px) {
    .rows {
        display: flex;
        flex-direction: column !important;
    }
    .c-left {
        width: 100% !important;
    }
}

@media (max-width: 992px) {
    .score-box {
        margin: 0 20px;
    }
    .team-name {
        max-width: 70px !important;
    }
}

@media (max-width: 768px) {
    .c-right {
        order: -1;
    }
}

.away {
        flex-direction: row !important;
}

section {
    background: #0c0c0c;
}

@media (max-width: 480px) {
    div.match-title {
        display: none;
    }
    span.message-level.level1 {
        padding: 2px 5px 2px 5px;
        margin-right: 5px;
        border-radius: 5px;
        font-size: 12px;
    } 
    .video-footer {
        padding: 12px 0;
    }
    a.tab-button {
        padding: 4px 10px;
        margin: 0 3px;
    }
    
    #chat_messages.chat-messages {
        padding: 5px;
    }
}

.chat-links {
    background: linear-gradient(220deg, #f76700 7.37%, #f57c00 57.22%, #ef6c00 66.05%, #ffca28 131.67%);
    box-shadow: inset 0 0 0 2px #ff9800;
    overflow: hidden; /* để float không bị tràn */
    text-align: center;
    padding: 3px 0;
}

.chat-links a {
  float: left;
  display: inline-block;
  width: 50%;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 0;
  line-height: 15px;
  font-size: 13px;
  box-sizing: border-box;
}

.chat-links a div {
  font-weight: normal;
  font-size: 13px;
  margin-top: 3px;
}

a.chat-link-zalo {
    border-right: 2px solid white;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  background: #ff0000 !important;
}

.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
  margin-bottom: 0 !important;
}

@keyframes marquee {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 480px) {
    .chat-links a {
        font-size: 13px !important;
        padding: 3px 0 !important;
        line-height: 14px !important;
    }
}

.team img {
    width: 100% !important;
    height: 100% !important;
}