@keyframes spinAround{from{transform:rotate(0)}to{transform:rotate(359deg)}}
//$primary_color: rgb(52, 58, 235);
$primary_color: #000339;
$link_color: #0000ff;
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

$font1: 'Inter', sans-serif;
@mixin placeholder {
  &::-webkit-input-placeholder { @content; }
  &:-moz-placeholder           { @content; }
  &::-moz-placeholder          { @content; }
  &:-ms-input-placeholder      { @content; }
}

#wpm-terms.wpm-modal-form-tab__terms {
  .wpm-terms-row {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #e2e4f9;
    border-radius: 3px;
    padding: 15px;
    color: #1f2355;
    margin-top: 16px;

    &.total {
      font-weight: bold;
      border: none;
      padding-bottom: 0;
    }

    &.active {
      border-color: #00023c;
    }

    .label, .value {
      font-size: 16px;
    }

    .value {
      margin-left: auto;
    }

    input[type="radio"] {
      display: none !important;

      &:checked + .input-placeholder {
        background-color: #00023c;
        border-color: #00023c;
        background-image: url('../img/checkmark.png');
        background-position: center center;
        background-repeat: no-repeat;
      }
    }

    .input-placeholder {
      width:  20px;
      height: 20px;
      border-radius: 20px;
      border: 2px solid #D9DBF2;
      margin-right: 9px;
    }
  }
}


// select end
.wpm-overflow-hidden {
  html & {
    overflow: hidden !important;
  }
}

.modal-form,
.modal-form *,
.modal-form:before,
.modal-form.after {
  box-sizing: border-box;
}

.modal-form {
}

.modal-form-inner{
  .powered-by {
    margin-top: 20px;
    color: #B6B8E2;
    display: flex;
    justify-content: space-between;

    div{
      font-size: 12px;
      color: #B6B8E2;

      .sprinque-powered-img {
        height: 16px;
        margin-bottom: -4px;
        opacity: 0.3;
      }
    }
  }
}
html[lang="de-DE"] #wpm-modal-form.modal-middle {
  .modal-form-inner {
    max-width: 570px;
  }
}


.wpm-modal-form-tabs {

}

body #wpm-modal-form-wrapper #wpm-modal-form {
  .modal-form {
    &__overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      -webkit-tap-highlight-color: transparent;
      opacity: 0;
      transition: opacity .3s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    }
  }
}

