/* ===========================================
   ALPINE EDITORIAL TIMELINE
   Clean, sophisticated controls
   =========================================== */

/* Timeline controls container */
.timeline-controls-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline info/filter panel */
.timeline-controls {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-5);
    background: var(--color-paper);
    border-radius: 100px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.timeline-stats {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

/* Language filter */
.language-filter {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.language-filter label {
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--font-size-sm);
}

.language-filter select {
    padding: var(--space-1) var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    background: var(--color-linen);
    color: var(--color-text);
    font-size: var(--font-size-sm);
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-fast);
}

.language-filter select:hover {
    border-color: var(--color-forest);
}

.language-filter select:focus-visible {
    outline: 2px solid var(--color-forest);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-controls-wrapper {
        padding: 0 var(--space-4);
    }

    .timeline-controls {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
        border-radius: var(--pill-border-radius-md);
        padding: var(--space-4);
        width: 100%;
    }

    .timeline-stats {
        text-align: center;
    }

    .language-filter {
        justify-content: center;
    }
}
