.route-index {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
}

/* Форма поиска */
.search-form {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Таблица */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.table th {
    background: #2563eb;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid #edf2f7;
    vertical-align: top;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background: #f8fafc;
}

/* Бейджи */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50rem;
}

.badge-success {
    color: #fff;
    background-color: #10b981;
}

.badge-warning {
    color: #fff;
    background-color: #f59e0b;
}

/* Описание маршрута */
.route-description {
    line-height: 1.5;
}

.route-description strong {
    color: #1e293b;
    font-weight: 600;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: all 0.2s;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border: 1px solid #2563eb;
}

.btn-outline-secondary {
    background: white;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .route-index {
        padding: 1rem;
    }

    .search-fields {
        grid-template-columns: 1fr;
    }

    .table {
        display: block;
        overflow-x: auto;
    }
}