* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #0f172a;
color: #f1f5f9;
overflow: hidden;
}
.container {
display: flex;
height: 100vh;
}
#graph {
flex: 1;
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
border-right: 1px solid #334155;
}
.sidebar {
width: 380px;
background: rgba(15, 23, 42, 0.95);
border-left: 1px solid #334155;
display: flex;
flex-direction: column;
overflow: hidden;
}
.sidebar-header {
padding: 16px;
border-bottom: 1px solid #334155;
flex-shrink: 0;
}
.sidebar-header h2 {
font-size: 16px;
margin-bottom: 8px;
}
.sidebar-header p {
font-size: 12px;
color: #94a3b8;
}
.sidebar-content {
flex: 1;
overflow-y: auto;
padding: 16px;
}
.sidebar-content::-webkit-scrollbar {
width: 8px;
}
.sidebar-content::-webkit-scrollbar-track {
background: transparent;
}
.sidebar-content::-webkit-scrollbar-thumb {
background: #475569;
border-radius: 4px;
}
.section {
margin-bottom: 20px;
}
.section h3 {
font-size: 13px;
font-weight: 600;
color: #cbd5e1;
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.file-upload-area {
display: flex;
flex-direction: column;
gap: 8px;
}
.file-name {
font-size: 11px;
color: #94a3b8;
padding: 4px 8px;
background: rgba(51, 65, 85, 0.3);
border-radius: 4px;
word-break: break-all;
}
.stat-row {
display: flex;
justify-content: space-between;
font-size: 12px;
margin-bottom: 6px;
padding: 6px;
background: rgba(51, 65, 85, 0.3);
border-radius: 4px;
}
.stat-label {
color: #94a3b8;
}
.stat-value {
font-family: 'Courier New', monospace;
font-weight: 600;
color: #60a5fa;
}
.legend {
display: grid;
gap: 8px;
}
.legend-item {
display: flex;
align-items: center;
font-size: 12px;
gap: 8px;
}
.legend-color {
width: 14px;
height: 14px;
border-radius: 50%;
}
.node-details {
background: rgba(51, 65, 85, 0.3);
padding: 12px;
border-radius: 6px;
margin-top: 10px;
}
.detail-row {
margin-bottom: 8px;
}
.detail-row:last-child {
margin-bottom: 0;
}
.detail-label {
font-size: 10px;
color: #94a3b8;
text-transform: uppercase;
letter-spacing: 0.3px;
margin-bottom: 2px;
}
.detail-value {
font-size: 12px;
background: rgba(15, 23, 42, 0.6);
padding: 4px 6px;
border-radius: 3px;
font-family: 'Courier New', monospace;
word-break: break-all;
}
.controls {
padding: 12px;
border-top: 1px solid #334155;
background: rgba(30, 41, 59, 0.6);
flex-shrink: 0;
display: flex;
gap: 8px;
}
.control-button {
flex: 1;
padding: 8px 12px;
background: #3b82f6;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 12px;
font-weight: 500;
transition: background 0.2s;
}
.control-button:hover {
background: #2563eb;
}
.control-button.secondary {
background: #475569;
}
.control-button.secondary:hover {
background: #64748b;
}
.empty-state {
text-align: center;
color: #64748b;
padding: 20px 0;
}