body #wpm-modal-form-wrapper #wpm-modal-form.modal-form {


  font-family: $font1;
  position: fixed;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;

  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  -webkit-tap-highlight-color: transparent;

  &_show {
    z-index: 100000;
    opacity: 1;
    pointer-events: visible;
    visibility: visible;
    font-family: $font1;
    .modal-form__overlay {
      opacity: 0 !important;
    }

    div, span {
      font-family: $font1;
    }
  }

  &.modal-form_show.modal-form_anim {
    // opacity: 1 !important;
    .modal-form__overlay {
      opacity: 1 !important;
    }
    .modal-form-inner {
      top: 20px;
      opacity: 1;
      box-shadow: rgb(0 0 0 / 20%) 0px 11px 15px -7px, rgb(0 0 0 / 14%) 0px 24px 38px 3px, rgb(0 0 0 / 12%) 0px 9px 46px 8px;
      transition: top .3s cubic-bezier(0.4, 0, 0.2, 1) 0s, opacity .2s cubic-bezier(0.4, 0, 0.2, 1) .1s;
    }
  }

  @media screen and (max-width: 630px) {
    html[lang="de-DE"] #wpm-modal-form.modal-middle {
      .modal-form-inner {
        .cant-complete-autorization .pagination-btns {
          flex-direction: column;

          .to_select_companies {
            margin-bottom: 8px;
          }
        }
      }
    }
  }

  &.modal-form_show {

    -webkit-font-smoothing: antialiased;

    * {
      font-family: $font1;
      -webkit-font-smoothing: antialiased;
    }

    .wpm-modal-form-tab {
      display: none;
      &_active {
        display: block;
      }
      &__title {
        /*text-align: left;*/
        text-align: center;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.5;
        /*color: rgb(40, 43, 93);*/
        color: #000339;
        & + * {
          margin-top: 24px;
        }
      }
      &__dsc {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.25;
        color: rgb(40, 43, 93);
        a {
          text-decoration: none !important;
          color: $link_color;
        }
      }
      &__note {
        font-size: 12px;
        font-weight: 500;
        line-height: 1.25;
        color: rgb(40, 43, 93);
      }
      &__resend {
        &--disabled {
          color: rgb(217, 219, 242) !important;
          cursor: not-allowed;
          .wpm-modal-form-tab__resend-notice {
            display: inline;
          }
        }
        &-notice {
          display: none;
        }
      }
    }

    #register-company-tab {
      cursor: pointer;
      color: $primary_color;
      text-decoration: none;

    }

    .founded-companies .company-item {
      color: rgba(0, 0, 0, 0.6);
    }

    .founded-companies .company-item, .founded-companies .company-item-404 {
      // border: 2px solid #ddd;
      // padding: 10px 20px;
      // margin: 10px 0;
      // border-radius: 5px;
      cursor: pointer;

      font-size: 14px;
      font-family: Roboto, Helvetica, Arial, sans-serif;
      font-weight: 400;
      line-height: 1.5;
      padding: 6px 16px;
      position: relative;

      &.active {
        // border: 2px solid #75009a;
        padding: 16px;
        cursor: default !important;
        // min-height: 108px;
        background: rgb(255, 255, 255);
        border: 1px solid $primary_color;
        box-shadow: rgb(217 219 242 / 50%) 0px 4px 8px;
        border-radius: 8px;
        //margin: 32px 0px 12px;
        position: relative;
      }
      &:not(.active):not(.company-item-404):hover {
        background-color: rgba(0, 0, 0, 0.04);
      }
      &__close {
        position: absolute;
        cursor: pointer;
        right: 16px;
        top: 16px;
        width: 20px;
        height: 20px;
        background: url("../img/close-circle-grey.svg") center center no-repeat;
        background-size: 20px 20px;
      }
    }
    .business-name {
      color: rgb(40, 43, 93);
      margin-bottom: 3px;
      font-weight: 600;
    }


    .error-confirm-order {
      padding-top: 16px;
      font-size: 14px;
      color: red;
    }


    .pagination-btns-wrap{
      display: flex;
      justify-content: space-between;
      margin: 50px 5px 30px 0;
      .wpm-btn_mb{
        width: auto;
        margin: 0;
      }
    }
    .pagination-btns {
      margin-top: 25px;
      display: flex;
      justify-content: space-between;
      @media screen and (max-width: 768px) {
        flex-wrap: wrap;
        justify-content: center;
      }
      .wpm-btn {
        //width: 150px !important;
        //max-width: 48% !important;
      }
    }
    .wpm-buttons-row {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      align-items: stretch;
      justify-content: space-between;
      @media screen and (min-width: 576px) {
        margin-left: -10px;
        margin-right: -10px;
      }
      &_mt {
        margin-top: 25px;
      }
      @media screen and (max-width: 575.98px) {
        display: block;
        margin-bottom: -10px;
        & > * {
          margin-bottom: 10px;
        }
      }
    }
    .wpm-button-col {
      @media screen and (min-width: 576px) {
        flex-basis: 0;
        min-width: 0;
        flex-grow: 1;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
      }
    }

    .wpm-select-wrap,
    .wpm-select-wrap *,
    .wpm-select-wrap:before,
    .wpm-select-wrap.after {
      box-sizing: border-box;
    }


    .wpm-select-wrap {
      position: relative;
      z-index: 100;
      &_open-dropdown,
      &_open {
        .wpm-select-placeholder__clear {
          opacity: 0 !important;
          visibility: hidden !important;
        }
        .wpm-select-placeholder__arrow {
          svg {
            path {
              fill: rgb(40, 43, 93);
            }
          }
        }
      }
      &_open-dropdown {
        z-index: 101;
        .wpm-select-dropdown-container {
          visibility: visible;
          z-index: 10;
          opacity: 1;
        }
      }
      &_open {
        z-index: 101;
        .wpm-select-placeholder__search {
          opacity: 1;
        }
        .wpm-select-placeholder__single,
        .wpm-select-placeholder__rendered {
          opacity: 0;
          z-index: -1;
        }
        .wpm-select-dropdown-container {
          visibility: visible;
          z-index: 10;
          opacity: 1;
        }
      }
    }
    .wpm-select-dropdown-container {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      overflow: hidden;
      opacity: 0;
      z-index: -1;
      visibility: hidden;

      margin-top: 8px;
      background: #fff;
      border: 1px solid rgb(217, 219, 242);
      box-shadow: rgb(217 219 242 / 50%) 0px 4px 8px;
      border-radius: 8px;
    }
    .wpm-select-dropdown {
      max-height: 150px !important;
      overflow-y: auto;
      padding: 8px;
      &__empty {
        text-align: center;
        font-size: 14px;
        padding: 8px 12px;
      }
      &__option {
        border-radius: 8px;
        margin: 4px 0px;
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        color: rgb(40, 43, 93);
        cursor: default;
        background: #fff;
        padding: 8px 12px;
        &_highlighted {
          background: #eaf3fa !important;
        }
      }
    }

    .wpm-select-placeholder {
      overflow: hidden;
      position: relative;
      height: 40px;
      background-color: #fff;
      border: 1px solid rgb(217, 219, 242);
      border-radius: 8px;
      font-family: Roboto, Helvetica, Arial, sans-serif;
      font-size: 14px;

      &__search {
        opacity: 0;
        border: 0 !important;

        background: rgb(255, 255, 255);
        height: 100%;
        position: relative;
        font-size: 14px;
        padding: 9px 12px;
        font-weight: 400;
        color: rgb(40, 43, 93);
        border: 1px solid rgb(217, 219, 242);
        border-radius: 8px;
        overflow: hidden;
        font-family: Roboto, Helvetica, Arial, sans-serif;
        -webkit-tap-highlight-color: transparent;
        display: block;
        width: 100%;
        @include placeholder {
          color: rgba(40, 43, 93, .4);
        }
        &:focus {
          outline: none !important;
        }
      }
      &__rendered,
      &__single {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-left: 12px;
        line-height: 38px;
      }
      &__rendered {
        color: rgba(40, 43, 93, .4) !important;
      }
      &__single {
        color: rgb(40, 43, 93);
        @media screen and (max-width: 768px) {
          max-width: 77%;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
        &_active {
          & + .wpm-select-placeholder__rendered {
            opacity: 0;
            z-index: -1;
          }
          & ~ .wpm-select-placeholder__buttons {
            .wpm-select-placeholder__clear {
              opacity: 1 !important;
              visibility: visible;
            }
          }
        }
      }
      &__buttons {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        z-index: 10;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-end;
      }
      &__clear {
        opacity: 0;
        visibility: hidden;
      }
      &__arrow,
      &__clear {
        cursor: pointer;
        transition: opacity .2s ease;
        width: 36px;
        height: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        &:hover {
          svg {
            path {
              fill: rgba(40, 43, 93, 1);
            }
          }
        }
        svg {
          path {
            fill: rgba(40, 43, 93, .4);
            transition: fill .15s ease;
          }
        }
      }
    }

    .modal-form-inner {
      &:focus {
        outline: none !important;
      }
      overflow-x: hidden;
      border: 0 !important;
      position: absolute;
      z-index: 5;
      background-color: rgb(255, 255, 255);
      color: rgba(0, 0, 0, 0.87);
      border-radius: 4px;

      border: 1px solid rgb(217, 219, 242) !important;

      margin: 32px;
      max-height: calc(100% - 64px);
      width: calc(100% - 64px);
      max-width: 480px;
      padding: 32px;

      opacity: 0;

      overflow-y: auto;
      top: 30%;
      left: 50%;
      transform: translate(calc(-50% - 32px), 0);
      & > p{
        display: none;
      }
      .modal-form__logo{
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
        img{
          max-width: 90%;
          max-height: 47px;
          height: auto;
        }
      }
      @media screen and (max-width: 575.98px) {
        padding: 16px;
      }
      &__close {
        outline: none !important;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 5;
        width: 28px;
        height: 28px;
        background: url("../img/close.svg") center center no-repeat;
        background-size: 14px 14px;
        @media screen and (max-width: 575.98px) {
          top: 7px;
          right: 7px;
        }
      }
    }

    .field-group {
      & + .field-group {
        margin-top: 32px;
      }
      label {
        display: block;
        font-weight: 600;
        font-size: 14px;
        line-height: 22px;
        color: rgb(40, 43, 93);
        margin-bottom: 8px;
      }
      input:not([type="submit"]) {
        box-shadow: none !important;
        background: rgb(255, 255, 255);
        height: 40px;
        position: relative;
        font-size: 14px;
        padding: 9px 12px;
        font-weight: 400;
        color: rgb(40, 43, 93);
        border: 1px solid rgb(217, 219, 242);
        border-radius: 8px;
        // font-family: $font1;
        font-family: Roboto, Helvetica, Arial, sans-serif;
        -webkit-tap-highlight-color: transparent;
        display: block;
        width: 100%;
        min-height: unset;
        &:disabled{
          background: #f6f5f2;
          cursor: not-allowed;
        }
        @include placeholder {
          color: rgba(40, 43, 93, .4);
        }
        &:focus {
          outline: none !important;
        }
      }

      .field-warning {
        margin-top: 8px;
        box-sizing: border-box;
        color: rgb(40, 43, 93);
        border-radius: 8px;
        display: none;
        font-size: 14px;
      }
    }

    .search_already_added_company .field-group {
      margin-top: 32px;
    }

    .search_already_added_company .wpm-modal-form-tab__dsc {
      display: none;
    }

    // select2


    // .select2-container {
    //   display: block !important;
    //   width: 100% !important;

    //   .select2-selection--single {
    //     outline: none !important;
    //     background-color: #fff !important;
    //     border: 1px solid rgb(217, 219, 242) !important;
    //     border-radius: 8px !important;
    //     height: 40px !important;
    //     font-family: Roboto, Helvetica, Arial, sans-serif !important;
    //     font-size: 14px !important;

    //     .select2-selection__rendered {
    //       padding-left: 12px !important;
    //       padding-right: 0 !important;
    //       line-height: 40px !important;
    //       color: rgb(40, 43, 93) !important;
    //     }
    //     .select2-selection__placeholder {
    //       color: rgba(40, 43, 93, .4) !important;
    //     }
    //     .select2-selection__clear {
    //       font-size: 0 !important;
    //       height: 38px !important;
    //       padding: 0 !important;
    //       width: 36px !important;
    //       background: url("../img/clear.svg") center center no-repeat !important;
    //       opacity: .4 !important;
    //       margin: 0 36px 0 0!important;

    //       span {
    //         display: none !important;
    //       }
    //     }
    //     .select2-selection__arrow {
    //       height: 38px !important;
    //       width: 36px !important;
    //       b {
    //         border: 0 !important;
    //         height: 100% !important;
    //         width: 100% !important;
    //         left: 0 !important;
    //         top: 0 !important;
    //         position: absolute !important;
    //         margin: 0 !important;
    //         background: url("../img/arrow-down.svg") center center no-repeat !important;
    //         opacity: .4 !important;
    //       }
    //     }
    //   }
    //   &.select2-container--open {
    //     .select2-selection__clear,
    //     .select2-selection__arrow b {
    //       opacity: 1 !important;
    //       transition: opacity .1s ease !important;
    //     }
    //   }
    //   .select2-search {
    //     padding: 0 !important;
    //     height: 40px !important;
    //     width: calc(100% - 72px) !important;
    //     margin-top: -40px !important;
    //     padding: 9px 0 9px 12px !important;
    //     .select2-search__field {
    //       display: block;
    //       box-shadow: none !important;
    //       height: 100% !important;
    //       padding: 0 !important;
    //       outline: none !important;
    //       border: 0 !important;
    //       font-size: 14px !important;
    //       color: #282b5d !important;
    //       font-family: Roboto, Helvetica, Arial, sans-serif !important;
    //       background: #fff !important;
    //     }
    //   }
    //   .select2-results {
    //     margin-top: 8px !important;
    //     overflow: hidden !important;
    //     background: #fff !important;
    //     border: 1px solid rgb(217, 219, 242) !important;
    //     box-shadow: rgb(217 219 242 / 50%) 0px 4px 8px !important;
    //     border-radius: 8px !important;
    //   }
    //   .select2-results__options {
    //     padding: 8px !important;
    //     max-height: 150px !important;
    //   }
    //   .select2-results__option {
    //     border-radius: 8px !important;
    //     outline: none !important;
    //     margin: 4px 0px !important;
    //     font-size: 14px !important;
    //     font-weight: 400 !important;
    //     line-height: 22px !important;
    //     color: rgb(40, 43, 93) !important;
    //     cursor: default !important;
    //     background: #fff !important;
    //     padding: 8px 12px !important;
    //   }
    //   .select2-results__option.select2-results__message {
    //     text-align: center !important;
    //     color: rgb(153, 153, 153) !important;
    //     font-size: 16px !important;
    //   }
    //   .select2-results__option--highlighted {
    //     background: rgb(234, 243, 250) !important;
    //   }
    //   .select2-dropdown {
    //     border: 0 !important;
    //     background: transparent !important;
    //   }
    // }
    * + .wpm-btn {
      // margin-top: 32px;
    }

    .wpm-btn {
      outline: none !important;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      -webkit-tap-highlight-color: transparent;
      outline: 0px;
      margin: 0px;
      cursor: pointer;
      user-select: none;
      vertical-align: middle;
      appearance: none;
      text-decoration: none;
      font-weight: 600 !important;
      font-size: 16px;
      letter-spacing: 0.02857em;
      min-width: 64px;
      transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
      padding: 12px 16px;
      width: auto;
      height: 48px;
      border: 2px solid transparent !important;
      box-shadow: none;
      color: $primary_color;

      border-radius: 4px;
      text-transform: none;
      @media screen and (max-width: 575.98px) {
        min-width: 54px;
        padding-left: 8px;
        padding-right: 8px;
      }

      &_primary {
        background: $primary_color !important;
        color: rgb(255, 255, 255) !important;

        &:hover {
          background: $primary_color !important;
          box-shadow: rgb(0 0 0 / 20%) 0px 2px 4px -1px, rgb(0 0 0 / 14%) 0px 4px 5px 0px, rgb(0 0 0 / 12%) 0px 1px 10px 0px !important;
          border-color: transparent !important;
        }
      }

      &_outline-primary {
        font-weight: 600 !important;
        background: transparent !important;
        color: $primary_color !important;
        border-color: $primary_color !important;
        
        @media screen and (max-width: 768px) {
          line-height: 20px;
          margin-bottom: 15px;
          text-align: center;
        }

        &:hover {
          background: $primary_color !important;
          color: #fff !important;
        }
      }

      &:disabled {
        color: #ffffff !important;
        box-shadow: none !important;
        background-color: #D9DBF2 !important;
        pointer-events: none !important;
        cursor: default !important;
      }

      &_block {
        display: flex;
        width: 100%;
      }

      &_mt {
        margin-top: 32px;

        &.choose_another_payment_method{
          margin-top: 15px;
        }
        &.continue-with-review{
          margin-bottom: 15px;
        }

        &-01 {
          margin-top: 16px;
        }
      }

      &_mt-2 {
        margin-top: 50px;
      }

      &_mb {
        margin-bottom: 32px;
      }
    }

    .search-company-by {
      display: flex;
      align-items: center;
      @media screen and ( max-width: 768px ) {
        flex-wrap: wrap;
      }

      label {
        font-weight: normal;
        display: flex;
        align-items: center;
        color: #6266A7;

        &:not(:last-child) {
          margin-right: 10px;
        }
      }

      input[type="radio"] {
        display: none;

        & + .input-placeholder {
          position: relative;
          display: inline-block;
          width: 18px;
          height: 18px;
          border-radius: 18px;
          margin-right: 6px;
          background-color: transparent;
          box-sizing: border-box;
          border: 1px solid #B5B9E2;
        }

        &:checked + .input-placeholder {
          background-color: transparent;
          border-color: #00033C;

          //background-image: url("../img/checkmark.png");
          //background-repeat: no-repeat;
          //background-position: center center;
          &::after {
            display: block;
            content: "";
            width:  12px;
            height: 12px;
            border-radius: 12px;
            margin-top: 2px;
            margin-left: 2px;
            background-color: #00033C;
          }
        }
      }
    }

    .policy-description {
      margin-top: 32px;
      font-size: 14px;
    }

    .checkbox {
      display: flex;
      align-items: flex-start;
      font-size: 14px;

      input[type="checkbox"] {
        display: none;

        &:checked {
          & + .placeholder {
            border-color: #000339;
            background-color: #000339;
            background-image: url(../img/checkmark.png);
            background-position: center center;
            background-repeat: no-repeat;
          }
        }

        & + .placeholder {
          width: 20px;
          height: 20px;
          flex-shrink: 0;
          flex-grow: 0;
          margin-right: 12px;
          box-sizing: border-box;
          border: 1px solid #B6B8E2;
          border-radius: 2px;
        }
      }
    }


    .dc-border-item {
      display: none;
      padding: 16px;
      background: white;
      border: 1px solid #343aeb;
      box-shadow: rgba(217, 219, 242, 0.5) 0px 4px 8px;
      border-radius: 8px;
      margin: 32px 0px 12px;
      position: relative;
      font-size: 14px;
      font-family: Roboto, Helvetica, Arial, sans-serif;
      font-weight: 400;
      line-height: 1.5;
      color: rgba(0, 0, 0, 0.6);

      &_active {
        display: block;
      }
    }


    .search-company-result {
      margin-bottom: 0;
      margin-top: 8px;
      overflow: hidden;

      &_selected {

      }

      &_loaded {
        &:not(.search-company-result_selected) {
          border-radius: 8px;
          background: #fff;
          border: none !important;
          box-shadow: none !important;

          .founded-companies, .company-not-found {
            border-radius: 8px;
            background: #fff;
            border: 1px solid #d9dbf2;
            box-shadow: rgba(217, 219, 242, 0.5) 0 4px 8px;
            max-height: 215px;
            overflow-y: scroll;

            .company-not-found-placeholder {
              text-decoration: none;
            }
          }

          .founded-companies {
            .company-not-found-placeholder, .company-item {
              &::after {
                content: '';
                width: calc(100% - 24px);
                height: 1px;
                background-color: #d9dbf2;
                display: block;
                margin-top: 6px;
                position: absolute;
                bottom: 0;
                left: 12px;
              }
            }
          }

          .company-not-found-placeholder {
            background: #fff;
            padding: 9px 12px;
            text-decoration: none;
            border-radius: 0;
            border-bottom: none;

            &#register-company-tab {
              padding: 9px 12px;
            }

            &#register-company-tab-2 {
              padding: 6px 16px;
              padding-top: 16px;
            }

            .placeholder-title {
              font-weight: 600;
              margin-bottom: 4px;
              color: rgb(40, 43, 93);
            }

            .placeholder-text {
              font-size: 14px;
            }
          }
        }
      }
    }

    .founded-companies {
      border-radius: 8px;
      background: #fff;
      border: 1px solid rgb(217, 219, 242);
      box-shadow: rgb(217 219 242 / 50%) 0px 4px 8px;
      max-height: 220px;
      overflow-y: scroll;
    }


    .company-not-found {
      color: #282b5d;
      padding: 16px 16px;
      font-size: 16px;
    }


    // preloader
    .wpm-preloader {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: center;

      color: rgb(153, 153, 153);
      padding: 16px 20px;
      text-align: center;
      font-size: 16px;

      &:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        animation: spinAround .5s infinite linear;
        border: 3px solid $primary_color;
        margin-right: 8px;
        border-radius: 290486px;
        border-right-color: transparent;
        border-top-color: transparent;
        content: "";
        display: block;
        width: 15px;
        height: 15px;
        position: relative;
      }
    }



    .error-register-fields {
      color: red;
      margin-top: 8px;
    }

    .register-company-tab, .error-confirm-order a {
      color: $link_color;
      cursor: pointer;
      text-decoration: underline;
    }

    .register-company-tab:hover {
      text-decoration: none;
    }

    .cant-complete-autorization {
      margin-top: 25px;
    }

    .cant-complete-autorization .verify-error {
      color: #000339;
    }
    .cant-complete-autorization .verify-error ol,
    .cant-complete-autorization .verify-error ul {
      padding-left: 30px;
      text-align: left;
    }

    .cant-complete-autorization .verify-error-explanation {
      color: red;
      text-align: center;
    }

    .verify-local-error {
      color: red;
    }

    #cancel-order-sprinque {
      margin-bottom: 30px;
    }

    #email-otp-send {
      color: $link_color;
    }

    #register-company-tab, #register-company-tab-2 {
      padding: 0 5px;
    }

    .purchase_approved {
      .wpm-modal-form-tab__dsc {
        text-align: center;
      }

      .approved-days {
        font-size: 20px;
        font-weight: 600;
        margin-top: 10px;
      }
    }

    .finalizing-order {
      .wpm-modal-form-tab__dsc {
        margin-top: 32px;
        margin-bottom: 32px;
        font-size: 16px;
        font-weight: 400;
        text-align: center;
      }
    }

  }
}







