.form-form-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  width: 100%;
  display: flex;
  min-height: 76vh;
  align-items: center;
  justify-content: center;

  .form-row {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #cccccc;
    letter-spacing: 1px;
    text-align: center;

    .form-field-wrapper {
      border: 1px solid rgba(237, 132, 79, 0.8);
      box-sizing: border-box;
      border-radius: 10px;
      height: 44px;
      margin-top: 20px;
      width: 330px;
      display: flex;
      align-items: center;
      margin-left: auto;
      margin-right: auto;
    }

    label {
      span {
        color: #f35a81;
      }
    }

    .sc-avatar-wrapper {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      margin: 30px 0;

      img:first-child {
        width: 50%;
      }

      img:nth-child(2) {
        margin-top: 15px;
        margin-left: 15px;
        cursor: pointer;
      }

      div {
        svg {
          cursor: pointer;
        }
      }
    }
  }

  &.av {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 100px);
  }
}

.form-button-next {
  text-align: right;
  max-width: 99%;
  margin: 10px;
  position: absolute;
  display: flex;
  right: 0;

  button.frm-next-btn {
    width: 80px;
    height: 44px;
    background: #fff;
    border-radius: 24px;
    border: none;
    color: #ee007a;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    margin-right: 15px;
  }
}

.pc-tab>input,
.pc-tab section>div {
  display: none;
}

#tab1:checked~section .tab1,
#tab2:checked~section .tab2,
#tab3:checked~section .tab3,
#tab4:checked~section .tab4,
#tab5:checked~section .tab5,
#tab6:checked~section .tab6,
#tab7:checked~section .tab7,
#tab8:checked~section .tab8 {
  display: block;
  box-sizing: border-box;
}

#tab1:checked~nav .tab1,
#tab2:checked~nav .tab2,
#tab3:checked~nav .tab3,
#tab4:checked~nav .tab4,
#tab5:checked~nav .tab5,
#tab6:checked~nav .tab6,
#tab7:checked~nav .tab7,
#tab8:checked~nav .tab8 {
  color: red;
}

.pc-tab {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;

  ul {
    list-style: none;
    margin: 0;
    display: flex;
    border-bottom: 1px solid #20253b;

    li {
      label {
        float: left;
        padding: 15px 20px;
        border-bottom: 0;
        background: transparent;
        color: #cccccc;
        font-weight: 600;

        &:hover {
          color: #E91E63;
          cursor: pointer;
        }

        &:active {
          color: #E91E63;
        }
      }

      &:not(:last-child) label {
        border-right-width: 0;
      }
    }
  }

  section {
    clear: both;

    div {
      padding: 0px 20px;
      width: 100%;
      background: transparent;
      line-height: 1.5em;
      letter-spacing: 0.3px;
      color: #444;

      h2 {
        margin: 0;
        font-family: "Raleway";
        letter-spacing: 1px;
        color: #34495e;
      }
    }
  }
}

#tab1:checked~nav .tab1,
#tab2:checked~nav .tab2,
#tab3:checked~nav .tab3,
#tab4:checked~nav .tab4,
#tab5:checked~nav .tab5,
#tab6:checked~nav .tab6,
#tab7:checked~nav .tab7,
#tab8:checked~nav .tab8 {
  label {
    background: transparent;
    color: #f35a81;
    position: relative;

    &:after {
      content: "";
      display: block;
      position: absolute;
      height: 2px;
      width: 28%;
      background: url("../../../assets/images/active-tab.png") no-repeat;
      left: 0;
      bottom: -1px;
      right: 0;
      margin: auto;
    }
  }
}

.color-list-wrapper.Hairstyle {
  li {
    label {
      &.color1 {
        background: #a55727 !important;
      }

      &.color2 {
        background: #2d1b19 !important;
      }

      &.color3 {
        background: #b48042 !important;
      }

      &.color4 {
        background: #d6b371 !important;
      }

      &.color5 {
        background: #724133 !important;
      }

      &.color6 {
        background: #4a312c !important;
      }

      &.color7 {
        background: #f987d8 !important;
      }

      &.color8 {
        background: #f59797 !important;
      }

      &.color9 {
        background: #c93306 !important;
      }

      &.color10 {
        background: #e9e1e1 !important;
      }
    }
  }
}

