/* Nur Klassen-Optik. Farben kommen aus der JSON bzw. werden per JS gesetzt. */

.route-class {
    color: #fff;
    font-weight: 800;
    border-radius: 6px;
    padding: 8px 12px;
    min-width: 58px;
    text-align: center;
    line-height: 1.1;
}

.route-class small {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.92;
}

.class-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e9edf2;
    border-radius: 999px;
    padding: 4px;
    width: auto;
    max-width: 100%;
}

.class-switch-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #1f2937;
    border-radius: 999px;
    padding: 10px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.15s ease;
    white-space: nowrap;
}

.class-switch-button.active {
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
