#map { 
    height: 100%;
    min-height: 600px;
}

.slider-container { 
    margin-bottom: 1rem; 
}

.report-card { 
    background: #f8fafc; 
    border-radius: 8px; 
    padding: 1rem; 
    margin-bottom: 1rem; 
}

.spinner {
    border: 4px solid rgba(0, 0, 0, .1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.line-clickable {
    cursor: pointer;
}

.line-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.line-item:hover {
    background-color: #f3f4f6;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-online {
    background-color: #10b981;
    color: white;
}

.status-offline {
    background-color: #6b7280;
    color: white;
}

.legend {
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    border-radius: 6px;
    line-height: 20px;
    color: #333;
    font-size: 13px;
}

.legend h4 {
    margin: 0 0 7px;
    color: #222;
    font-weight: 700;
    font-size: 14px;
}

.legend i {
    width: 25px;
    height: 4px;
    float: left;
    margin-right: 8px;
    margin-top: 8px;
    opacity: 1;
    border-radius: 2px;
}

/* --- ADDED FOR COLLAPSIBLE SECTIONS --- */
.collapsible-header {
    cursor: pointer;
    user-select: none; /* Prevents text selection on click */
}

.collapsible-content.collapsed {
    display: none;
}