/* 1. Hide the checkbox/radio input dot */
div[class*="-inp-wrapper"] input[type="checkbox"],
div[class*="-inp-wrapper"] input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

/* 2. Turn the label wrapper into full clickable boxes */
div[class*="-inp-wrapper"] label {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 10px 16px !important;
  margin: 4px 0 !important;
  border: 1px solid #d0d5dd !important;
  border-radius: 6px !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease-in-out !important;
}

/* 3. Hide any extra SVG checkmark icons if Bit Form injects them inside the label */
div[class*="-inp-wrapper"] label svg {
  display: none !important;
}

/* 4. Style option text span inside label */
div[class*="-inp-wrapper"] label span {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #344054 !important;
  text-align: center !important;
}

/* 5. Hover state */
div[class*="-inp-wrapper"] label:hover {
  border-color: #98a2b3 !important;
  background-color: #f9fafb !important;
}

/* 6. Active / Checked state highlight */
div[class*="-inp-wrapper"] label:has(input:checked),
div[class*="-inp-wrapper"] input:checked + label {
  border-color: #101828 !important;
  background-color: #f4f4f5 !important;
  box-shadow: 0 0 0 1px #101828 !important;
}

div[class*="-inp-wrapper"] input:checked + label span,
div[class*="-inp-wrapper"] label:has(input:checked) span {
  color: #000000 !important;
  font-weight: 600 !important;
}