/* Style specific to Random Challenge Generator */
@import url("../style.css");

.challenge-card-display {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-lg, 16px);
  padding: 2rem;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.challenge-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.challenge-cat-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
}

.challenge-diff-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.diff-easy {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.diff-medium {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.diff-hard {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.challenge-title-text {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.challenge-desc-text {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.challenge-actions-list {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md, 10px);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.challenge-actions-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #c084fc;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.action-step-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.action-step-bullet:last-child {
  margin-bottom: 0;
}

.action-check-icon {
  color: #34d399;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.streak-tracker-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 10px);
  padding: 0.85rem 1.25rem;
  margin-top: 1.25rem;
}

.streak-count {
  font-weight: 700;
  color: #fbbf24;
  font-family: var(--font-mono);
  font-size: 1.1rem;
}
