/* Página Rutas disponibles - landing */

.rutas-page {
    padding-top: 100px;
    min-height: 100vh;
}

.rutas-section {
    padding: 2rem 0 4rem;
}

.rutas-title {
    font-size: 2rem;
    color: var(--primary-black, #000);
    margin-bottom: 0.5rem;
}

.rutas-intro {
    color: var(--text-light, #757575);
    margin-bottom: 1.5rem;
}

.rutas-city-form {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.rutas-city-form label {
    font-weight: 600;
    color: var(--text-dark, #212121);
}

.rutas-select {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-medium, #e0e0e0);
    border-radius: 8px;
    min-width: 220px;
    background: var(--background-white, #fff);
    cursor: pointer;
}

.rutas-select:focus {
    outline: none;
    border-color: var(--primary-yellow, #FFC107);
}

.rutas-error {
    padding: 1rem;
    background: #ffebee;
    color: #c62828;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.rutas-empty,
.rutas-hint {
    color: var(--text-light, #757575);
    font-size: 1.05rem;
}

.rutas-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-black, #000);
}

.rutas-content {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .rutas-content {
        grid-template-columns: 320px 1fr;
        align-items: start;
    }
}

.rutas-list-wrap {
    background: var(--gray-light, #f5f5f5);
    padding: 1.25rem;
    border-radius: 12px;
    border: 2px solid var(--gray-medium, #e0e0e0);
}

.rutas-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}

.ruta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--gray-medium, #e0e0e0);
}

.ruta-item:last-child {
    border-bottom: none;
}

.ruta-color-bar {
    width: 6px;
    height: 28px;
    border-radius: 3px;
    flex-shrink: 0;
}

.ruta-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    flex: 1;
}

.ruta-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-yellow, #FFC107);
}

.ruta-name {
    font-weight: 500;
    color: var(--text-dark, #212121);
}

.rutas-map-wrap {
    min-height: 360px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--gray-medium, #e0e0e0);
    background: var(--gray-light, #f5f5f5);
}

.rutas-map {
    width: 100%;
    height: 360px;
}

.nav-active {
    font-weight: 700;
    color: var(--primary-yellow, #FFC107) !important;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
