/* technical_analysis.css - 技术分析视图样式（独立样式，不与其他视图共用） */

.technical-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 100%;
}

.technical-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--border-color);
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    height: 250px;
    overflow: auto;        /* 必须存在 */
}

.technical-card:hover {
    border-color: var(--accent-blue);
}

.technical-card .symbol-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 6px;
    text-align: center;
}

.technical-card tv-technical-analysis {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 900px;          /* 固定高度，确保内容溢出卡片 */
    min-height: 850px;
}

/* 工具栏下拉框（独立样式，不依赖 .chart-toolbar） */
.technical-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.technical-toolbar span {
    color: #aaa;
    font-size: 0.85rem;
}
.technical-toolbar .technical-select {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #4c6ef5 !important;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-family: inherit;
    cursor: pointer;
}
.technical-toolbar .technical-select option {
    background-color: #111 !important;
    color: #fff !important;
}

/* 响应式断点 */
@media (max-width: 1200px) {
    .technical-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 992px) {
    .technical-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .technical-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .technical-grid {
        grid-template-columns: 1fr;
    }
}