* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #1a2332; color: #fff; min-height: 100vh; padding: 20px; }
.dashboard-container { max-width: 1400px; margin: 0 auto; }
.dashboard-header { background: #2d3e50; padding: 30px; border-radius: 12px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.dashboard-header h1 { font-size: 32px; font-weight: 600; }
.view-toggle { display: flex; gap: 10px; }
.toggle-btn { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); color: #fff; padding: 12px 24px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.toggle-btn.active { background: #4a90e2; border-color: #4a90e2; }
.legend { background: #2d3e50; padding: 15px 30px; border-radius: 12px; margin-bottom: 20px; display: flex; gap: 30px; justify-content: center; }
.legend-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.status-indicator { width: 16px; height: 16px; border-radius: 50%; }
.status-up { background-color: #4caf50; }
.status-degraded { background-color: #ffc107; }
.status-down { background-color: #f44336; }
.status-unmanaged { background-color: #9e9e9e; }
.view-container { background: #2d3e50; border-radius: 12px; padding: 30px; margin-bottom: 20px; display: none; }
.view-container.active { display: block; }
#leaflet-map { width: 100%; height: 600px; border-radius: 8px; }
#logical-svg { width: 100%; height: auto; min-height: 500px; }
.status-panel { background: #2d3e50; padding: 30px; border-radius: 12px; }
.status-panel h3 { font-size: 20px; margin-bottom: 20px; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.status-card { background: rgba(255,255,255,0.05); padding: 20px; border-radius: 8px; text-align: center; border: 1px solid rgba(255,255,255,0.1); }
.status-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.status-value { font-size: 36px; font-weight: 600; }
.tab-bar { background: #2d3e50; padding: 12px 20px; border-radius: 12px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.tab-list { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.tab { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); color: #fff; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.tab.active { background: #4a90e2; border-color: #4a90e2; }
.new-tab-btn { background: rgba(255,255,255,0.1); border: 2px dashed rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.filter-panel { background: #2d3e50; border-radius: 12px; margin-bottom: 20px; overflow: hidden; }
.filter-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.filter-toggle-btn { background: none; border: none; color: #fff; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 12px; border-radius: 6px; }
.filter-actions { display: flex; gap: 8px; }
.filter-action-btn { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 12px; }
.filter-checkbox-list { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.notification-container { position: fixed; top: 20px; right: 20px; z-index: 1001; display: flex; flex-direction: column; gap: 10px; }
.status-popup { position: fixed; background: #2d3e50; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); padding: 0; min-width: 320px; z-index: 1000; border: 1px solid rgba(255,255,255,0.1); }
.status-popup.hidden { display: none; }
.popup-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.popup-close { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 28px; cursor: pointer; }
.popup-content { padding: 20px; }
.popup-footer { padding: 15px 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: flex-end; }
.btn-details { background: #4a90e2; border: none; color: #fff; padding: 10px 20px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.logical-view-controls { display: flex; justify-content: flex-end; margin-bottom: 15px; }
.reset-btn { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); color: #fff; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.node { cursor: pointer; }
.node-circle { transition: all 0.3s ease; }
.node-label { font-size: 14px; font-weight: 500; fill: #fff; text-anchor: middle; }
.node-status { font-size: 11px; fill: rgba(255,255,255,0.8); text-anchor: middle; }
.connection-line { stroke-width: 3; opacity: 0.8; }
.connection-up { stroke: #4caf50; }
.connection-degraded { stroke: #ffc107; }
.connection-down { stroke: #f44336; }
.connection-no_data { stroke: #9e9e9e; }
