.routes-container {
    display: flex;
    height: calc(100vh - 140px);
    gap: 20px;
}

.routes-sidebar {
    width: 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.routes-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.route-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    border-left: 4px solid transparent;
}

.route-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.route-item.active {
    background: rgba(52, 211, 153, 0.1);
    border-left-color: var(--accent-primary);
}

.route-time {
    font-weight: bold;
    color: var(--accent-primary);
    font-size: 1.1em;
}

.route-client {
    font-weight: 600;
    margin: 4px 0;
}

.route-address {
    font-size: 0.85em;
    color: var(--text-medium);
}

.routes-map-container {
    flex: 1;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

#route-map {
    width: 100%;
    height: 100%;
}

.date-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: inherit;
}

/* Leaflet Dark Mode adjustments */
.leaflet-tile {
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}
