
.dashboard-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.dashboard-banner h2 { margin: 0; font-size: 20px; font-weight: 700; color: #0f172a; }
.stock-badge { background: #334155; color: #fff; padding: 3px 8px; border-radius: 4px; font-weight: 600; font-size: 12px; }

/* Micro Card Spans */
.metrics-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}
.metric-card {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.card-label { font-size: 10px; font-weight: 600; color: #64748b; text-transform: uppercase; }
.card-value { font-size: 16px; font-weight: 700; color: #0f172a; display: block; margin-top: 2px; }
.alert-text { color: #ef4444; }

/* STACKED FULL WIDTH WORKSPACE */
.dashboard-workspace-stacked {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.shadow-box {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.chart-header, .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
    margin-bottom: 10px;
}
.chart-header h4, .panel-header h5 { margin: 0; font-size: 13px; color: #1e293b; font-weight: 600; }
.axis-ticks-indicator { font-size: 11px; color: #94a3b8; font-family: monospace; }

/* ALERT BOX STYLES BELOW CHARTS */
.alert-panel-container {
    transition: all 0.2s ease;
}
.alert-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    border-left: 4px solid;
}
.alert-danger {
    background-color: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}
.alert-warning {
    background-color: #fefce8;
    border-color: #eab308;
    color: #854d0e;
}
.alert-success {
    background-color: #f0fdf4;
    border-color: #22c55e;
    color: #166534;
}
.alert-icon { font-size: 20px; line-height: 1; }
.alert-title { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.alert-description { font-size: 12px; line-height: 1.4; color: #334155; }

.alert-multilist { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.alert-item-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.badge-short {
    background: #fee2e2;
    color: #b91c1c;
    font-weight: bold;
    font-family: monospace;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
}

.empty-notice { color: #94a3b8; font-size: 12px; text-align: center; padding: 15px 0; }
.table-scroll-area { overflow-x: auto; width: 100%; }

@media (max-width: 992px) {
    .metrics-summary-grid { grid-template-columns: repeat(4, 1fr); }
}


    /* TREND TOOLTIP STYLES */
.trend-tooltip {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: monospace;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border: 1px solid #334155;
}
.tooltip-title {
    font-weight: bold;
    color: #38bdf8;
    margin-bottom: 4px;
    border-bottom: 1px solid #334155;
    padding-bottom: 2px;
}
.tooltip-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}