
/* Match Bar */
.match-bar {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    overflow-x: auto;
    white-space: nowrap;
}
.match-bar .container {
    display: flex;
    gap: 10px;
    padding: 0 10px;
}
.match-item {
    display: inline-block;
    width: 188px;
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 5px;
    font-size: 12px;
    flex-shrink: 0;
}
.match-time {
    color: #666;
    margin-bottom: 5px;
}
.match-teams {
    font-weight: bold;
    margin-bottom: 5px;
}
.match-odds {
    display: flex;
    justify-content: space-between;
}
.tag {
    display: inline-block;
    padding: 2px 5px;
    color: #fff;
    font-size: 10px;
    border-radius: 2px;
}
.tag-green { background-color: #28a745; }
.tag-orange { background-color: #fd7e14; }
.tag-blue { background-color: #007bff; }
.tag-red { background-color: #dc3545; }
.tag-purple { background-color: #6f42c1; }

/* Main Content Layout */
.main-content {
    padding-top: 15px;
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}
.left-column {
    width: 800px;
}
.right-column {
    width: 380px;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #000;
    margin-bottom: 20px;
    overflow: hidden;
}
.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}
.carousel-item.active {
    opacity: 1;
    z-index: 2;
}
.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    z-index: 3;
}
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    right: 20px;
    z-index: 4;
    display: flex;
    gap: 8px;
}
.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}
.dot.active {
    background-color: #fff;
}

/* News Section */
.news-block {
    background: #fff;
    margin-bottom: 20px;
}
.block-header {
    background-color: #ff4d4f; /* Red header */
    color: #fff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.block-header a {
    font-size: 12px;
}
.news-featured {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 15px;
}
.news-featured img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}
.news-featured-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}
.news-featured-content p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}
.news-list {
    padding: 0 15px;
}
.news-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.news-list li:last-child {
    border-bottom: none;
}
.news-date {
    color: #999;
    white-space: nowrap;
    margin-left: 10px;
}

/* Sidebar */
.sidebar-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.sidebar-header .icon {
    color: #ff4d4f;
}
.sidebar-list {
    margin-bottom: 20px;
}
.sidebar-list li {
    padding: 8px 0;
    font-size: 13px;
    color: #555;
    display: flex;
    gap: 10px;
}
.sidebar-list li span.num {
    color: #999;
    font-weight: bold;
    width: 15px;
}
.sidebar-list li:nth-child(1) span.num,
.sidebar-list li:nth-child(2) span.num,
.sidebar-list li:nth-child(3) span.num {
    color: #ff4d4f;
}
.c4{ background-color: #ff3333;}
.c12{ background-color: #006633;}
.c5{ background-color: #0066ff;}
.c13{ background-color: #990099;}
.c15{ background-color: #0066ff;}
.cList{background-color: #004ea2;}

.qr-box {
    background-color: #e6f7ff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    cursor: pointer;
   
}
.qr-text h4 {
    font-size: 14px;
    margin-bottom: 5px;
}
.qr-text p {
    font-size: 12px;
    color: #666;
}
.qr-code {
    width: 60px;
    height: 60px;
    background-color: #fff;
    padding: 2px;
}
.qr-code img {
    width: 100%;
    height: 100%;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        padding: 10px ;
    }
    .left-column, .right-column {
        width: 100%;
    }
    .right-column {
        order: -1;
        margin-bottom: 20px;
    }
    .carousel {
        height: 200px;
    }
    .carousel-caption {
        font-size: 16px;
        padding: 10px;
    }
    .news-featured {
        flex-direction: column-reverse;
    }
    .news-featured img {
        width: 100%;
        height: auto;
        max-height: 200px;
    }
    .news-list li {
        flex-direction: column;
        gap: 5px;
    }
    .news-date {
        margin-left: 0;
        font-size: 12px;
    }
    .match-bar::-webkit-scrollbar {
        display: none;
    }
}
