/* ========================================================================
   CAROUSEL STYLES – transform-based, no arrows
   ======================================================================== */

.cf-carousel-wrapper {
    position: relative;
    margin: 1px 0;
    overflow: hidden;
}

.cf-carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.cf-carousel-track {
    display: flex;
    gap: 20px;
    overflow: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.cf-carousel-track::-webkit-scrollbar {
    display: none;
}

.cf-carousel-slide {
    flex: 0 0 300px;
    background: #0f2a44;
    border-radius: 8px;
    border: 1px solid #1e4a76;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.cf-carousel-slide:hover {
    transform: translateY(-4px);
}

/* Κάρτα – τα υπόλοιπα στυλ όπως πριν */
.cf-carousel-card {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.cf-carousel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.cf-carousel-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}

.cf-carousel-league-name {
    font-weight: 600;
    font-size: 1rem;
    color: #F5C542;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cf-carousel-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.cf-carousel-stat {
    display: flex;
    justify-content: space-between;
    padding: 1px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cf-carousel-stat .stat-label {
    color: #aaa;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cf-carousel-stat .stat-value {
    font-weight: 600;
    color: #fff;
}

.cf-carousel-stat .stat-value.wins-positive { color: #4ade80; }
.cf-carousel-stat .stat-value.losses-negative { color: #f87171; }
.cf-carousel-stat .stat-value.profit-positive { color: #4ade80; }
.cf-carousel-stat .stat-value.profit-negative { color: #f87171; }
.cf-carousel-stat .stat-value.roi-text-positive { color: #4ade80; }
.cf-carousel-stat .stat-value.roi-text-negative { color: #f87171; }

.cf-carousel-chart {
    height: 100px;
    margin: 6px 0;
    flex-shrink: 0;
}

.cf-carousel-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.cf-carousel-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cf-carousel-btn-small {
    padding: 4px 14px;
    background: #1976d2;
    color: #fff;
    border-radius: 4px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: background 0.2s;
}
.cf-carousel-btn-small:hover {
    background: #1565c0;
    color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .cf-carousel-slide {
        flex: 0 0 250px;
    }
    .cf-carousel-flag {
        width: 26px;
        height: 26px;
    }
    .cf-carousel-league-name {
        font-size: 0.85rem;
    }
    .cf-carousel-stats {
        font-size: 0.7rem;
        gap: 1px 6px;
    }
}