/* Carousel Container */
.date-carousel-container {
    position: relative;
    width: 100%;
    margin: 2rem 0;
}

/* Carousel Wrapper - creates the "window" */
.date-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Carousel Track - holds all slides */
.date-carousel {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100%;
}

/* Individual Slides */
.date-group {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Navigation Buttons */
.carousel-prev, 
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Disabled state for buttons */
.carousel-prev.disabled,
.carousel-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: #007bff;
}

/* Match Cards Styles */
.match-card {
    margin-bottom: 1rem;
}

.teams-display {
    display: flex;
    justify-content: center;
    align-items: center;
}

.team {
    flex: 1;
    text-align: center;
}

.vs-container {
    flex: 0 0 auto;
    padding: 0 1rem;
}

.vs-badge {
    font-weight: bold;
    font-size: 1.2rem;
}

.match-time small {
    display: block;
    margin-top: 0.5rem;
}

.team-logo {
    margin-bottom: 0.5rem;
}

.team-placeholder {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #999;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .carousel-prev, .carousel-next {
        display: none;
    }
    
    .teams-display {
        flex-direction: column;
    }
    
    .vs-container {
        margin: 1rem 0;
    }
}