/* ================================
   技术指标样式
   ================================ */

/* 技术指标面板 */
.indicators-panel {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
}

.indicators-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.indicators-header h3 {
    color: var(--text-primary);
    font-size: 16px;
    margin: 0;
}

.indicator-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.indicator-item:last-child {
    border-bottom: none;
}

.indicator-item label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 14px;
}

.indicator-value {
    font-weight: 600;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--bg-light);
}

.indicator-value.positive {
    color: var(--success-color);
    background: var(--success-bg);
}

.indicator-value.negative {
    color: var(--danger-color);
    background: var(--danger-bg);
}

.indicator-value.neutral {
    color: var(--text-primary);
    background: var(--bg-light);
}

/* RSI 指标颜色 */
.indicator-value.overbought {
    color: #f56565; /* 超买 - 红色 */
}

.indicator-value.oversold {
    color: #48bb78; /* 超卖 - 绿色 */
}

/* MACD 指标样式 */
.indicator-value.bullish {
    color: #48bb78; /* 看涨 - 绿色 */
}

.indicator-value.bearish {
    color: #f56565; /* 看跌 - 红色 */
}

/* MACD 详细信息 */
.macd-line, .macd-signal, .macd-histogram {
    font-size: 12px;
    line-height: 1.4;
}

.macd-histogram.positive {
    color: #48bb78;
}

.macd-histogram.negative {
    color: #f56565;
}

/* 布林带样式 */
.bb-upper, .bb-middle, .bb-lower, .bb-bandwidth {
    font-size: 12px;
    line-height: 1.4;
}

.bb-upper {
    color: #f56565;
}

.bb-middle {
    color: #4299e1;
}

.bb-lower {
    color: #48bb78;
}

.bb-bandwidth {
    color: #a8b3cf;
}

/* 技术信号面板 */
.technical-signals {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.technical-signals h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 600;
}

.signals-list {
    max-height: 120px;
    overflow-y: auto;
}

.signal-item {
    padding: 4px 0;
    font-size: 13px;
    color: #cbd5e0;
    line-height: 1.4;
}

/* K线数量选择器样式 */
.kline-count-selector {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* 指标控制按钮样式 */
.indicators-controls {
    display: flex;
    gap: 8px;
}

.indicators-controls .btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.kline-count-selector:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.kline-count-selector option {
    background: #2d3748;
    color: #e2e8f0;
}

/* 指标加载状态 */
.indicator-loading {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #4299e1;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .indicators-panel {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .indicator-item {
        padding: 6px 0;
        font-size: 13px;
    }
    
    .analysis-progress {
        padding: 15px;
    }
    
    .progress-message {
        font-size: 13px;
    }
    
    .analysis-result {
        padding: 12px;
        font-size: 12px;
    }
    
    .analysis-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .analysis-type-badge {
        align-self: flex-end;
    }
    
    .macd-line, .macd-signal, .macd-histogram,
    .bb-upper, .bb-middle, .bb-lower, .bb-bandwidth {
        font-size: 11px;
    }
}

/* ================================
   AI分析进度动画样式
   ================================ */

.analysis-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.progress-message {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.progress-dots {
    display: flex;
    gap: 8px;
}

.progress-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: dotPulse 1.5s infinite ease-in-out;
}

.progress-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.progress-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ================================
   分析模块基础样式
   ================================ */

