/* Custom styles for Investor Dashboard */

.small-box .icon {
    font-size: 70px;
    position: absolute;
    right: 15px;
    top: 15px;
    opacity: 0.3;
}

.small-box .inner h3 {
    font-size: 2.2rem;
    font-weight: bold;
}

.card-outline.card-success {
    border-top: 3px solid #28a745;
}

.card-outline.card-danger {
    border-top: 3px solid #dc3545;
}

.card-outline.card-warning {
    border-top: 3px solid #ffc107;
}

.card-outline.card-info {
    border-top: 3px solid #17a2b8;
}

.pnl-positive {
    color: #28a745 !important;
}

.pnl-negative {
    color: #dc3545 !important;
}

.status-badge {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
}

.circuit-breaker-active {
    background-color: #dc3545;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.decision-invest {
    border-left: 4px solid #28a745;
}

.decision-skip {
    border-left: 4px solid #6c757d;
}

.decision-close {
    border-left: 4px solid #ffc107;
}

.llm-agree {
    color: #28a745;
}

.llm-disagree {
    color: #dc3545;
}

.llm-partial {
    color: #ffc107;
}

.metric-card {
    text-align: center;
    padding: 1rem;
}

.metric-card .metric-value {
    font-size: 2rem;
    font-weight: bold;
}

.metric-card .metric-label {
    font-size: 0.85rem;
    color: #adb5bd;
}

.position-row:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.json-viewer {
    background-color: #1e1e1e;
    border-radius: 4px;
    padding: 1rem;
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    max-height: 300px;
    overflow-y: auto;
}

.chart-container {
    position: relative;
    height: 300px;
}

.equity-up {
    color: #28a745;
}

.equity-down {
    color: #dc3545;
}

.table-dark-custom th {
    background-color: #343a40;
    border-color: #454d55;
}

.table-dark-custom td {
    border-color: #454d55;
}
