/* Common */

.auth-login-form .auth-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.container__main .auth-login-form .auth-buttons {
  flex-direction: row;
}

.auth-login-form .auth-buttons .social_button {
  width: 100%;
  display: flex;
  height: 44px;
  padding: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;

  border-radius: 12px;
  border: 1px solid #e9eef2;
  background: #fff !important;
  margin: 0;
}

.auth-login-form .auth-buttons .social_button .social_button--inner {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.auth-login-form .auth-buttons .social_button .social_button--inner svg {
  position: absolute;
}

.auth-login-form .auth-buttons .social_button .social_button--inner span {
  flex-grow: 1;
  color: #246e9b;
  font-size: 14px;
  font-weight: 500;
}

.auth-login-form .login-title {
  padding: 24px 0;
}

.auth-login-form .login-title .email-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e9eef2;
  height: 1px;
}

.auth-login-form .login-title .email-title {
  position: absolute;
  display: flex;
  padding: 0px 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;

  bottom: -8px;
  background: #fff;
  color: #394f60;
  font-size: 14px;
  font-weight: 400;
}

.container__main .auth-login-form input,
.auth-popup .auth-login-form input {
  height: 44px;
  padding: 12px;
  border-radius: 12px;
}

.auth-login-form .ls-button--primary {
  width: 100%;
  margin: 24px 0;
  height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}

.container__main .privacy-conditions {
  font-size: 10px;
  text-align: center;
}

/* Hide the google recaptcha page */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* Modal */
.auth-popup .global__popup--window {
  padding: 40px;
}

.auth-popup .auth-popup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.auth-popup .logo-popup {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: #fff;
  /* Shadows/400 */
  box-shadow: 0px 6px 12px -6px rgba(57, 79, 96, 0.12),
    0px 8px 24px -4px rgba(24, 39, 75, 0.08);
}

.auth-popup .global__popup--button {
  display: block;
  position: absolute;
  right: 24px;
  top: 24px;
}

.auth-popup .global__button--close .icon-close {
  fill: #9fb5c6;
}

.auth-popup .global__popup--caption {
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 0;
}

.auth-popup .auth-login-form .last-field,
.auth-popup .auth-login-form {
  margin-bottom: 0;
}

.auth-popup .reset-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.container__main .auth-login-form .links-bar,
.auth-popup .links-bar {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.container__main .auth-login-form .links-bar,
.auth-popup .js-auth-reset-form .links-bar {
  gap: 15px;
}

@media screen and (max-width: 768px) {
  .popup .global__popup--caption {
    position: initial !important;
    width: unset !important;
    padding: 0 !important;
  }
  .auth-popup .global__popup--content {
    padding-top: 0;
  }
  .container__main .auth-login-form .auth-buttons {
    flex-direction: column;
  }
}

/* Night theme */

.theme-night .auth-popup .logo-popup {
  background: #0a0d10;
  /* Shadows/400 */
  box-shadow: 0px 6px 12px -6px rgba(57, 79, 96, 0.12),
    0px 8px 24px -4px rgba(24, 39, 75, 0.08);
}

.theme-night .auth-login-form .auth-buttons .social_button {
  border: 1px solid #131a20;
  background: #263440 !important;
}

.theme-night
  .auth-login-form
  .auth-buttons
  .social_button
  .social_button--inner
  span {
  color: #53b4ee;
}

.theme-night .auth-login-form .email-wrapper {
  background: #394f60;
}

.theme-night .auth-login-form .email-title {
  background: #131a20;
}

.theme-night .auth-login-form input {
  border: 1px solid #0a0d10;
  background: #0a0d10;
}

.theme-night .auth-popup .ls-button--primary,
.theme-night .auth-popup .ls-button--primary:hover {
  background: #246e9b !important;
}
