/* 智量资本 - 监控面板样式（卡片内嵌） */

/* ---- 监控面板容器 ---- */
.monitor-panel {
    margin-top: 10px;
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
}

.monitor-panel-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.monitor-panel-title .last-check {
    font-weight: 400;
    font-size: 10px;
    color: #94a3b8;
    margin-left: auto;
}

/* ---- 监控指标卡片 ---- */
.monitor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.monitor-indicator {
    padding: 6px 8px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.monitor-indicator.met,
.monitor-indicator.triggered {
    background: #f0fdf4;
    border-color: #86efac;
}

.monitor-indicator.waiting {
    background: #fffbeb;
    border-color: #fde68a;
}

.monitor-indicator .ind-label {
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
}

.monitor-indicator .ind-value {
    font-size: 12px;
    font-weight: 700;
    margin: 2px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.monitor-indicator .ind-target {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 400;
}

.monitor-indicator .ind-badge {
    font-size: 9px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 10px;
}

.ind-badge.met {
    background: #dcfce7;
    color: #16a34a;
}

.ind-badge.triggered {
    background: #fef9c3;
    color: #854d0e;
}

.ind-badge.waiting {
    background: #f1f5f9;
    color: #94a3b8;
}

/* ---- 布林带小提示 ---- */
.bollinger-hint {
    margin-top: 6px;
    padding: 4px 8px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 10px;
    color: #64748b;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bollinger-hint span {
    white-space: nowrap;
}

.bollinger-hint .bb-high {
    color: #ef4444;
}

.bollinger-hint .bb-mid {
    color: #3b82f6;
}

.bollinger-hint .bb-low {
    color: #22c55e;
}

/* ---- 监控提示标记 ---- */
.watch-card.has-signal {
    border-color: #f59e0b;
    box-shadow: 0 0 0 1px #f59e0b;
}

.watch-card .signal-pulse {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
