.integrator-competition-header {
    display: flex;
    flex-direction: row;
}

/* ========================================================================
   COMPETITION – Tabovi za kola
   ======================================================================== */

.rounds-tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    padding: var(--spacing-md) var(--spacing-sm);
}

.rounds-tabs {
    display: flex;
    flex: 1;
}

.rounds-tabs__tab {
    flex: 1;
    text-align: center;
    border: none;
    background: transparent;
    font-size: var(--font-secondary);
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s, border-color 0.2s;
}

.rounds-tabs__tab:hover {
    color: var(--text-muted);
}

.rounds-tabs__tab--active {
    color: var(--text-main);
    
}

.rounds-tabs__arrow {
    flex-shrink: 0;
    font-size: var(--font-main);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.rounds-tabs__arrow:disabled {
    opacity: 0.3;
}

/* Sadržaj kola */
.rounds-content__round {
    display: none;
}

.rounds-content__round--active {
    display: block;
}

.rounds-content__date-title {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin: 0 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #eee;
}

.rounds-tabs__tab--placeholder {
    cursor: default;
    opacity: 0.3;
    border-bottom-color: transparent;
}

/* Strelice na desktopu kad ima puno kola */
.rounds-tabs__arrow {
    display: flex;
}

/* Mobilni – strelice vidljive, samo jedan tab */
@media (max-width: 768px) {
    .rounds-tabs__arrow {
        display: flex;
    }

    .rounds-tabs__tab {
        display: none;
    }

    .rounds-tabs__tab--active {
        display: block;
        flex: 1;
    }

    .rounds-tabs__tab--placeholder {
        display: none;
    }

    .rounds-tabs__arrow {
        display: flex;
    }
}