/* Display radio options in a 2-column grid */
._bf-radio-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
}

/* Style each option like a card */
._bf-radio-wrapper ._bf-option-lbl {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hide native radio circle */
._bf-radio-wrapper input[type="radio"] {
  display: none !important;
}

/* Active / Checked Card Highlight */
._bf-radio-wrapper ._bf-option-lbl:has(input:checked) {
  border-color: #2563eb !important;
  background-color: #f0f6ff !important;
  box-shadow: 0 0 0 1px #2563eb;
}

/* Label typography */
.card-title {
  display: block;
  font-weight: 700;
  color: #0f172a;
  font-size: 15px;
}

.card-desc {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

/* Responsive fix for smaller mobile screens */
@media (max-width: 640px) {
  ._bf-radio-wrapper {
    grid-template-columns: 1fr !important;
  }
}

.prev-step-btn{
  background: transparent!important;
  color:#000000!important;
  border:1px solid #c7c7c7!important;
  
}

.prev-step-btn:hover{
  color:#ffffff!important;
  border:1px solid #172030!important;
  
}

/* Force the icon to white using a CSS brightness/invert filter */
.prev-step-btn:hover ._frm-b-stp-icn,
.prev-step-btn:hover ._frm-b-stp-icn *,
 .next-step-btn ._frm-b-stp-icn,
 .next-step-btn ._frm-b-stp-icn *{
    filter: brightness(0) invert(1) !important;
}
