// Radio styles
.wpb_radio {
  &-item {
    display: flex;
    align-items: center;
    position: relative;
  }

  &-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;

    &:focus-visible + .wpb_radio-label .wpb_radio-visual {
      .wpb_param_focus_outline();
    }

    &:checked + .wpb_radio-label .wpb_radio-visual::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 10px;
      height: 10px;
      border-radius: 9px;
      background-color: @vc_main_color;
    }
  }

  &-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin: 0;
    padding: 0;

    &-text {
      .wpb_param_label_text();
    }
  }

  &-visual {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 1px solid @grayLight;
    border-radius: 9px;
    background-color: @white;
  }
}

.wpb_radio-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  padding: 0;
  margin-top: 10px;

  &.wpb_radio-container-vertical {
    flex-direction: column;
    gap: 12px;
  }
}