// otp
.wpm-confirm-code-wrap {
  margin-top: 40px;
}
#wpm-otp {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-bottom: 1px solid #282b5d !important;
    outline: 0 !important;
    margin: 0 !important;
    width: calc(20% - 10px) !important;
    font-size: 38px !important;
    color: $primary_color;
    font-weight: 500 !important;
    text-align: center !important;
    border-radius: 0;

    &#confirm-code-1,
    &#confirm-code-2,
    &#confirm-code-3,
    &#confirm-code-4,
    &#confirm-code-5 {
      border-radius: 0;
    }
  }
}
// otp end



// loader lg
.wpm-loader {
  width: 40px;
  height: 40px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;

  animation: spinAround .5s infinite linear;
  border: 4px solid $primary_color;
  // border-radius: 290486px;
  border-right-color: transparent;
  border-top-color: transparent;
  display: block;
  position: relative;

  &_my {
    margin-top: 40px;
    margin-bottom: 40px;
  }
}
// loader lg end

.otp-error-code {
  color: red;
  margin-bottom: 15px;
}

.error-register-fields {
  color: red;
  margin-top: 8px;
}

.register-company-tab, .error-confirm-order a {
  color: $link_color;
  cursor: pointer;
  text-decoration: underline;
}

.register-company-tab:hover {
  text-decoration: none;
}

