.brxe-brf-pro-forms.brxe-brf-pro-forms .questionnaire-form {
  
}

.brxe-brf-pro-forms.brxe-brf-pro-forms .statement-item {
  background-color: white;
  border-radius: var(--radius-m);
  padding: var(--space-m) !important;
  margin-bottom: var(--space-m);
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.brxe-brf-pro-forms.brxe-brf-pro-forms .statement-item &gt; label {
  color: var(--base);
  font-size: calc(1.25*var(--text-m));
  font-weight: 400;
  margin-bottom: var(--space-m);
  display: block;
}

.brxe-brf-pro-forms.brxe-brf-pro-forms .actual-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brxe-brf-pro-forms.brxe-brf-pro-forms .custom-radio-buttons {
  display: flex;
  gap: var(--space-s);
  flex-wrap: wrap;
}

.brxe-brf-pro-forms.brxe-brf-pro-forms .radio-option {
  flex: 1;
  position: relative;
}

.brxe-brf-pro-forms.brxe-brf-pro-forms .radio-option span {
  display: block;
  width: 100%;
  padding: var(--space-xs) var(--space-s);
  text-align: center;
  border-radius: var(--radius-m);
  background-color: var(--tertiary-ultra-light);
  color: var(--base);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid transparent;
  outline: 1px solid transparent;
}

.brxe-brf-pro-forms.brxe-brf-pro-forms .radio-option.selected span {
  background-color: transparent;
  color: var(--primary);
  border-color: transparent;
  outline: 1px solid var(--primary);
}

.brxe-brf-pro-forms.brxe-brf-pro-forms .radio-option span:hover:not(.selected) {
  background-color: var(--tertiary-light);
}

.brxe-brf-pro-forms.brxe-brf-pro-forms .radio-option.selected span:hover {
  background-color: transparent;
}

.brxe-brf-pro-forms.brxe-brf-pro-forms .statement-item.has-error {
  border-color: var(--primary);
  border-width: 2px;
}

.validation-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: var(--radius-m);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 90%;
    width: 300px;
    padding: var(--space-m);
    text-align: center;
}

.validation-popup-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.validation-popup-close {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: var(--space-xs) var(--space-s);
    border-radius: var(--radius-m);
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    align-self: center;
    min-width: 100px;
}

.validation-popup-close:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
  .brxe-brf-pro-forms.brxe-brf-pro-forms .custom-radio-buttons {
    flex-direction: column;
  }
  
  .brxe-brf-pro-forms.brxe-brf-pro-forms .radio-option {
    width: 100%;
  }
}

.questionnaire-form .bricks-button {
    background-color: var(--primary);
    margin-top: calc(1.25*var(--space-m));
    transition: background-color 300ms, color 300ms;
    min-width: 10em;
    font-weight: 500;
    padding-inline: 1.5em;
    padding-block: 1em;
    color: var(--white);
    border-radius: var(--radius);
}

.questionnaire-form .bricks-button:hover {
    background-color: var(--base);
    color: var(--white);

}