/* Strategy Card Styles */
.strategyCard {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.strategyHeader {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strategyTitle {
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
  line-height: 1.4;
}

.strategyTrader {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.strategyTrader::before {
  content: "🤖";
  font-size: 10px;
}

.strategyProgress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progressBar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progressFill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progressText {
  font-size: 11px;
  color: #cbd5e1;
}

.strategyStatus {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  align-self: flex-start;
}

.strategyStatus[data-status="active"] {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.strategyStatus[data-status="testing"] {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.strategyStatus[data-status="paused"] {
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
}

.strategyStatus[data-status="deployed"] {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

/* Metric Card Styles */
.metricCard {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.metricHeader {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.metricTitle {
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
  line-height: 1.3;
}

.metricType {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
}

.metricIcon {
  font-size: 12px;
}

.metricPeriods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metricPeriod {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.periodLabel {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.periodValue {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}

.periodChange {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
}

.periodChange[data-positive="true"] {
  color: #10b981;
}

.periodChange[data-positive="false"] {
  color: #ef4444;
}

/* Target Info Specific Styles */
.targetInfo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.targetLabel {
  font-size: 11px;
  color: #3b82f6;
  font-weight: 500;
}

.varianceBadge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.varianceBadge[data-negative="true"] {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}
