/**
 * UI Components
 * CSS-only components rendered via MDX content classes
 * Ref: #464
 */

/* ── ConceptCard ── */
.concept-card {
  background: var(--color-accent);
  color: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  text-align: center;
}
.concept-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.concept-card p {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.92;
}

/* ── ProfileCard ── */
.profile-card {
  border: 1px solid var(--color-course-border);
  border-radius: 12px;
  max-width: 320px;
  overflow: hidden;
}
.profile-card__photo {
  height: 180px;
  background: #E2E8F0;
}
.profile-card__info {
  padding: 16px 20px;
}
.profile-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-heading);
}
.profile-card__detail {
  font-size: 13px;
  color: var(--color-course-text-muted);
}

/* ── ExerciseBox ── */
.exercise-box {
  background: var(--color-bg-page);
  border: 2px dashed var(--color-border-input);
  border-radius: 8px;
  padding: 24px;
}
.exercise-box h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-accent);
}

/* ── ApproachLabel ── */
.approach-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.approach-label--bad {
  color: var(--color-approach-bad);
}
.approach-label--better {
  color: var(--color-approach-better);
}
.approach-label--best {
  color: var(--color-approach-best);
}

/* ── NextLessonLink ── */
.next-lesson-link {
  display: block;
  background: var(--color-bg-page);
  border: 1px solid var(--color-course-border);
  border-radius: 8px;
  padding: 16px 20px;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}
.next-lesson-link:hover {
  border-color: var(--color-accent);
}

/* Point Row — numbered/emoji icon rows */
.point-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid #F7F8FA; }
.point-icon { width: 32px; height: 32px; border-radius: 6px; background: #38A169; color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.point-label { font-size: 16px; color: #2D3748; line-height: 1.45; }

/* Cycle Steps — horizontal flow diagram */
.cycle-steps { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.cycle-step { background: #F7F8FA; border: 1px solid #E2E8F0; border-radius: 8px; padding: 12px 18px; font-size: 14px; font-weight: 600; color: #2D3748; }
.cycle-arrow { color: #A0AEC0; font-size: 18px; }

/* Celebration / Module Complete */
.celebration { background: linear-gradient(135deg, #38A169 0%, #4A7C6F 100%); border-radius: 12px; padding: 32px; text-align: center; color: #fff; margin: 24px 0; }
.celebration h2 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.celebration p { color: rgba(255, 255, 255, 0.9); font-size: 16px; }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 8px; }
.checklist-item { display: flex; align-items: center; gap: 12px; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 8px; padding: 12px 16px; }
.check-box { width: 22px; height: 22px; border: 2px solid #CBD5E0; border-radius: 4px; flex-shrink: 0; }

/* Callout Action (purple) */
/* (callout--action in base.css) */

/* Numbered Step List */
.step-num { width: 28px; height: 28px; border-radius: 50%; background: #38A169; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
