.composites-review-list {
  margin: 20px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.composites-review-list .blank-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.composites-review-list .blank-row:last-child {
  border-bottom: none;
}

.composites-review-list .blank-label {
  font-weight: bold;
  padding: 4px 0;
  white-space: nowrap;
  flex: 0 0 160px;
  min-width: 160px;
}

/* Correct/incorrect badge inside blank-label (shown when !exam.teacherReview) */
.composites-review-list .blank-label .cloze-question-panel.answer {
  margin-left: 8px;
  font-size: 12px;
}

.composites-review-list .choice-item-review {
  flex: 1 1 0;
  min-width: 80px;
  max-width: 200px;
  padding: 4px 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

/* Buttons container - always at the end */
.composites-review-list .btn-blank-action {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 2px 0;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
}

/* Push first button to the right (fill remaining space before buttons) */
.composites-review-list .btn-show-cloze-answer {
  margin-left: auto;
}

/* Button S (shown when blank.solution exists) */
.composites-review-list .btn-show-cloze-solution {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.composites-review-list .btn-blank-action:hover {
  background-color: #f0f0f0;
  border-color: #999;
}

.composites-review-list .btn-show-cloze-answer.active {
  background-color: #28a745;
  color: #fff;
  border-color: #28a745;
}

.composites-review-list .btn-show-cloze-answer.active:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.composites-review-list .btn-show-cloze-solution:hover {
  background-color: #0069d9;
  border-color: #0062cc;
}

.composites-review-list .choice-correct {
  color: #28a745;
  font-weight: 600;
  font-size: 14pt;
}

.composites-review-list .choice-neutral {
  color: #333;
}

.composites-review-list .choice-chosen {
  color: #0062cc;
  font-weight: 600;
  font-size: 14pt;
}

.composites-review-list .explanation-section {
  color: #666;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

.cloze-question-panel {
  box-shadow: 1px 1px 5px #0000001c;
  padding: 2px 8px;
  border-radius: 12px;
  background: white;
}