/* Network Page Specific Styling */
.network-layout {
    display: grid;
    grid-template-columns: 1fr; /* Full width for the map */
    height: 70vh; /* Make it large */
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
}

#network-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-sidebar {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 320px;
    bottom: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-header {
    padding: 1.5rem;
    background: var(--primary-dark);
    color: white;
}

.sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.sidebar-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-search input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: #F9FAFC;
}

.sidebar-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.station-list-item {
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: var(--transition);
}

.station-list-item:hover {
    background: #F2F5F9;
    padding-left: 2rem;
}

.station-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.station-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .map-sidebar {
        display: none; /* Hide sidebar on mobile to favor the map */
    }
}
