.panel strong {
    color: #e6edf3;
}

.stat {
    font-weight: 600;
    color: #f0f6fc;
}

.notification {
    background: #21262d;
    border: 1px solid #30363d;
    border-left: 4px solid #58a6ff;
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    animation: fadeIn 0.4s ease-out;
    color: #e6edf3;
    font-size: 0.92rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.panel li span {
    float: right;
    font-weight: 500;
    color: #c9d1d9;
}

/* === HORNÍ ŘADA: Stav + Budovy vedle sebe === */
.top-row {
    display: flex;
    gap: 12px;
}

.status-panel, .buildings-panel {
    flex: 1;
    min-width: 0;
}

.status-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.status-panel li {
    padding: 7px 0;
    border-bottom: 1px solid #30363d;
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
}

.status-panel li:last-child {
    border-bottom: none;
}

/* Kompaktní seznam budov */
.buildings-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 0.82rem;
    max-height: 130px;
    overflow-y: auto;
}

.buildings-list span {
    background: #21262d;
    color: #c9d1d9;
    padding: 4px 9px;
    border-radius: 5px;
    white-space: nowrap;
    font-family: Consolas, monospace;
    border: 1px solid #30363d;
}

/* === GRAFY VEDLE SEBE === */
.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    flex: 0 0 auto;
}

.chart-panel {
    padding: 10px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.chart-panel h2 {
    font-size: 0.82rem;
    margin-bottom: 6px;
    color: #58a6ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chart-panel canvas {
    width: 100% !important;
    height: 110px !important;
    display: block;
    border-radius: 4px;
    background: #0d1117;
}

/* Responsive: pokud je dashboard moc úzký, grafy pod sebe */
@media (max-width: 1200px) {
    .charts-row {
        grid-template-columns: 1fr;
    }
    .chart-panel canvas {
        height: 130px !important;
    }
}
