@import "../../../assets/scss/variables";


:root {
  --banner-background-image: url('../../../../src/assets/images/dua_aitima_lm.svg');
}

:root[data-theme="dark"] {
  --banner-background-image: url('../../../../src/assets/images/dua_aitima_dm.svg');
}

#createdua {

  .banner {
    position: fixed;
    z-index: -20;
    bottom: 0px;
    .inner {
      position: relative;
      right: 0;
      background-image: var(--banner-background-image);
      min-height: 590px;
      width: 100%;
      height: 100%;
      max-width: 590px;
      max-height: 590px;
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
    }

    @media (max-width: 991px) {
      display: none;
    }}

    .radio-wrapper {
      cursor: pointer;
      color: $text-color;
    }

    .main-content {
      max-width: 950px;
      margin-bottom: 180px;


      .step-wrapper {


        &--title {
          margin-bottom: 40px;

          h1 {
            color: $title-color;
            font-size: 3rem;
            font-weight: 300;
            margin-bottom: 16px;
          }

          p {
            line-height: 35px;
            font-size: 2rem;
            margin-bottom: 40px;
          }

          .step-no {
            font-size: 1.6rem;
          }
        }

        &--afm {
          margin: 3.7rem 0 4rem 0;

          input {

            border: none;
            color: transparent;
            position: absolute;
            background: transparent;

            &:focus {
              outline: none;
            }


            &:focus ~ label {
              border-color: $secondary-color-text;

              .step-wrapper--afm--input {
                .filled {
                  color: $secondary-color-text;
                }

                .empty {
                  border-color: $secondary-color-text;
                }
              }
            }
          }

          &--label {
            height: 9.2rem;
            border-radius: 0.5rem;
            border: 1px solid #D0E4FF;
            background-color: $form-background;
            padding: 2rem 3rem;
            width: auto;
            max-width: 55rem;
            min-width: 54.1rem;

            span {
              color: $title-color;
              font-size: $info-size;
              font-weight: $bold;
              margin-bottom: 1.1rem;
            }
          }

          &--input {
            height: 14px;
            display: flex;
            margin-top: 1rem;

            .filled {
              font-size: $text-size;
              font-weight: $thin;
              color: $text-color;
              margin-right: 1.1rem;
              line-height: .7;
              width: 2.8rem;
            }

            .empty {
              border-bottom: .1rem solid $text-color;
              width: 2.8rem;
              margin-right: 1.1rem;

            }
          }

          &--trials {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            padding-left: 1.5rem;

            p {
              font-size: $btn-txt-size;
              margin-left: 8px;
              line-height: 1;
            }

            img {
              width: 22px;
              height: 19px;
            }
          }
        }

        &--wrongafm {
          margin-top: 6.9rem;

          a {
            &:hover {
              cursor: pointer;
            }

            text-decoration: underline;
            color: $title-color;
            font-size: $subtext-size;
            letter-spacing: 0.32px;
            line-height: 1.9rem;
            font-weight: $extra-light;
          }
        }

        &--result {

          display: flex;
          flex-wrap: wrap;
          gap: 20px;
          align-items: center;
          margin-bottom: 58px;

          &--img {
            flex: 0 0 auto;

            img {
              width: 6.5rem;
              height: 5rem;
            }


          }

          &--text {
            line-height: 3.5rem;
            font-size: 2rem;
          }

          &--button {
            flex: 0 0 100%;
            padding-left: 85px;

            button {
              //height: 6.4rem;
            }
          }
        }

        &--info {
          p {
            line-height: 25px;
            font-size: 1.6rem;
            font-weight: $light;
          }


          .link {
            color: #1A73E8;
          }
        }
      }

      .step--submit-button {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 4rem;
      }

    }


  }
