/* Enhanced Financial Sentiment Colors and Indicators */

/* Sentiment Badge Styles */
.sentiment-positive {
  background: linear-gradient(135deg, var(--profit) 0%, #16a34a 100%);
  color: white;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  display: inline-block;
  text-align: center;
  min-width: 2rem;
}

.sentiment-negative {
  background: linear-gradient(135deg, var(--loss) 0%, #dc2626 100%);
  color: white;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  display: inline-block;
  text-align: center;
  min-width: 2rem;
}

.sentiment-neutral {
  background: linear-gradient(135deg, var(--neutral) 0%, #64748b 100%);
  color: white;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  display: inline-block;
  text-align: center;
  min-width: 2rem;
}

.sentiment-high-confidence {
  background: linear-gradient(135deg, var(--ai-confidence) 0%, #ea580c 100%);
  color: white;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: pulse-glow 2s infinite;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  display: inline-block;
  text-align: center;
  min-width: 2rem;
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.8);
    transform: scale(1.02);
  }
}

/* Financial Metric Display */
.financial-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.financial-value {
  font-family: 'JetBrains Mono', 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Profit/Loss Indicators */
.profit-indicator {
  color: var(--profit);
  font-weight: 700;
}

.loss-indicator {
  color: var(--loss);
  font-weight: 700;
}

.neutral-indicator {
  color: var(--neutral);
  font-weight: 700;
}

/* ROC (Return on Capital) Styling with Visual Hierarchy */
.roc-excellent {
  background: linear-gradient(135deg, var(--ai-confidence) 0%, #ea580c 100%);
  color: white;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  animation: pulse-glow 2s infinite;
}

.roc-good {
  color: var(--ai-confidence);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(249, 115, 22, 0.3);
}

.roc-fair {
  color: var(--ai-prediction);
  font-weight: 600;
}

.roc-poor {
  color: var(--text-muted);
  font-weight: 500;
}

/* Probability Confidence Levels */
.probability-high {
  color: var(--ai-confidence);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(249, 115, 22, 0.3);
}

.probability-medium {
  color: var(--ai-prediction);
  font-weight: 600;
}

.probability-low {
  color: var(--text-muted);
  font-weight: 500;
}

/* Enhanced Table Row Hover Effects for Financial Data */
.financial-table tbody tr:hover .profit-indicator {
  color: #16a34a;
  text-shadow: 0 0 8px rgba(22, 163, 74, 0.3);
}

.financial-table tbody tr:hover .loss-indicator {
  color: #dc2626;
  text-shadow: 0 0 8px rgba(220, 38, 38, 0.3);
}

/* Risk Level Indicators */
.risk-low {
  background: linear-gradient(135deg, var(--profit) 0%, #16a34a 100%);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.risk-medium {
  background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.risk-high {
  background: linear-gradient(135deg, var(--loss) 0%, #dc2626 100%);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Strategy Category Styling */
.strategy-conservative {
  color: var(--profit);
  font-weight: 600;
}

.strategy-moderate {
  color: var(--ai-prediction);
  font-weight: 600;
}

.strategy-aggressive {
  color: var(--ai-confidence);
  font-weight: 600;
}

/* Days to Expiration Visual Indicators */
.dte-urgent {
  color: var(--loss);
  font-weight: 700;
  animation: pulse-urgent 1.5s infinite;
}

.dte-soon {
  color: var(--accent);
  font-weight: 600;
}

.dte-normal {
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes pulse-urgent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Mobile Responsive Adjustments */
@media (max-width: 576px) {
  .sentiment-positive,
  .sentiment-negative,
  .sentiment-neutral,
  .sentiment-high-confidence {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    min-width: 1.5rem;
  }
  
  .roc-excellent {
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
  }
  
  .risk-low,
  .risk-medium,
  .risk-high {
    padding: 0.15rem 0.3rem;
    font-size: 0.65rem;
  }
}