.color-list-wrapper {
  display: flex;
  border: none;
  padding: 0;
  flex-wrap: wrap;
  border-bottom: none !important;
  margin-top: 30px !important;

  li {
    position: relative;
    width: calc(100% / 7);
    text-align: center;
    margin-bottom: 30px;
    top: 25px;

    span {
      display: block;
      color: #cccccc;
      font-size: 14px;
    }

    input[type="radio"] {
      width: 71px;
      height: 53px;
      opacity: 0;
      position: relative;
      z-index: 9999;
      cursor: pointer;
      left: 0px;
      top: -3px;
    }

    label {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      position: absolute;
      left: 0;
      padding: 0 !important;
      cursor: pointer;

      &.color1 {
        background: #a55727 !important;
      }

      &.color2 {
        background: #f9d25d !important;
      }

      &.color3 {
        background: #fedbb3 !important;
      }

      &.color4 {
        background: #edb98a !important;
      }

      &.color5 {
        background: #cf8b5a !important;
      }

      &.color6 {
        background: #ae5d28 !important;
      }

      &.color7 {
        background: #604335 !important;
      }

      &.color8 {
        background: #f987d8 !important;
      }

      &.color9 {
        background: #c93306 !important;
      }

      &.color10 {
        background: #fff !important;
      }

      &::after {
        width: 60px;
        height: 60px;
        position: absolute;
        content: "";
        top: -5px;
        left: -5px;
        opacity: 0;
        z-index: -1;
        box-sizing: border-box;
        border-radius: 100%;
        border: 1px solid #a64cd7;
        box-shadow: 1px 1px 20px 0.5px #a64cd7;
      }
    }

    input:checked+label:after {
      opacity: 1;
    }
  }

  &.hairstyle {
    border-top: 1px dashed;
    padding-top: 30px !important;

    li {
      position: relative;
      width: calc(100% / 7);
      text-align: center;
      margin-bottom: 20px;
      width: 110px !important;
      height: 130px;
      display: block;
      // background: rgba(33, 30, 61, 0.7);
      border: 1px solid #cccccc;
      backdrop-filter: blur(10px);
      box-sizing: border-box;
      border-radius: 8px;
      margin-right: 20px;

      input[type="radio"] {
        width: 99px;
        height: 123px;
        opacity: 0;
        position: relative;
        z-index: 9999;
        cursor: pointer;
        left: 0;
        top: 0;
      }

      label {
        text-align: center;
        width: 100%;
        float: none;
        display: block;
        left: 0;
        right: 0;
        margin: auto;
        top: 0px;

        &::after {
          width: 108px;
          height: 125px;
          position: absolute;
          content: "";
          border: 1px solid #a64cd7;
          top: -20px;
          left: 0;
          border-radius: 8px;
          opacity: 0;
        }
      }

      input:checked+label:after {
        opacity: 1;
      }
    }
  }

  &.b-list {
    li {
      position: relative;
      width: calc(100% / 7);
      text-align: center;
      margin-bottom: 20px;
      width: 110px !important;
      height: 130px;
      display: block;
      // background: rgba(33, 30, 61, 0.7);
      border: 1px solid #cccccc;
      backdrop-filter: blur(10px);
      box-sizing: border-box;
      border-radius: 8px;
      margin-right: 20px;

      input[type="radio"] {
        width: 106px;
        height: 127px;
        opacity: 0;
        position: relative;
        z-index: 9999;
        cursor: pointer;
        left: 0;
        top: 0;
        margin: 0;
      }

      label {
        width: 109px;
        height: 100%;
        border-radius: 50%;
        position: absolute;
        left: 0;
        padding: 0 !important;
        cursor: pointer;

        &:after {
          width: 108px;
          height: 129px;
          position: absolute;
          content: "";
          top: 0px;
          left: 0px;
          z-index: 0;
          background: #53257b9c;
          border-radius: 10px;
          border: 1px solid #a64cd7;
          box-shadow: 1px 1px 20px 0.5px #a64cd7;
        }

        img {
          margin-top: 20px;
          position: relative;
          z-index: 9;
        }
      }

      input:checked+label:after {
        opacity: 1;
      }
    }
  }

  &.cloths {
    border-bottom: 1px dashed #38336d !important;
    padding-top: 30px !important;
    padding-bottom: 20px !important;
    margin-bottom: 10px !important;
    border-top: 1px dashed #38336d !important;
    margin-top: 0 !important;
  }

  &.tshirt-logo {
    li {
      width: 66px !important;
      height: 66px !important;
      margin-top: 0;
      border-radius: 50% !important;
      padding: 0 !important;
      margin-right: 48px !important;
      margin-bottom: 50px !important;

      input[type="radio"] {
        height: 66px;
        width: 66px;
      }

      label {
        width: 66px;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;

        img {
          margin-top: -2px;
        }

        &:after {
          width: 115px;
          height: 115px;
          position: absolute;
          content: "";
          background: url("../../../assets/images/round-after.png");
          top: -32px;
          left: -31px;
          opacity: 0;
          z-index: 0;
        }
      }
    }
  }
}

