.auth {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.auth__header {
  padding: 5rem 0;
  border-bottom: 1px solid #F2F2F2;
  text-align: center;
}

.auth__btns {
  display: flex;

  > * {
    flex: 1 0 0;
  }

  @include media-breakpoint-down(md) {
    flex-direction: column;

    .btn + .btn {
      margin-left: 0;
      margin-top: 8px;
    }
  }

  &--column {
    flex-direction: column;

    .btn + .btn {
      margin-left: 0;
      margin-top: 8px;
    }
  }
}

.auth__text-or {
  margin: 3rem 0;

  font-size: 1.4rem;
  color: #9E9E9E;
  text-align: center;
}

.auth__actions {
  margin-bottom: 4rem;
  display: flex;
  justify-content: space-between;
}

.auth__hint {
  font-size: 1.4rem;
  font-style: italic;
}

.auth__footer {
  margin-top: 4rem;

  color: #606060;
  text-align: center;
}


.b2b_auth {
  display: flex;
  align-items: stretch;
  flex-grow: 1;

  background: no-repeat right bottom / auto 100%;

  &--signin {
    background-image: url("/shop/images/signin-bg.jpg");
  }

  &--b2b_signin {
    background-image: url("/shop/images/b2b-signin-bg.png");
  }

  &--b2c_signin {
    background-image: url("/shop/images/b2c-signin-bg.jpg");
  }

  @include media-breakpoint-down(lg) {
    background: none;
  }


}



.b2b_auth__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 580px;
  height: 100%;
  padding: 0 1.5rem;

  @include media-breakpoint-down(xl) {
    width: 45%;
  }

  @include media-breakpoint-down(lg) {
    max-width: none;
    width: 100%;
  }
}

.b2b_auth__header {
  padding: 5rem 0;
  border-bottom: 1px solid #F2F2F2;
  text-align: center;

  img {
    height: 120px;
    margin: auto;
  }
}

.b2b_auth__main {
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
  padding: 4rem 0;

  text-align: center;
}

.b2b_auth__title {
  margin-bottom: 3rem;

  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.2;

  color: $dark;
}

.b2b_auth__hint {
  margin-bottom: 3rem;
  text-align: right;
}

.b2b_auth__text-or {
  margin: 2.8rem 0;
  color: #787878;
}

.b2b_auth__btn-wrapper {
  padding: 0.5rem 0 3.5rem 0;
}

.b2b_auth__footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.2;
}


.btn_link {
    display: inline-block;
    vertical-align: middle;
    padding: 1.6rem;
    margin-bottom: 0.5rem;
    background-color: #0056d6;
    border: 1px solid transparent;
    box-shadow: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-weight: normal;
    font-size: 1.4rem;
    color: white;
    text-decoration: none;
    text-align: center;
    transition: color 0.2s linear, background-color 0.2s linear;

    .title {
        font-size: 2.6rem;
        font-weight: 500;
        margin: 0;
        color: white;
    }

}
