body {
    margin: 0;
    padding: 0;
    background: #111;
    color: #eee;
    font-family: sans-serif;
    display: flex;
}

#sidebar {
    width: 200px;
    background: #181818;
    padding: 20px;
    border-right: 1px solid #333;
    height: 100vh;
    box-sizing: border-box;
}

#sidebar h2 {
    margin-top: 0;
    color: #6cf;
    font-family: monospace;
}

#sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar li {
    padding: 8px 6px;
    margin: 4px 0;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

#sidebar li:hover {
    background: #333;
}

#main {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

#panel-title {
    margin-top: 0;
    color: #6cf;
    font-family: monospace;
}

/* ===== Overview Sections ===== */

.overview-section h2 {
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 16px;
    color: #6cf;
    font-family: monospace;
}

/* ===== Clickable Status Rows ===== */

.overview-row {
    padding: 6px 10px;
    margin: 4px 0;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease, transform 0.1s ease;
    display: inline-block;
    width: fit-content;
}

.overview-row::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    background: #666;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.overview-row.green {
    background: #0a3;
    color: #000;
}

.overview-row.green::before {
    background: #5cff78;
}

.overview-row.red {
    background: #a00;
    color: #000;
}

.overview-row.red::before {
    background: #ff6666;
}

.overview-row:hover {
    filter: brightness(1.15);
    transform: translateX(2px);
}

/* ===== Details Panel ===== */

#details-panel {
    margin-top: 12px;
    padding: 12px;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 6px;
    white-space: normal;
    font-family: monospace;
    font-size: 13px;
    width: min(100%, 860px);
}

.command-run {
    margin-left: 6px;
    padding: 4px 8px;
    border: 1px solid #888;
    border-radius: 4px;
    background: #d9d9d9;
    color: #000;
    font-family: monospace;
    cursor: pointer;
}

.command-run:hover {
    background: #c6c6c6;
}

.command-output {
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #121212;
    color: #ddd;
    white-space: pre-wrap;
    font-size: 12px;
    line-height: 1.35;
    max-height: 220px;
    overflow: auto;
}
