.wccr-field {
  margin-bottom: 12px;
}

.wccr-field--full {
  width: 100%;
}

.wccr-field--half {
  display: inline-block;
  width: 48%;
  vertical-align: top;
  margin-right: 2%;
}

.wccr-field--half:nth-of-type(2n) {
  margin-right: 0;
}

.wccr-radio-group,
.wccr-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wccr-radio-label,
.wccr-checkbox-group .wccr-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex: 0 0 auto;
}

.wccr-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.wccr-field input[type="checkbox"],
.wccr-field input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #333;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

.wccr-field input[type="checkbox"] {
  border-radius: 2px;
}

.wccr-field input[type="radio"] {
  border-radius: 50%;
}

.wccr-field input[type="checkbox"]:checked {
  background: #333;
  border-color: #333;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2.5-2.5a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.wccr-field input[type="radio"]:checked {
  border-color: #333;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 16px #333;
}

.wccr-field select {
  width: 100%;
}

.wccr-field textarea {
  width: 100%;
}

@media (max-width: 600px) {
  .wccr-field--half {
    width: 100%;
    display: block;
    margin-right: 0;
  }
}
