.d-flex .form-group:nth-of-type(2) {
  flex: 1;
}

.card {
  overflow: auto;
}

.card .card {
  margin-bottom: 15px;
}

input:not([type=checkbox]):not([type=radio]):not([type=submit]) {
  min-width: 150px;
  width: 100%;
  max-width: 100%;
}

input[type='date'] {
  position: relative;
  padding-left: 35px;
}

input[type='date']::after {
  content: '\1F5D3';
  font-size: 18px;
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
}

input[type=date]::-webkit-calendar-picker-indicator {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  background: transparent;
  cursor: pointer;
  height: auto;
  width: auto;
  user-select: none;
  z-index: 2000;
}

/* A Binary dueling question offers its two ends only: the editor hides the middle radios while the switch is on. */
tr[data-element]:has(input[name='isBinary']:checked) td[data-scale-middle] input[type='radio'] {
  visibility: hidden;
}
