/* Participant controls: make interview exit discoverable and the text composer
   remain available alongside any suggested answer choices. */
#end-interview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #a85a60;
  border-radius: 12px;
  color: #ffd5d5;
  background: #301d20;
  font: 600 .9rem Vazirmatn, Tahoma, sans-serif;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, opacity .18s ease;
}

#end-interview:hover:not(:disabled) {
  background: #43262a;
  border-color: #cf777d;
}

#end-interview:disabled {
  opacity: .5;
  cursor: not-allowed;
}

#choice-form.composer.choices {
  padding: 0 14px 8px;
  border-top: 0;
  background: transparent;
}

body.participant-mode #end-interview {
  color: #8d2632;
  background: #fff3f3;
  border-color: #ddaab0;
}

body.participant-mode #end-interview:hover:not(:disabled) {
  background: #ffe8e9;
  border-color: #c96a75;
}

@media (max-width: 420px) {
  #end-interview {
    min-width: 104px;
    padding-inline: 10px;
    font-size: .82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #end-interview { transition: none; }
}
