.detail {
  padding: 0;
}

.detail-header {
  margin-bottom: 24px;
}

.header-info h2 {
  margin: 8px 0 16px 0;
  color: #262626;
}

.price-info {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

/* 图表相关样式 */
.chart-header {
  margin-bottom: 16px;
}

.chart-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.chart-title h3 {
  margin: 0;
}

.chart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kline-chart {
  width: 100%;
  height: 400px;
  border-radius: 4px;
}

.chart-container {
  width: 100%;
  height: 100%;
}

.chart-placeholder {
  text-align: center;
  color: #8c8c8c;
}

/* 区域头部样式 */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-header h3 {
  margin: 0;
  color: #262626;
}

/* 技术指标样式 */
.indicator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: #fafafa;
  border-radius: 4px;
  height: 100%;
  text-align: center;
}

.indicator-label {
  font-size: 14px;
  color: #8c8c8c;
  margin-bottom: 8px;
}

.indicator-value {
  font-size: 16px;
  font-weight: 500;
  color: #262626;
}

/* 趋势卡片样式 */
.trend-card {
  height: 100%;
  padding: 16px;
  background: #fafafa;
  border-radius: 4px;
  text-align: center;
}

.trend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.trend-header h4 {
  margin: 0;
  color: #262626;
  font-size: 14px;
}

.trend-status {
  font-size: 14px;
  margin-bottom: 8px;
  color: #262626;
}

.trend-rsi {
  font-size: 14px;
  color: #8c8c8c;
}

/* AI分析样式 */
.ai-analysis {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-overview {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.ai-details h4 {
  margin: 0 0 8px 0;
  color: #262626;
}

.ai-details p {
  margin: 0 0 16px 0;
  color: #262626;
  line-height: 1.5;
}

.factor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 交易建议样式 */
.trading-advice {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advice-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: #fafafa;
  border-radius: 4px;
  height: 100%;
  text-align: center;
}

.advice-label {
  font-size: 14px;
  color: #8c8c8c;
  margin-bottom: 8px;
}

.advice-value {
  font-size: 16px;
  font-weight: 500;
  color: #262626;
}

.advice-details h4 {
  margin: 0 0 8px 0;
  color: #262626;
}

.advice-details p {
  margin: 0;
  color: #262626;
  line-height: 1.5;
}

/* 风险评估样式 */
.risk-assessment {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.risk-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: #fafafa;
  border-radius: 4px;
  height: 100%;
  text-align: center;
}

.risk-label {
  font-size: 14px;
  color: #8c8c8c;
  margin-bottom: 8px;
}

.risk-value {
  font-size: 16px;
  font-weight: 500;
  color: #262626;
}

.risk-details h4 {
  margin: 0 0 8px 0;
  color: #262626;
}

/* 加载容器 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

/* 错误容器 */
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
}

/* 详情卡片样式 */
.detail-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
  border-radius: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .price-info {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  
  .chart-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .chart-controls {
    width: 100%;
    flex-wrap: wrap;
  }
  
  .kline-chart {
    height: 300px;
  }
  
  .ai-overview {
    flex-direction: column;
    gap: 16px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .indicator-item,
  .trend-card,
  .advice-item,
  .risk-item {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .price-info {
    flex-direction: column;
    gap: 12px;
  }
  
  .chart-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .chart-controls Select {
    width: 100% !important;
    margin-right: 0 !important;
  }
}