/* Dashboard Grid Layout */
.dashboard {
    display: grid;
    grid-template-areas:
        "header header header"
        "sidebar-left main sidebar-right"
        "sidebar-left controls sidebar-right";
    grid-template-columns: 250px 1fr 300px;
    grid-template-rows: 60px 1fr auto;
    height: 100vh;
    gap: 0;
}

/* Header */
.dashboard-header {
    grid-area: header;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    background: #2c3e50;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* Sidebars */
.sidebar {
    overflow-y: auto;
}

.sidebar-left {
    grid-area: sidebar-left;
    background: #ecf0f1;
    border-right: 1px solid #bdc3c7;
}

.sidebar-right {
    grid-area: sidebar-right;
    background: #ecf0f1;
    border-left: 1px solid #bdc3c7;
}

/* Main viewbox container */
.viewbox-container {
    grid-area: main;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* Control panel */
.control-panel {
    grid-area: controls;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 20px;
    background: #34495e;
    color: white;
    overflow-x: auto;
    border-top: 1px solid #2c3e50;
}

.control-group {
    min-width: 200px;
}

.control-group h3 {
    margin-bottom: 12px;
}

/* Stats panel */
.stats-panel {
    font-size: 13px;
}

.stats-panel p {
    margin-bottom: 6px;
    color: #ecf0f1;
}

.stats-panel span {
    font-weight: 600;
    color: white;
}
