/* Commentator Swiper Styles */

/* Swiper container for >3 items */
.commentator-swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-commentators {
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.slider-commentators .swiper-wrapper {
    display: flex;
    align-items: center;
    transition-property: transform;
}

.slider-commentators .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc((100% - 12px) / 2);
    flex-shrink: 0;
    min-width: 0;
}

@media (min-width: 640px) {
    .slider-commentators .swiper-slide {
        width: calc((100% - 16px) / 2);
    }
}

@media (min-width: 1024px) {
    .slider-commentators .swiper-slide {
        width: calc((100% - 20px) / 2);
    }
}

.slider-commentators .swiper-slide a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Navigation buttons */
[class*="commentator-prev"],
[class*="commentator-next"] {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

[class*="commentator-prev"]:hover,
[class*="commentator-next"]:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: #007aff;
}

[class*="commentator-prev"].swiper-button-disabled,
[class*="commentator-next"].swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

/* Pagination - Hidden */
.slider-commentators .swiper-pagination {
    display: none !important;
}

/* Single item layout - full width */
.commentator-single-item {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Two items layout - centered */
.commentator-two-items {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Responsive adjustments */
@media (min-width: 640px) {
    .slider-commentators {
        padding: 0 12px;
    }
}

@media (min-width: 1024px) {
    .slider-commentators {
        padding: 0 16px;
    }
    
    [class*="commentator-prev"],
    [class*="commentator-next"] {
        width: 32px;
        height: 32px;
    }
}

/* Hide pagination if only 2-3 slides visible (when slidesPerView = 2) */
.slider-commentators .swiper-pagination:has(.swiper-pagination-bullet:only-child) {
    display: none;
}


.cakhia-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 100%;
}
.cakhia-loading div[role="status"] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;   
    width: 60px;
}
.fill-brand {
    fill: #007aff;
}

/* Match Card Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.match-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.match-card:nth-child(1) {
    animation-delay: 0.05s;
}

.match-card:nth-child(2) {
    animation-delay: 0.1s;
}

.match-card:nth-child(3) {
    animation-delay: 0.15s;
}

.match-card:nth-child(4) {
    animation-delay: 0.2s;
}

.match-card:nth-child(5) {
    animation-delay: 0.25s;
}

.match-card:nth-child(6) {
    animation-delay: 0.3s;
}

.match-card:nth-child(n+7) {
    animation-delay: 0.35s;
}