/* === Apply to all radio fields in Form 369 === */
#gform_wrapper_369 .gfield_radio {
  display: flex;
  justify-content: center;   /* center the row of boxes */
  align-items: stretch;
  gap: 12px;
  flex-wrap: nowrap;         /* keep in one line */
  overflow-x: auto;          /* allow scroll if too many */
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

/* Each choice = uniform boxed button */
#gform_wrapper_369 .gfield_radio .gchoice {
  position: relative;
  flex: 0 0 180px;           /* adjust width as needed */
  min-height: 52px;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

/* Hide native radio visually but keep it accessible */
#gform_wrapper_369 .gfield_radio .gfield-choice-input {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

/* Labels styled as buttons */
#gform_wrapper_369 .gfield_radio .gchoice label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  background: #ffffff;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  user-select: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

/* Hover state */
#gform_wrapper_369 .gfield_radio .gchoice label:hover {
  border-color: #9ca3af;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

/* Checked = selected box */
#gform_wrapper_369 .gfield_radio .gfield-choice-input:checked + label {
  border-color: #2563eb;
  background: #eef2ff;
  color: #111827;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* Keyboard focus */
#gform_wrapper_369 .gfield_radio .gfield-choice-input:focus-visible + label {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

/* Prevent GF's inline label from breaking our layout */
#gform_wrapper_369 .gfield_radio .gform-field-label--type-inline {
  display: flex;
}