.analysis-module {
    background: rgba(114, 84, 237, 0.08);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid rgba(114, 84, 237, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.analysis-module:hover {
    box-shadow: 0 6px 16px rgba(114, 84, 237, 0.15);
    border-color: rgba(114, 84, 237, 0.2);
}

.analysis-module h4 {
    font-size: 16px;
    margin: 0 0 15px 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.analysis-module h4 i {
    color: #7254ed;
}

.module-content {
    line-height: 1.5;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ================================
   新版分析结果样式
   ================================ */

.analysis-result-wrapper {
    padding: 5px;
}

.analysis-summary {
    background: rgba(114, 84, 237, 0.05);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    border-left: 4px solid #7254ed;
}

.probability-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.prob-item {
    text-align: center;
}

.prob-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.prob-bar-wrapper {
    height: 8px;
    background: rgba(114, 84, 237, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.prob-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.prob-bar.up { background: #1ed760; }
.prob-bar.down { background: #ff6b6b; }
.prob-bar.sideways { background: #ffc107; }

.prob-value {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.strategy-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.strategy-column {
    border-radius: 8px;
    background: rgba(114, 84, 237, 0.05);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.strategy-column.strategy-long {
    border-color: rgba(30, 215, 96, 0.3);
}

.strategy-column.strategy-short {
    border-color: rgba(255, 107, 107, 0.3);
}

.strategy-header {
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.strategy-long .strategy-header {
    background: rgba(30, 215, 96, 0.1);
    color: #1ed760;
}

.strategy-short .strategy-header {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.strategy-body {
    padding: 15px;
}

.strategy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(114, 84, 237, 0.08);
    font-size: 14px;
}

.strategy-item:last-child {
    border-bottom: none;
}

.strategy-item .label {
    color: var(--text-secondary);
}

.strategy-item .value {
    font-weight: 600;
    color: var(--text-primary);
}

.strategy-item.stop-loss .value {
    color: #ff6b6b;
    font-weight: 700;
}

.strategy-item.entry-price .value {
    color: #7254ed;
}

.tp-levels {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

.tp-level {
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 4px;
}

.tp-num {
    font-size: 12px;
}

.tp-price {
    font-weight: 600;
    color: #1ed760;
}

.strategy-notes {
    margin-top: 15px;
    padding: 10px;
    font-size: 12px;
    line-height: 1.5;
    background: rgba(114, 84, 237, 0.05);
    border-radius: 4px;
    color: var(--text-secondary);
}

.analysis-error {
    padding: 20px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
    border-left: 4px solid #ff6b6b;
    color: var(--text-primary);
}
.analysis-error strong {
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}
.analysis-error p {
    font-size: 14px;
    margin-bottom: 10px;
}
.analysis-error details {
    font-size: 12px;
}
.analysis-error pre {
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 4px;
    white-space: pre-wrap;
    word-break: break-all;
}

/* ================================
   概率分析面板样式增强
   ================================ */

.probability-analysis {
    background: rgba(114, 84, 237, 0.08);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    border: 1px solid rgba(114, 84, 237, 0.1);
}

.probability-analysis h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.probability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.probability-item {
    text-align: center;
    background: var(--bg-light);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(114, 84, 237, 0.1);
    transition: all 0.3s ease;
}

.probability-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(114, 84, 237, 0.15);
}

.probability-label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.probability-bar {
    height: 8px;
    background: rgba(114, 84, 237, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}

.probability-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 33%;
}

.probability-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.probability-fill.up {
    background: linear-gradient(135deg, #1ed760, #00b894);
    box-shadow: 0 2px 4px rgba(30, 215, 96, 0.3);
}

.probability-fill.down {
    background: linear-gradient(135deg, #ff6b6b, #e74c3c);
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
}

.probability-fill.sideways {
    background: linear-gradient(135deg, #ffc107, #f39c12);
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.probability-value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    background: var(--bg-lighter);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    min-width: 45px;
}

/* ================================
   交易信号样式增强
   ================================ */

.trading-signals {
    background: rgba(114, 84, 237, 0.08);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(114, 84, 237, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.trading-signals h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.signals-content {
    color: var(--text-secondary);
}

.signal-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(114, 84, 237, 0.1);
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(114, 84, 237, 0.1);
}

.signal-action {
    font-size: 16px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--bg-lighter);
    color: var(--text-muted);
}

.signal-action.做多 {
    color: #1ed760;
    background: rgba(30, 215, 96, 0.1);
}

.signal-action.做空 {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.signal-action.观望 {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
}

.signal-confidence {
    font-size: 14px;
    color: var(--text-primary);
    background: rgba(114, 84, 237, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.price-levels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: var(--bg-lighter);
    border-radius: 6px;
}

.price-item label {
    font-size: 12px;
    color: var(--text-muted);
}

.price-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ================================
   分析信号和技术指标
   ================================ */

.analysis-signals {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(114, 84, 237, 0.1);
}

.analysis-signals h6 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.signal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 6px 10px;
    background: rgba(114, 84, 237, 0.05);
    border-radius: 6px;
}

.signal-name {
    font-size: 12px;
    color: var(--text-secondary);
}

.signal-value {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--bg-lighter);
}

.signal-value.bullish {
    color: #1ed760;
    background: rgba(30, 215, 96, 0.1);
}

.signal-value.bearish {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.signal-value.neutral {
    color: var(--text-primary);
}

.signal-value.support {
    color: #1ed760;
    background: rgba(30, 215, 96, 0.1);
}

.signal-value.resistance {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* ================================
   置信度指示器
   ================================ */

.analysis-confidence {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0;
    gap: 10px;
}

.analysis-confidence span {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.confidence-bar {
    flex: 1;
    height: 6px;
    background: rgba(114, 84, 237, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(to right, #7254ed, #8f5aff);
    transition: width 0.8s ease;
}

/* ================================
   进阶信号列表
   ================================ */

.advanced-signals {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.advanced-signal-column {
    background: rgba(114, 84, 237, 0.05);
    border-radius: 8px;
    padding: 12px;
}

.advanced-signal-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.advanced-signal-title.buy {
    color: #1ed760;
}

.advanced-signal-title.sell {
    color: #ff6b6b;
}

.advanced-signal-item {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.advanced-signal-label {
    color: var(--text-secondary);
}

.advanced-signal-value {
    font-weight: 600;
    color: var(--text-primary);
}

.advanced-signal-value.buy {
    color: #1ed760;
}

.advanced-signal-value.sell {
    color: #ff6b6b;
}

.advanced-signal-details {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    padding: 8px;
    background: rgba(114, 84, 237, 0.05);
    border-radius: 6px;
    line-height: 1.5;
}

/* ================================
   聊天界面增强样式
   ================================ */

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.chat-info {
    color: var(--text-secondary);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-history {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding: 10px;
    background: var(--bg-lighter);
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.message-avatar.user {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.message-avatar.ai {
    background: linear-gradient(135deg, #8a2be2, #6a1b9a);
    color: white;
}

.message-content {
    flex: 1;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 80%;
    word-wrap: break-word;
}

.message-content.user {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: var(--text-primary);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-bottom-right-radius: 4px;
}

.message-content.ai {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(106, 27, 154, 0.1));
    color: var(--text-primary);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-bottom-left-radius: 4px;
}

.question-input {
    resize: vertical;
    min-height: 40px;
    max-height: 120px;
    font-family: inherit;
    line-height: 1.4;
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.quick-question {
    background: var(--bg-light);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-question:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* ================================
   响应式设计增强
   ================================ */

@media (max-width: 768px) {
    .probability-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .probability-item {
        padding: 10px;
    }
    
    .probability-label {
        font-size: 11px;
    }
    
    .probability-value {
        font-size: 13px;
        padding: 3px 6px;
    }
    
    .chat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .message-content {
        max-width: 85%;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .quick-questions {
        gap: 4px;
    }
    
    .quick-question {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* ================================
   趋势信息样式
   ================================ */

.trend-info {
    margin: 10px 0;
    padding: 10px;
    background: rgba(114, 84, 237, 0.05);
    border-radius: 8px;
    border-left: 3px solid #7254ed;
}

.trend-strength-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    gap: 10px;
}

.trend-label {
    font-size: 12px;
    color: var(--text-secondary);
    width: 70px;
}

.trend-value {
    font-size: 13px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--bg-lighter);
}

.trend-value.bullish {
    color: #1ed760;
    background: rgba(30, 215, 96, 0.1);
}

.trend-value.bearish {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.trend-value.neutral {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
}

.trend-strength-bar {
    flex: 1;
    height: 6px;
    background: rgba(114, 84, 237, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.trend-strength-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

.trend-strength-fill.bullish {
    background: linear-gradient(to right, #1ed760, #00b894);
}

.trend-strength-fill.bearish {
    background: linear-gradient(to right, #ff6b6b, #e74c3c);
}

.trend-strength-fill.neutral {
    background: linear-gradient(to right, #ffc107, #f39c12);
}

.trend-strength-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 45px;
    text-align: right;
}

/* ================================
   关键价位样式
   ================================ */

.key-levels {
    margin: 15px 0;
    padding: 12px;
    background: rgba(114, 84, 237, 0.05);
    border-radius: 8px;
}

.key-levels h6 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.key-levels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.key-level-column {
    background: var(--bg-light);
    border-radius: 6px;
    padding: 10px;
    border: 1px solid rgba(114, 84, 237, 0.1);
}

.key-level-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(114, 84, 237, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.key-level-column.support .key-level-title {
    color: #1ed760;
}

.key-level-column.resistance .key-level-title {
    color: #ff6b6b;
}

.key-level-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
}

.key-level-num {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(114, 84, 237, 0.1);
    border-radius: 50%;
    margin-right: 8px;
    font-size: 10px;
    font-weight: 600;
    color: #7254ed;
}

.key-level-value {
    flex: 1;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
}

.key-level-value.support {
    color: #1ed760;
    background: rgba(30, 215, 96, 0.1);
}

.key-level-value.resistance {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.key-level-empty {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    padding: 8px;
} 