/* Enhanced Stock Card Styles */
.enhanced-stock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.stock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.stock-symbol {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stock-trend {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.stock-score-badge {
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.stock-score-badge.buy {
  background: rgba(52, 208, 88, 0.15);
  color: var(--green);
}

.stock-score-badge.sell {
  background: rgba(248, 81, 73, 0.15);
  color: var(--red);
}

.stock-score-badge.hold {
  background: rgba(251, 191, 36, 0.15);
  color: var(--yellow);
}

/* Price Section */
.stock-price-section {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.price-main {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-vs-ma {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
}

.price-vs-ma .positive {
  color: var(--green);
}

.price-vs-ma .negative {
  color: var(--red);
}

/* Indicators Grid */
.indicators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.indicator {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.indicator-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.indicator-value {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.indicator-value.positive,
.indicator-value.oversold {
  color: var(--green);
}

.indicator-value.negative,
.indicator-value.overbought {
  color: var(--red);
}

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

.indicator-signal {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* News Section */
.news-section {
  background: rgba(74, 158, 255, 0.05);
  border: 1px solid rgba(74, 158, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
}

.news-item {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.news-title {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.news-source {
  opacity: 0.7;
}

.news-sentiment.positive {
  color: var(--green);
}

.news-sentiment.negative {
  color: var(--red);
}

/* Fundamentals Section */
.fundamentals-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0.8;
}

.fundamental-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
}

.fundamental-row span:first-child {
  color: var(--text-secondary);
}

.fundamental-row .positive {
  color: var(--green);
}

/* Reasons Section */
.reasons-section {
  margin-bottom: 16px;
}

.reasons-list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.reasons-list li {
  margin-bottom: 4px;
}

/* Support/Resistance */
.support-resistance {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.sr-level {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.sr-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.sr-value {
  font-size: 1rem;
  font-weight: 600;
}

/* Action Button */
.btn-action {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.btn-action.buy {
  background: var(--green);
  color: white;
}

.btn-action.sell {
  background: rgba(248, 81, 73, 0.15);
  color: var(--red);
  border: 1px solid var(--red);
}

.btn-action.hold {
  background: rgba(251, 191, 36, 0.15);
  color: var(--yellow);
  border: 1px solid var(--yellow);
}
