.sport-cat {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    /* محاذاة في المركز وليس ممتدة */
    flex-wrap: wrap;
}

.sport-cat .tab {
    padding: 10px 25px;
    border: 2px solid #e7e7e7;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #666;
    white-space: nowrap;
    flex: 0 0 auto;
}

.sport-cat .tab.active {
    background-color: #e7e9ed;
}

.sport-cat .tab:hover:not(.active) {
    background-color: #e7e9ed;
}

.sport-cat .tab-content {
    display: none;
    padding: 20px;
}

.sport-cat .tab-content.active {
    display: block;
}

.sport-cat .swiper {
    width: 100%;
    height: 100%;
    padding: 3px 46px !important;
}

.sport-cat .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sport-cat .swiper-slide a {
    display: block;
    width: 100%;
}

.sport-cat .match-card {
    width: 100%;
    background: #fff
}

.sport-cat .teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5px;
    border: 1px solid #e8e8e8;
}

.sport-cat .team {
    text-align: center;
    flex: 1;
}

.sport-cat .team img {
    width: auto;
    height: 36px;
    object-fit: cover;
    margin-bottom: 8px;
}

.sport-cat .match-info {
    text-align: center;
    flex: 1.2;
}

.sport-cat .match-info h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
}

.sport-cat .match-info .time {
    font-size: 0.9rem;
    margin: 4px 0;
}

.sport-cat .match-info .status {
    font-weight: 600;
    font-size: 0.9rem;
}

.sport-cat .status-live {
    color: #dc3545;
    animation: blink 1s infinite alternate;
}

.sport-cat .status-finished {
    color: #198754;
}

@keyframes blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.5;
    }
}


.sport-cat .match-status {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.3);
}

.sport-cat .match-status.finished {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.sport-cat .match-status.upcoming {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

.sport-cat .swiper-pagination {
    bottom: 10px !important;
}

.sport-cat .swiper-pagination-bullet {
    background: #bdc3c7;
    opacity: 1;
    width: 12px;
    height: 12px;
}

.sport-cat .swiper-pagination-bullet-active {
    background: #3498db;
}

.sport-cat .swiper-button-next,
.sport-cat .swiper-button-prev {
    color: #3498db;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sport-cat .swiper-button-next:after,
.sport-cat .swiper-button-prev:after {
    font-size: 18px;
}


.sport-cat .swiper-button-next:after,
.sport-cat .swiper-button-prev:after {
    font-size: 13px !important;
}


.sport-cat .swiper-slide {
    height: auto;
}

.sport-cat .swiper-button-next,
.sport-cat .swiper-button-prev {
    /*    color: #000000;*/
    background: #1e22b4;
    /*    width: 50px;*/
    height: auto;
    margin-top: 0;
    border-radius: 0;
    top: 0;
    bottom: 0;
    color: #fff
}

.sport-cat .swiper-button-prev,
.sport-cat .swiper-rtl .swiper-button-next {
    left: 0 !important;
    right: auto !important;
}

.sport-cat .swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: 0 !important;
    left: auto !important;
}

.sport-cat .no-matches-message {
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 200px; */
    text-align: center;
    padding: 15px;
    font-size: 21px;
    color: #1e22b4;
    margin: auto;
    font-weight: bold;
}

/*Start Dark Mode Css*/
.dark-mode .sport-cat {
    background: #1a1a2e;
}

.dark-mode .sport-cat .no-matches-message {
    color: #ffffff;
}

.dark-mode .sport-cat .tab {
    border: 2px solid #2e2d2d;
    color: #ffffff;
}

.dark-mode .sport-cat .tab.active {
    background-color: #424382;
}

.dark-mode .sport-cat .tab:hover:not(.active) {
    background-color: #424382;
}


.dark-mode .sport-cat .swiper-slide a {
    color: #ffffff;
}

.dark-mode .sport-cat .match-card {
    background: #293554;
}
.dark-mode .sport-cat .teams {
    border: 1px solid #5b5c5d;
}
/*Start Dark Mode Css*/

@media (max-width: 768px) {

    .tab-content {
        padding: 20px 0 !important;
    }

    .sport-cat .teams {
        padding: 15px 0;
    }

}