.ss-tag {
  li {
    label {
      left: 50% !important;
      transform: translate(-50%, 0);
    }
  }
}

.hair-list {
  li {
    .all-hair {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translate(-50%, 0);
      width: 100%;
      padding: 0;

      span {
        line-height: 1.2;
        font-size: 13px;
      }
    }
  }
}

.Accessoriescolor {
  li {
    label {
      &.color1 {
        background: #262d33 !important;
      }

      &.color2 {
        background: #65c8ff !important;
      }

      &.color3 {
        background: #5199e5 !important;
      }

      &.color4 {
        background: #5199e5 !important;
      }

      &.color5 {
        background: #e5e5e5 !important;
      }

      &.color6 {
        background: #919598 !important;
      }

      &.color7 {
        background: #3c4f5c !important;
      }

      &.color8 {
        background: #b2e1ff !important;
      }

      &.color9 {
        background: #a7fec3 !important;
      }

      &.color10 {
        background: #ffdeb5 !important;
      }

      &.color11 {
        background: #ffafba !important;
      }

      &.color12 {
        background: #ffffb1 !important;
      }

      &.color13 {
        background: #ff488e !important;
      }

      &.color14 {
        background: #ff5c5d !important;
      }

      &.color15 {
        background: #ffffff !important;
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .pc-tab {
    section {
      div {
        padding: 0px 15px;
      }
    }

    ul {
      padding: 0px;
      align-items: flex-end;
    }

    ul::-webkit-scrollbar {
      height: 0px;
      width: 0px;
    }

    .tab-nav-all {
      overflow-x: scroll;
    }
  }

  .color-list-wrapper {
    li {
      width: auto;
    }
  }

  .b-list {
    li {
      margin-right: 5px !important;
      margin-left: 5px !important;
    }
  }

  .form-form-wrapper {
    .form-row {
      font-size: 15px;
      padding-top: 50px;

      .sc-avatar-wrapper {
        margin-left: 40px;
      }
    }
  }

  .tab6 {
    label {
      width: 70px;
    }
  }
}

@media screen and (max-width: 1024px) {
  .hair-list {
    li {
      .all-hair {
        transform: translate(-50%, -20%);
        top: 50%;

        span {
          display: none;
        }

        .no-hair {
          display: block;
        }
      }
    }
  }

  .color-list-wrapper {
    li {
      span {
        display: none;
      }
    }
  }

  .color-list-wrapper.b-list {
    li {
      width: 100px !important;
      height: 100px;

      input[type="radio"] {
        width: 100px;
        height: 100px;
      }

      label {
        top: 0px;

        img[alt="eyes Image"] {
          top: 20px;
        }

        img[alt="eyebrows Image"] {
          top: 20px;
        }

        img[alt="mouth Image"] {
          top: 20px;
        }

        img[alt="facial-hair Image"] {
          top: 20px;
        }

        img[alt="cloths Image"] {
          top: 20px;
        }

        img[alt="accessories Image"] {
          top: 20px;
        }

        &::after {
          width: 100px;
          height: 99px;
        }
      }
    }
  }
}