
.nut-shortpassword {
  &__title {
    line-height: 1;
    font-size: $font-size-3;
    color: $title-color;
  }

  &__description {
    margin-top: 12px;
    margin-bottom: 24px;
    line-height: 1;
    font-size: $font-size-1;
    color: $text-color;
  }

  &__input {
    padding: 0 0 10px;
    text-align: center;
    position: relative;
    overflow: hidden;

    &-real {
      position: absolute;
      right: 0;
      width: 247px;
      height: 41px;
      outline: 0 none;
      border: 0;
      text-decoration: none;
      z-index: -99;
    }

    &-site {
      width: 247px;
      height: 41px;
      border-radius: 4px;
    }

    &-fake {
      top: 5%;
      width: 100%;
      height: 41px;
      margin: 0 auto;
      box-sizing: border-box;
      background: $shortpassword-background-color;
      border-radius: 4px;
      border: 1px solid $shortpassword-border-color;
      display: flex;
      position: absolute;
      left: 0;

      &__li {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;

        &__icon {
          height: 6px;
          width: 6px;
          border-radius: 50%;
          background: #000;
          display: inline-block;
        }
      }
    }
  }

  &__message {
    margin-top: 9px;
    display: flex;
    justify-content: space-between;
    width: 247px;

    &__error {
      line-height: 1;
      font-size: $font-size-0;
      color: $shortpassword-error;
    }

    &__forget {
      line-height: 1;
      font-size: $font-size-1;
      color: $shortpassword-forget;
      display: flex;
      align-items: center;
    }
  }

  &__footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;

    &__cancel {
      background: $white;
      border: 1px solid $primary-color;
      border-radius: 15px;
      padding: 8px 38px;
      line-height: 1;
      font-size: $font-size-2;
      color: $primary-color;
    }

    &__sure {
      background: linear-gradient(
        135deg,
        $primary-color 0%,
        $primary-color-end 100%
      );
      border-radius: 15px;
      padding: 8px 38px;
      line-height: 1;
      font-size: $font-size-2;
      color: $primary-text-color;
    }
  }
}
