/* ============ 选项卡样式 ============ */

.settings-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.settings-tab-btn {
    flex: 1;
    min-width: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
    padding: 10px 15px;
    color: #9fa8da;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.settings-tab-btn .tab-icon {
    font-size: 18px;
}

.settings-tab-btn:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: rgba(74, 158, 255, 0.3);
    color: #4A9EFF;
}

.settings-tab-btn.active {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.2), rgba(157, 78, 221, 0.2));
    border-color: #4A9EFF;
    color: #4A9EFF;
    font-weight: 600;
}

.settings-content {
    display: none;
}

.settings-content.active {
    display: block;
}

/* ============ 智能跟踪面板样式 ============ */

.smart-tracking-panel {
    background: linear-gradient(135deg, rgba(26, 33, 64, 0.95), rgba(20, 26, 53, 0.95));
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(74, 158, 255, 0.2);
    backdrop-filter: blur(10px);
}

.st-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.st-header h3 {
    font-size: 20px;
    color: #4A9EFF;
    margin: 0;
    font-weight: 600;
}

.st-time {
    font-size: 12px;
    color: #9fa8da;
}

.st-body {
    display: grid;
    gap: 16px;
}

.st-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
}

.st-label {
    font-size: 13px;
    color: #9fa8da;
    margin-bottom: 10px;
    font-weight: 500;
}

.st-error {
    color: #ff5252;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* 购买建议样式 */
.st-suggestion {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(74, 158, 255, 0.1));
    border-color: rgba(157, 78, 221, 0.3);
}

.st-suggestion-main {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.st-suggestion-main.strong-buy {
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #000;
}

.st-suggestion-main.suggest-buy {
    background: linear-gradient(135deg, #7fff00, #66cc00);
    color: #000;
}

.st-suggestion-main.cautious-buy {
    background: linear-gradient(135deg, #ffaa00, #ff8800);
    color: #000;
}

.st-suggestion-main.watch {
    background: linear-gradient(135deg, #ffa500, #ff6600);
    color: #fff;
}

.st-suggestion-main.no-buy {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
}

.st-suggestion-detail {
    text-align: center;
    color: #e8eaf6;
    font-size: 14px;
    margin-bottom: 10px;
}

.st-score {
    text-align: center;
    font-size: 16px;
    color: #9fa8da;
}

.st-score strong {
    color: #4A9EFF;
    font-size: 24px;
    font-weight: 700;
}

/* 趋势分析样式 */
.st-trend-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.st-trend-icon {
    font-size: 24px;
}

.st-trend-text {
    flex: 1;
    color: #e8eaf6;
    font-size: 14px;
}

.st-trend-strength {
    color: #9fa8da;
    font-size: 13px;
    background: rgba(74, 158, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

/* 反弹信号样式 */
.st-rebound {
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.3);
}

.st-detail {
    color: #e8eaf6;
    font-size: 14px;
    line-height: 1.6;
}

/* 价格位置样式 */
.st-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.st-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4A9EFF, #9D4EDD);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* 评分体系样式 */
.st-system-name {
    font-size: 16px;
    color: #4A9EFF;
    font-weight: 600;
    margin-bottom: 8px;
}

.st-system-detail {
    color: #e8eaf6;
    font-size: 14px;
    margin-bottom: 10px;
}

.st-breakdown {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
}

.st-breakdown-item {
    color: #9fa8da;
    font-size: 13px;
    line-height: 1.8;
    padding-left: 10px;
}

/* 评分调整样式 */
.st-score-adjustment {
    font-size: 12px;
    color: #9fa8da;
    margin-left: 8px;
}

/* 压力位提示样式 */
.st-resistance {
    background: rgba(255, 68, 68, 0.1);
    border-color: rgba(255, 68, 68, 0.3);
}

.st-resistance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 14px;
}

.st-resistance-label {
    color: #9fa8da;
}

.st-resistance-value {
    color: #ff5252;
    font-weight: 600;
    font-size: 15px;
}

.st-resistance-distance {
    color: #ffa726;
    font-weight: 600;
}

.st-resistance-strength {
    color: #ff7043;
    font-weight: 600;
}

/* 所有触发体系样式 */
.st-all-systems {
    background: rgba(157, 78, 221, 0.05);
    border-color: rgba(157, 78, 221, 0.2);
}

.st-systems-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.st-system-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.st-system-item:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: rgba(74, 158, 255, 0.3);
    transform: translateX(5px);
}

.st-system-best {
    background: rgba(157, 78, 221, 0.1);
    border-color: rgba(157, 78, 221, 0.4);
}

.st-system-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.st-system-rank {
    background: linear-gradient(135deg, #4A9EFF, #9D4EDD);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.st-system-title {
    flex: 1;
    color: #4A9EFF;
    font-weight: 600;
    font-size: 14px;
}

.st-system-score {
    color: #00ff00;
    font-weight: 700;
    font-size: 14px;
    background: rgba(0, 255, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.st-system-desc {
    color: #9fa8da;
    font-size: 13px;
    padding-left: 34px;
    line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .smart-tracking-panel {
        padding: 15px;
    }

    .st-suggestion-main {
        font-size: 22px;
        padding: 12px;
    }

    .st-score strong {
        font-size: 20px;
    }
}