@keyframes slideFadeInLTR {
  0% {
    opacity: 0;
    left: -1000px;
  }
  15% {
    opacity: 1;
  }
  100% {
    left: 0;
  }
}
@keyframes slideFadeInRTL {
  0% {
    opacity: 0;
    right: -1000px;
  }
  15% {
    opacity: 1;
  }
  100% {
    right: 0;
  }
}
@keyframes slideFadeInTTB {
  0% {
    opacity: 0;
    transform: translate(-50%, -70%);
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%);
  }
}
.login-modal {
  display: none;
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  overflow: auto;
  transition: opacity 0.2s;
  z-index: 1001;
  /* BACKGROUND */
}
.login-modal::after {
  content: "";
  position: absolute;
  background-color: #ffffff;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  clip-path: polygon(0 0, 0 100%, 65% 100%, 34% 49%, 65% 0);
  z-index: 0;
  animation-name: slideFadeInLTR;
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0, 0.65, 0, 0.99);
}
.login-modal::before {
  content: "";
  position: absolute;
  background-image: linear-gradient(20deg, #ef5327, #ea7829);
  background-color: #ef5327;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  clip-path: polygon(100% 0, 100% 100%, 65% 100%, 34% 49%, 65% 0);
  z-index: 0;
  animation-name: slideFadeInRTL;
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0, 0.65, 0, 0.99);
}
.login-modal--show {
  display: block;
}
.login-modal-inner-container {
  position: absolute;
  padding: 60px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 570px;
  max-height: calc(100vh - 15px);
  border-radius: 4px;
  box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.1);
  z-index: 10;
  overflow: auto;
  background-color: #ffffff;
  animation-name: slideFadeInTTB;
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0, 0.65, 0, 0.99);
}
.login-modal-inner-container .ic_close {
  color: #7a7c93;
}
.login-modal-form-title {
  font-size: 1.5rem;
  margin-top: 0;
}

.close-modal-button {
  position: absolute;
  right: 30px;
  top: 22px;
  border: none;
  padding: 0;
  background: none;
  line-height: 1;
  font-size: 0.9375rem;
  cursor: pointer;
  outline: inherit;
}
.close-modal-button .icon-ic_close {
  font-size: 1.25rem;
}

.user-login-form {
  padding-bottom: 31px;
  border-bottom: 1px solid rgba(122, 124, 147, 0.4);
}
.user-login-form .forgot-password-link {
  font-size: 0.8125rem;
  color: #0400ff;
  text-decoration: underline;
}

.sign-up-question {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 0.875rem;
}
.sign-up-question a {
  color: #ef5327;
  font-weight: bold;
}

/* SMALL SCREEN */
.login-modal {
  overflow: hidden;
}
@media (max-width: 767px) {
  .login-modal::after, .login-modal::before {
    display: none;
  }
  .login-modal .login-modal-inner-container {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 60px 15px;
    max-width: inherit;
  }
  .login-modal .close-modal-button {
    right: 40px;
    top: 80px;
  }
  .login-modal .js-form-submit {
    width: 100%;
  }
}