@import "../common/scss/mixin";
@import "../common/scss/placeholder";


.auth-page {
  ul {
    list-style: none;
    padding: 0;
    margin:0;
  }
  /*******SIGN UP PAGE START*******/
  .sign-up-page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .logo-header {
    display: flex;
    margin-bottom: auto;
    padding-top: 35px;
    padding-bottom: 35px;
    padding-right: 25px;
    padding-left: 25px;

    &__logo {
      margin-left: auto;
      display: flex;
      justify-content: center;
      align-items: center;

      a {
        display: flex;
      }

      img {
        transition: all 0.5s ease-in;
        object-fit: contain;
        max-width: 100%;
        height: 9.5em;

        &:hover {
          filter: drop-shadow(0 0 3px rgba(var(--color-1), 0.2));
        }
      }
    }
  }

  .sign-up {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 320px;
    flex: 1;
    margin-right: auto;
    margin-left: auto;

    &__title {
      font-size: 24px;
      margin-bottom: 12px;
      color: var(--color-1);
    }

    &__text {
      font-size: 14px;
      color: var(--color-2);
      margin-bottom: 38px;
    }

    &__form {
      width: 100%;
      &-inputs{
        min-height: 25em;
        overflow-y: auto;
        padding-left: 1em;
      }

      form {
      }
    }

    &__form-row {
      margin-bottom: 24px;

      .select2-container--default {
        @extend %simple-input;
        padding-right: 23px;
        padding-left: 23px;

        border-radius: 10px;
        width: 100%;
        display: flex;
      }

      .select2-container--default .select2-selection--single {
        @extend %simple-input;
        padding-right: 23px;
        border-radius: 10px;
        width: 100%;
        display: flex;
      }

      .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
        margin-left: 23px;
        height: 100%;
        transition: all 0.5s ease;
      }

      .select2-container--default .select2-search--dropdown .select2-search__field {
        border-color: #f1f1f1;
      }

      .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
        background-color: var(--color-1);
        transition: all 0.5s ease-in-out;
      }
    }

    button {
      @extend %simple-btn;
    }

    &__number {
      position: relative;

      input {
        @extend %simple-input;
        font-size: 18px;
        padding-right: 23px;
        border-radius: 10px;
        padding-left: 78px;
        padding-right: 23px;
        text-align: left;

        // &::placeholder {
        //   color: #d4dce3;
        //   text-align: left;
        //   direction: ltr;
        // }

        &:focus {
          border-color: var(--color-1);
        }
      }

      span {
        padding-left: 25px;
        position: absolute;
        left: 2px;
        top: 2px;
        height: calc(100% - 4px);
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: white;
        direction: ltr;
        font-size: 18px;
      }
    }

    &__simple-input {
      position: relative;

      input {
        @extend %simple-input;
        text-align: center;
      }
    }

    &__text-number {
      font-size: 20px;
      color: var(--color-2);
      margin-bottom: 16px;
    }

    &__button-container {
      display: flex;
      align-items: center;
      justify-content: space-between;

      a {
        font-size: 16px;
        color: #bcc9d2;

        &:hover {
          color: var(--color-1);
        }
      }
    }
  }

  .footer {
    margin-top: auto;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 25px;
    padding-left: 25px;

    position: fixed;
    left: 1em;
    bottom: 1em;
    width: 500px;

    &__text {
      font-size: 14px;
      color: var(--color-2);

      a {
        color: var(--color-1);

        &:hover {
          color: #006da0;
        }
      }
    }

    &__meta {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

    &__version {
      font-size: 13px;
      color: #92a2b2;
      font-weight: 300;
      margin-left: auto;
      line-height: 0.5;
      text-align: right;
    }

    &__social-media {
      ul {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

      li {
        &:not(:last-child) {
          margin-left: 18px;
        }
      }

      a {
        display: flex;
        justify-content: center;
        align-items: center;
      }

      i {
        font-size: 24px;
        background: -webkit-linear-gradient(#a9bdc4 0%, #c6cfda 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;

        &:hover {
          color: var(--color-1);
          background: unset;
          -webkit-background-clip: unset;
          -webkit-text-fill-color: unset;
        }
      }
    }

    &__website {
      font-size: 14px;
      color: var(--color-1);
      margin-right: 20px;
    }
  }

  .select2-results__option--selectable {
    transition: all 0.5s ease-in-out;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
  }

  .select2-results__option--selected {
    background-color: #fafafa !important;
    color: var(--color-2) !important;
  }

  .select2-results__option--highlighted {
    color: var(--color-2) !important;
    background-color: #fafafa !important;
  }

  .select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: #f1f1f1;
  }

  .select2-dropdown {
    border-color: #dbdbdb;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: unset;
    display: flex;
    justify-content: center;
    align-items: center;

    &::before {
      font-family: "niafam" !important;
      speak: unset;
      font-style: normal;
      font-weight: normal;
      font-variant: normal;
      text-transform: none;
      line-height: 1;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      font-size: 24px;
      content: "\e946";
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }

  .error-text {
    color: var(--color-3) !important;
    margin-top: 5px;
    display: block;
    font-size: 14px !important;
    right: 0;
    bottom: 0;
    position: absolute;
    top: 50px;
    opacity: 0;
    transition: all 0.2s ease-in-out;
  }

  .error-input {
    position: relative;

    input {
      border-color: var(--color-3) !important;
    }

    .error-text {
      opacity: 1;
    }
  }

  /*******SIGN UP PAGE END*******/



  .select2-container--default .select2-selection--single .select2-selection__arrow b::before {
    content: "\e905";
    font-size: 5px;
  }

  .logo-header {
    padding-top: 25px;
    padding-right: 70px;
    padding-bottom: 0;
  }

  .o-signupp-differ-mb {
    margin-bottom: 28px;
  }

  .o-signupp-differ-mb2 {
    margin-bottom: 24px;
  }

  .elem {
    &__filter {
      position: relative;

      .filter-selected {
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        width: 100%;
        border: 1px solid #f1f1f1;
        padding-right: 24px;
        padding-left: 7px;
        font-size: 14px;
        justify-content: space-between;
        cursor: pointer;
        transition: all 0.3s ease-in-out;

        i {
          font-size: 26px;
          color: #1b2733;
        }

        &:hover {
          border-color: #92a2b2;
        }
      }

      .filter-items {
        z-index: 26;
        width: 100%;
        position: absolute;
        left: 0;
        top: calc(100% + 16px);
        padding: 11px 17px;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease-in-out;
        transform: translateY(50px);
        display: flex;
        flex-direction: column;
        background-color: white;
        border-radius: 10px;
        border: 1px solid #bac4ce;
        box-shadow: 0 0;

        ul {
          list-style: none;
          display: flex;
          flex-direction: column;
        }

        li {
        }

        a {
          padding-top: 9px;
          padding-bottom: 9px;
          display: flex;
          font-size: 14px;
          color: #1b2733;

          &:hover {
            color: var(--color-1);
          }
        }
      }

      .show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
      }
    }

    &__back {
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      visibility: hidden;
      opacity: 0;

      &.show {
        opacity: 1;
        visibility: visible;
      }
    }

    &__sample {
      &:hover {
        background-color: unset !important;
      }

      span {
        display: flex;
        width: 56px;
        height: 4px;
        background: linear-gradient(90deg, #f1f1f1 0%, #dbe2e9 100%);
        background-size: 300% 300%;
        animation: loading 2s infinite;
      }

      @keyframes loading {
        0% {
          background-position: 0% 50%;
        }
        50% {
          background-position: 100% 50%;
        }
        100% {
          background-position: 0% 50%;
        }
      }
    }

    &__btn {
      padding-right: 17px;
      padding-left: 17px;
      border-radius: 20px;
      border: 2px solid #00b6e3;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 32px;
      font-size: 14px;
      font-weight: normal;
      max-width: max-content;
      color: #00b6e3;

      &:hover {
        color: white !important;
        background-color: #00b6e3;
      }
    }

    &__placeholder-gray {
      // &::placeholder {
      //   color: #bac4ce;
      //   font-size: 16px;
      // }
    }

    &__google {
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid #F1F1F1;

      a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 48px;
        width: 100%;
        background-color: #F7FAFE;
        border: 1px solid #D4DCE3;
        border-radius: 10px;
        padding-right: 24px;
        padding-left: 24px;
        font-size: 16px;

        &:hover {
          border-color: var(--color-1);
        }
      }
    }
  }

  .flex {
    &__center {
      display: flex;
      justify-content: center !important;
      align-items: center !important;
    }
  }

  .text {
    &__small {
      font-size: 12px;
      font-weight: normal;
      font-weight: normal;
    }

    &__title {
      font-size: 14px;
      color: #444444;
      font-weight: 400;
    }

    &__detail {
      font-size: 13px;
      color: #444444;
      font-weight: normal;
    }

    &__gray {
      color: #92a2b2 !important;
    }

    &__blue {
      color: var(--color-1) !important;
    }

    &__center {
      text-align: center;
    }
  }

  .sign-up {
    .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
      padding-right: 0;
    }

    &__btn-container {
      display: flex;
      align-items: flex-start;

      .sign-up__text {
        display: flex;
        padding-top: 5px;
        margin-bottom: 0;

        &:hover {
          color: var(--color-1) !important;
        }
      }
    }

    &__header {
      margin-bottom: 20px;

      ul {
        display: flex;
        align-items: center;
        border: unset;
        border-bottom: 1px solid #F1F1F1;
      }

      li {
        width: 50%;
        border: unset !important;
      }

      a.nav-link {
        border: unset !important;
        height: 35px !important;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 0;
        color: #92A2B2;
        font-size: 16px;

        &.active {
          color: var(--color-1);
          border-bottom: 1px solid #00b6e3 !important;
        }
      }
    }
  }

  .footer__app {
    margin-right: 19px;
    font-size: 14px;
  }

  .footer__social-media i {
    font-size: 20px;
  }

  .sign-up--tabs {
    height: 370px;
    display: block;

    .sign-up__form-row {
      margin-bottom: 16px;
    }
  }

  @media (max-width: 991.98px) {
    .sign-up, .select2-container {
      max-width: 100%;
    }
    .footer__version {
      margin-left: 0;
    }
  }

}