.visible {
  display: block !important;
}
.hidden {
  display: none !important;
}
.patient-tool-v2-form {
  background-image: url("/modules/custom/patient_tool_v2/assets/bg-desk.png");
  background-size: cover; /* scales the image to fit */
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 16px;
}
@media (max-width: 1024px) {
  .patient-tool-v2-form {
    background-image: url("/modules/custom/patient_tool_v2/assets/bg-mobile.png");
    margin: 24px;
  }
}

.patient-tool-v2-form .patient-tool-layout {
  display: flex;
  /*flex-direction: column;*/
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 4rem;
  width: 100%;
  [data-drupal-selector="edit-next"] {
    display: none;
  }

  .patient-tool-right,
  .patient-tool-left {
    width: 50%;
    padding: 2rem;
    @media (max-width: 1024px) {
      width: 100%;
    }
  }

  .patient-tool-right {
    h3 {
      margin-bottom: 16px;
      font-style: unset;
    }
    .fieldset-wrapper {
      margin-top: 24px;
    }
  }
  .form-type-radio label::before,
  .form-type-radio label::after,
  input[type="radio"] {
    display: none;
  }
  .fieldset-legend {
    font-weight: 400;
  }
  legend {
    margin-bottom: 0;
  }

  .form-radio {
    appearance: unset;
    height: unset;
    width: unset;
    margin-right: unset;
    opacity: unset;
  }
  .form-type-radio {
    height: 50px;
    margin-top: 1rem;
  }

  .btn-primary,
  label {
    background-color: #fff;
    border-radius: 100px;
    border-color: #a20067;
    border-style: solid;
    border-width: 3px;
    font-weight: 700;
    color: #a20067;
    padding: 12px;
    margin: 1rem;
    text-align: center;
    width: 100%;
    /*height: 80px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    @media (max-width: 768px) {
      width: 100%;
    }
  }

  /*results*/
  .back-btn-wrapper::before {
    content: "";
    display: inline-block; /* or block, depending on your layout */
    width: 12px;
    height: 12px;
    background-image: url("/modules/custom/patient_tool_v2/assets/back.png");
    background-size: contain; /* scales the image to fit */
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 12px;
  }

  .btn-primary::after {
    content: "";
    display: inline-block; /* or block, depending on your layout */
    width: 20px;
    height: 18px;
    background-image: url("/modules/custom/patient_tool_v2/assets/next.svg");
    background-size: contain; /* scales the image to fit */
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 12px;
  }

  .back-btn {
    padding: 0;
    background-color: transparent;
  }

  .back-btn,
  .close-btn {
    /*background-color: #fff;*/
    font-weight: 700;
    color: #a20067;
  }
  .dl-btn::after {
    background-image: url("/modules/custom/patient_tool_v2/assets/d-btn.svg") !important;

  }
  .result-link {
    max-width: 300px;
    margin: auto auto 16px;
    line-height: 0;
  }
  .sb-button {
    background-color: transparent;
    padding-right: 0;
  }

  .pt-option {
    width: 100%;
    font-size: 19px;
  }

  .btn-primary {
    height: 50px;
    font-size: 19px;
  }
  .total-score {
    color: #ff2da0;
  }
  .top-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
  }
}
