/*
 * Stafsecretariaat-cursus &mdash; alleen overrides bovenop ../../styles.css.
 * Alle basisstyling komt rechtstreeks van de beginners-stylesheet zodat
 * de cursus exact dezelfde look-and-feel heeft.
 */

/* Module-tag / metadata in moduleheaders */
.module-tag {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

/* Live-opdracht blok (groen, eyecatcher) */
.live-opdracht {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-left: 4px solid #16a34a;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 18px 0;
}

.live-opdracht h4 {
  margin: 0 0 8px;
  color: #064e3b;
}

.live-opdracht .prompt-box {
  background: #fff;
  border: 1px solid #d1fae5;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  white-space: pre-wrap;
  line-height: 1.5;
  margin: 10px 0 12px;
  color: #0b304a;
}

.live-opdracht .open-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.live-opdracht .open-tools a {
  display: inline-block;
  padding: 8px 14px;
  background: #16a34a;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

.live-opdracht .open-tools a.tool-claude {
  background: #c2410c;
}

.live-opdracht .open-tools a.tool-gemini {
  background: #4285f4;
}

.live-opdracht .opdracht-tip {
  margin: 10px 0 0;
  font-size: 15px;
  color: #166534;
}

/* Vergelijkingsdoosjes: laat twee tools naast elkaar zien */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 16px 0 22px;
}

.compare-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 18px;
}

.compare-card.compare-chatgpt { border-top: 3px solid #10a37f; }
.compare-card.compare-claude  { border-top: 3px solid #c2410c; }
.compare-card.compare-gemini  { border-top: 3px solid #4285f4; }
.compare-card.compare-mistral { border-top: 3px solid #f97316; }

.compare-card h5 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #0b304a;
}

/* Take-home / samenvatkaart per module */
.takehome {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.takehome-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
}

.takehome-card h4 {
  margin: 0 0 6px;
  color: #0b304a;
  font-size: 16px;
}

.takehome-card p {
  margin: 0;
  color: #334155;
  line-height: 1.5;
}

/* Hero image sizing voor module-pagina&apos;s */
.hero-image-wrapper {
  flex-shrink: 0;
}

.hero-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* Small info-callout */
.note-callout {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 14px 0;
}

.note-callout h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #1e3a8a;
}

.note-callout p {
  margin: 0;
  color: #1e3a8a;
}

/* Quiz-blok consistent met beginners */
.quiz-block {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}

.quiz-block h4 {
  margin: 0 0 8px;
  color: #78350f;
}

.quiz-question {
  background: #fff;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 10px 0;
}

.quiz-question-text {
  font-weight: 600;
  color: #0b304a;
  margin: 0 0 8px;
}

.quiz-options {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.quiz-options li {
  margin-bottom: 6px;
}

.quiz-options label {
  cursor: pointer;
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

/* Nudge the radio/checkbox down so it visually aligns with the cap-height of
   the first line of text instead of sitting at the very top of the label. */
.quiz-options label input[type='radio'],
.quiz-options label input[type='checkbox'] {
  margin-top: 0.3em;
  flex-shrink: 0;
}

.quiz-button {
  margin-top: 4px;
  font-size: 14px;
  padding: 6px 14px;
}

.quiz-feedback {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.45;
  display: none;
}

.quiz-feedback.quiz-feedback-correct {
  background: #dcfce7;
  border: 1px solid #16a34a;
  color: #14532d;
  display: block;
}

.quiz-feedback.quiz-feedback-wrong {
  background: #fee2e2;
  border: 1px solid #ef4444;
  color: #7f1d1d;
  display: block;
}

.quiz-feedback.quiz-feedback-warning {
  background: #fef3c7;
  border: 1px solid #d97706;
  color: #78350f;
  display: block;
}
