/* =======================================================
   Market Center - Bottom Panel
   ======================================================= */

.mc-bottom-pro {
    margin-top: 10px;
    padding: 10px 12px;
}

.bottom-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(148,163,184,.10);
    padding-bottom: 8px;
}

.bottom-tabs button {
    background: transparent;
    border: 0;
    color: #94a3b8;
    border-radius: 9px;
    min-height: 32px;
    padding: 7px 13px;
    font-size: 12px;
}

.bottom-tabs button.active {
    color: var(--btfp-info);
    border-bottom: 2px solid #1787ff;
}

.market-bottom-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 10px;
    align-items: stretch;
}

.market-bottom-main {
    min-width: 0;
}

.bottom-grid.pro,
.bottom-grid.pro.investor {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 10px;
}

.bottom-section,
.market-bottom-side {
    min-height: 164px;
    border-radius: 14px;
    padding: 10px;
    background: rgba(15,23,42,.45);
    border: 1px solid rgba(148,163,184,.10);
}

.bottom-section h4,
.market-bottom-side h4 {
    color: #fff;
    font-size: 13px;
    margin: 0 0 8px;
}

.bottom-section.wide {
    grid-column: span 2;
}

.summary.compact,
.trade-plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.summary.compact div,
.trade-plan-grid div {
    min-height: 54px;
    border-radius: 11px;
    padding: 9px;
    background: rgba(15,23,42,.48);
    border: 1px solid rgba(148,163,184,.10);
}

.summary.compact span,
.trade-plan-grid span {
    display: block;
    color: #8fa6c2;
    font-size: 10px;
}

.summary.compact b,
.trade-plan-grid b {
    display: block;
    color: #fff;
    font-size: 12px;
    margin-top: 4px;
}

.market-note {
    color: #b6c7dc;
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
}

.market-note-input {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    border-radius: 12px;
    background: rgba(2,8,23,.45);
    border: 1px solid rgba(148,163,184,.14);
    color: var(--btfp-text);
    padding: 12px;
    outline: none;
}

.action-stack {
    display: grid;
    gap: 8px;
}

.action-stack button {
    width: 100%;
    min-height: 36px;
}

.decision-side {
    display: grid;
    gap: 8px;
    align-content: start;
}

.decision-card,
.decision-note {
    border-radius: 12px;
    padding: 8px 9px;
    background: rgba(2,8,23,.35);
    border: 1px solid rgba(148,163,184,.08);
}

.decision-card span,
.decision-note span {
    display: block;
    color: #8fa6c2;
    font-size: 10px;
}

.decision-card strong {
    display: block;
    color: #fff;
    font-size: 18px;
    margin-top: 6px;
}

.decision-card small,
.decision-note p {
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.4;
    margin: 4px 0 0;
}

.decision-note.warning {
    border-color: rgba(245,158,11,.18);
}

/* Compact bottom workspace */
.mc-bottom-pro {
    margin-top: 8px;
    padding: 10px 12px;
}

.market-bottom-layout {
    min-height: 230px;
}

.bottom-section,
.market-bottom-side {
    min-height: 135px;
}

/* Keep the secondary workspace compact so the chart remains the visual focus. */
.market-bottom-layout { min-height: 170px; }
.market-bottom-side { min-height: 120px; }
.market-note-input { min-height: 76px; }
.btm-ai-layout,.btm-alarm-layout,.btm-notes-layout,.btm-plan-layout { min-height: 145px !important; }
