* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background-color: #1a202c;
color: #e2e8f0;
}
.container {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.header {
background-color: #2d3748;
padding: 1rem 2rem;
border-bottom: 2px solid #4a5568;
display: flex;
justify-content: space-between;
align-items: center;
}
.header h1 {
font-size: 1.5rem;
font-weight: 600;
color: #f7fafc;
}
.stats {
font-size: 0.9rem;
color: #cbd5e0;
}
.stats span {
margin-left: 1rem;
}
.zoom-out-btn {
background-color: #4299e1;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 0.25rem;
cursor: pointer;
font-size: 0.9rem;
transition: background-color 0.2s;
}
.zoom-out-btn:hover {
background-color: #3182ce;
}
.treemap {
flex: 1;
background-color: #2d3748;
}
.info-panel {
position: fixed;
bottom: 1rem;
right: 1rem;
background-color: #2d3748;
border: 1px solid #4a5568;
border-radius: 0.5rem;
padding: 1rem;
max-width: 400px;
max-height: 300px;
overflow-y: auto;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}
.info-panel h3 {
font-size: 1rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: #f7fafc;
}
.info-panel p {
font-size: 0.875rem;
color: #cbd5e0;
margin-bottom: 0.25rem;
}
.info-panel pre {
font-family: "SF Mono", Monaco, "Courier New", monospace;
font-size: 0.875rem;
color: #e2e8f0;
white-space: pre-wrap;
word-wrap: break-word;
}
.info-panel details {
margin-top: 0.5rem;
}
.info-panel summary {
cursor: pointer;
font-weight: 600;
color: #90cdf4;
margin-bottom: 0.25rem;
}
.info-panel ul {
list-style: none;
margin-top: 0.25rem;
}
.info-panel li {
font-size: 0.75rem;
color: #cbd5e0;
padding: 0.125rem 0;
font-family: "SF Mono", Monaco, "Courier New", monospace;
}