ul {
  padding-left: 0;
  list-style: none;
}

img {
  margin: 15px 0 0 15px;
}

.servey-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;

  h4 {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #968bdb;
    letter-spacing: 1px;
    margin: 0 auto;
  }

  .review-item-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 30px auto;

    li {
      position: relative;

      input[type="radio"] {
        width: 24px;
        height: 24px;
        position: absolute;
        left: 22px;
        top: 11px;
        opacity: 0;
        z-index: 999;
      }

      label {
        font-style: normal;
        font-weight: normal;
        font-size: 14px;
        line-height: 18px;
        text-align: center;
        color: #fff;
        height: 48px;
        display: flex;
        border: 1px solid rgb(40, 44, 84);
        border-radius: 8px;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: 0.3s all ease-in-out;

        span {
          margin-left: 30px;
          color: #8b87b7;
        }

        &:after {
          position: absolute;
          content: "";
          height: 24px;
          width: 24px;
          border: 1px solid #282c54;
          left: 25px;
          border-radius: 50%;
        }

        &::before {
          position: absolute;
          content: "";
          height: 24px;
          width: 24px;
          background: url(../../../../assets/images/check.png) no-repeat;
          left: 33px;
          top: 16px;
          transform: scale(0);
        }
      }

      input:checked + label {
        background: rgba(173, 81, 250, 0.1);
        color: #b25cff;
        border: 1px solid #8901d7;
      }

      input:checked + label:after {
        border: 1px solid #8901d7;
      }

      input:checked + label:before {
        transform: scale(1);
      }
    }
  }

  &.step-2 {
    li {
      input[type="radio"] {
        width: 195px !important;
        height: 49px !important;
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        z-index: 999 !important;
        margin: 0;
        cursor: pointer;
      }

      label {
        padding-left: 15px;
        padding-right: 15px;

        &:after {
          left: 15px !important;
        }

        &::before {
          left: 22px !important;
        }

        span {
          margin-left: 35px !important;
        }
      }
    }
  }
}

.form-button-next {
  position: fixed;
  z-index: 1000;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: right;
  width: 90%;
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .frm-next-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(270deg, #ee844f 0%, #ee4b80 100%);
    border-radius: 22px;
    border: none;
    color: #fff;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 0px;
    text-align: center;
    cursor: pointer;

    &:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }

  .frm-prev-btn {
    background: #0f133c;
    border: 1px solid #484778;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #484778;
    transition: 0.3s all ease-in-out;
    cursor: pointer;

    &:hover {
      opacity: 0.7;
    }

    &:focus {
      outline: none;
    }
  }
}

.step-5 {
  li {
    margin-bottom: 20px;
    margin-right: 20px;

    input[type="checkbox"] {
      position: absolute;
      left: 0;
      width: 100%;
      height: 47px;
      z-index: 9999;
      opacity: 0;
      cursor: pointer;
    }
  }
}
.img-center {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .servey-center {
    width: 100%;
    position: relative;
    top: 40px;
    .review-item-wrapper {
      display: block;
      justify-content: center;
      flex-wrap: wrap;
      width: 75%;
      margin: 30px auto;
    }
  }
  .step-5 {
    li {
      margin-bottom: 10px;
      margin-right: 0px;
    }
  }
  .form-button-next {
    position: relative;
    top: 20px;
  }
}
