.block-65 {
  --block-background: var(--gradient-primary);
  --block-text-color: var(--text-primary);
  background: var(--block-background);
  color: var(--block-text-color);
}

.block-65__logo-container {
  text-align: center;
  margin-bottom: 4rem;
}

.block-65__logo {
  height: 60px;
}

.auth-form {
  border-radius: 8px;
  padding: 2.5rem 2rem;
  margin: 0 -0.5rem;
  background: white;
  box-shadow: 0 10px 30px 0px rgba(0, 0, 0, 0.09);
}

@media (min-width: 500px) {
  .auth-form {
    padding: 2.5rem 1.4rem;
  }
}

@media (min-width: 768px) {
  .auth-form {
    padding: 2.5rem;
  }
}

.auth-form__title {
  text-align: center;
  color: var(--block-text-color);
  font-size: 1.13rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.auth-form__input {
  width: 100%;
  padding: 0.9rem 1.4rem;
  font-size: 0.87rem;
  border-radius: 5px;
  border: 1px solid #e4e5e7;
  margin-bottom: 0.87rem;
}

.auth-form__input:last-child {
  margin-bottom: 0;
}

.auth-form__input:focus {
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.05);
  outline: none;
  box-shadow: none;
}

.auth-form__options button {
  width: 100%;
}

.border-bottom {
  border: 0;
  border-bottom: 1px solid #dee2e6;
}

.auth-form__p {
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

.btn-form,
.btn-form:hover,
.btn-form:focus {
  background: var(--primary);
  color: var(--primary-invert);
  border-radius: 5px;
  font-size: 0.87rem;
  padding: 0.8rem 1.6rem;
  transition: 0.2s all;
}

.btn-social {
  border-radius: 5px;
  font-size: 0.87rem;
  padding: 0.8rem 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
}

.btn-facebook,
.btn-facebook:focus,
.btn-facebook:hover {
  background: #0080ff;
  border: 1px solid #0080ff;
  color: #fff;
  margin-bottom: 0.87rem;
}

.btn-google,
.btn-google:focus,
.btn-google:hover {
  background: #fff;
  border: 1px solid #e4e5e7;
  color: #7a7d85;
  margin-bottom: 1rem;
}

.form-separator {
  height: 12px;
  margin: 20px 0 32px;
  text-align: center;
  border-bottom: 1px solid #e4e5e7;
}

.form-separator span {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-transform: uppercase;
  padding: 0 8px;
  background-color: #fff;
  color: #62646a;
}

.signin__link,
.signin__link:focus,
.signin__link:hover {
  text-decoration: none;
  color: var(--primary);
}

.btn--loading {
  opacity: 1;
  cursor: progress;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn--loading::before,
.btn--loading::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.btn--loading::before {
  background: var(--primary);
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn--loading::after {
  margin: auto;
  border: 2px solid transparent;
  border-radius: 50%;
  border-top: 2px solid var(--primary-invert);
  width: 1.5rem;
  height: 1.5rem;
  -webkit-animation: spin .5s linear infinite; /* Safari */
  animation: spin .5s linear infinite;
  z-index: 2;
}