.cant-complete-autorization {
  margin-top: 25px;
}

.cant-complete-autorization .verify-error, .cant-complete-autorization .verify-error-explanation {
  color: red;
  text-align: center;
}

.verify-local-error {
  color: red;
}

#cancel-order-sprinque {
  margin-bottom: 30px;
}

#email-otp-send {
  color: $link_color;
}

#register-company-tab, #register-company-tab-2 {
  padding: 0 5px;
  text-decoration: underline;
}

.purchase_approved {
  .wpm-modal-form-tab__dsc {
    text-align: center;
  }

  .approved-days {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
  }
}

body #wpm-modal-form-wrapper #wpm-modal-form.modal-form.modal-form_show .sprinque_email_validation_error, body #wpm-modal-form-wrapper #wpm-modal-form.modal-form.modal-form_show .sprinque_email_validation_notice {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  align-items: center;

  .wpm-modal-form-tab__error{
    background-image: url('../img/error-icon.svg');
    background-position: center center;
    background-repeat: no-repeat;
    width: 65px;
    height: 65px;
    margin-bottom: 30px;
  }

  .wpm-modal-form-tab__notice{
    background-image: url('../img/notice-icon.svg');
    background-position: center center;
    background-repeat: no-repeat;
    width: 65px;
    height: 65px;
    margin-bottom: 30px;
  }

  .wpm-modal-form-tab__title{
    text-align: center;
  }
  .wpm-modal-form-tab__dsc{
    b{
      font-weight: 600;
    }
  }
  .wpm-modal-form-tab__powered{
    position: relative;
    text-align: left;
    color: #D9DBF2;
    font-size: 14px;
    line-height: 22px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    img{
      margin-left: 5px;
      padding: 2px 0px 0px;
    }
  }
}
.wpm-modal-form-tab__subtitle{
  color: var(--wire-black-900, #000339);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px; /* 157.143% */
  margin-bottom: 10px;
}
.wpm-modal-form-tab__description{
  color: var(--wire-black-900, #000339);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 157.143% */
}
.wpm-instalments-row{
  display: flex;
  align-items: center;
  box-sizing: border-box;
  border: 1px solid #e2e4f9;
  border-radius: 3px;
  padding: 15px;
  color: #1f2355;
  margin-top: 16px;
  flex-direction: column;
  & > p{
    display: none;
  }
  .wpm-instalments-row-label{
    width: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 0 15px;
    color: #1f2355;
    margin-top: 0;
    .value{
      margin-left: auto;
    }
  }
}
#wpm-terms-and-instalments.wpm-modal-form-tab__instalments .wpm-instalments-row .input-placeholder {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  border: 2px solid #D9DBF2;
  margin-right: 9px;
}
#wpm-terms-and-instalments.wpm-modal-form-tab__instalments .wpm-instalments-row input[type=radio] {
  display: none !important;
}
#wpm-terms-and-instalments.wpm-modal-form-tab__instalments .wpm-instalments-row .label, #wpm-terms-and-instalments.wpm-modal-form-tab__instalments .wpm-instalments-row .value {
  font-size: 16px;
}
.wpm-instalments-row-circles{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  & > p{
    margin: 0;
    display: flex;
  }

  .wpm-instalments-row-circle-item{
    border: 2px dashed #D9DBF2;
    border-radius: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    height: 78px;
    width: 78px;
    .wpm-instalments-row-circle-item-days{
      color: var(--wire-black-500, #6266A7);
      text-align: center;
      font-size: 12.191px;
      font-style: normal;
      font-weight: 600;
      line-height: 24.382px; /* 200% */
    }
    .wpm-instalments-row-circle-item-price{
      color: var(--wire-black-500, #6266A7);
      font-size: 12.191px;
      font-style: normal;
      font-weight: 400;
      line-height: 24.382px;
    }
    p{
      display: none;
    }
  }
}
#wpm-terms-and-instalments.wpm-modal-form-tab__instalments .wpm-instalments-row.active {
  border-color: #00023c;
}
#wpm-terms-and-instalments.wpm-modal-form-tab__instalments .wpm-instalments-row.active .input-placeholder {
  background-color: #00023c;
  border-color: #00023c;
  background-image: url(../img/checkmark.png);
  background-position: center center;
  background-repeat: no-repeat;
}
.wpm-instalments-row-circle-item-arrow{
  background: url("../img/arrow-right.svg") center center no-repeat;
  width: 24px;
  height: 24px;
}
.wpm-modal-form-tab__instalments{
  margin-top: 15px;
}
.select_payment_term{
  .wpm-modal-form-tab__title{
    color: var(--wire-black-900, #000339);
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 160% */
  }
  .wpm-modal-form-tab__dsc{
    margin: 30px 0;
    color: var(--wire-black-900, #000339);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }
  .wpm-terms-row.total{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    .label{
      color: var(--wire-black-900, #000339);
      font-size: 20px;
      font-style: normal;
      font-weight: 700;
      line-height: 32px; /* 160% */
    }
    .value{
      color: var(--wire-black-900, #000339);
      font-size: 20px;
      font-style: normal;
      font-weight: 700;
      line-height: 32px; /* 160% */
    }
    p{
      display: none;

    }
  }
}
body #wpm-modal-form-wrapper #wpm-modal-form.modal-form.modal-form_show .select_payment_term .wpm-modal-form-tab__title{
  text-align: center;
}