.block-form-field-option-container {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.block-form-field-choice {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.block-form-field-container {
  display: flex;
  align-items: center;
}

.bdf-text-form-field {
  padding: 10px;
}

.bdf-textarea-form-field {
  min-height: 80px;
}

/* Checkbox */
.bdf-block-form-checkbox-checkmark {
  display: inline-block;
  width: 18px;
  height: 18px;
  position: relative;
  margin-right: 8px;
}

.bdf-block-form-checkbox-checkmark::after {
  content: ' ';
  position: absolute;
  display: none;
  top: 3px;
  left: 7px;
  width: 5px;
  height: 10px;
  transform: rotate(45deg);
  border-top: 0 solid white;
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  border-left: 0 solid white;
  border-radius: 0 0 0 0;
}

.block-form-field-choice:checked ~ .bdf-block-form-checkbox-checkmark::after {
  display: block;
}
.bdf-block-form-field-checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

/* Radio Button */
.bdf-block-form-radio-checkmark {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  position: relative;
  margin-right: 8px;
}

.bdf-block-form-radio-checkmark::after {
  content: ' ';
  display: none;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.block-form-field-choice:checked ~ .bdf-block-form-radio-checkmark::after {
  display: block;
}

.bdf-block-form-field-radio-container {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

/* Select */
.bdf-form-field-container-select {
  align-items: flex-start;
}

.bdf-block-form-select-container {
  display: inline-block;
  position: relative;
}

.bdf-block-form-field-select {
  appearance: none;
  padding: 10px 30px 10px 10px;
  word-break: normal;
}

.bdf-block-form-select-container::after {
  content: ' ';
  position: absolute;
  right: 15px;
  top: 50%;
  margin: -3px 0 0 0;
  z-index: 2;
  border-style: solid;
  border-width: 7px 4px 0 4px;
  pointer-events: none;
}

.bdf-block-form-field-select-option {
  display: block;
  white-space: nowrap;
  margin: 0;
}

.block-form-field-option-label {
  flex: 1;
}
