* {
  box-sizing: border-box;
}

.login-page {
  min-height: 80vh;
  background: #fff;
  font-family: 'Outfit', sans-serif;
  padding: 20px;

  display: -ms-flexbox;
  display: flex;

  -ms-flex-align: center;
  align-items: center;

  -ms-flex-pack: center;
  justify-content: center;
}

.login-card {
  display: -ms-flexbox;
  display: flex;

  width: 860px;
  max-width: 96vw;

  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);

  animation: loginRise .6s cubic-bezier(.22,.68,0,1.05) both;
}

@keyframes loginRise {
  from {
    opacity: 0;
    -ms-transform: translateY(28px) scale(.97);
    transform: translateY(28px) scale(.97);
  }
  to {
    opacity: 1;
    -ms-transform: none;
    transform: none;
  }
}

.login-panel-left {
  -ms-flex: 0 0 42%;
  flex: 0 0 42%;

  position: relative;
  background: #8a001c;

  display: -ms-flexbox;
  display: flex;

  -ms-flex-direction: column;
  flex-direction: column;

  -ms-flex-align: center;
  align-items: center;

  -ms-flex-pack: end;
  justify-content: flex-end;

  padding: 0 0 36px;
  overflow: hidden;
}

.login-panel-left::before,
.login-panel-left::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}

.login-panel-left::before {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -80px;
}

.login-panel-left::after {
  width: 200px;
  height: 200px;
  bottom: -40px;
  right: -60px;
}

.login-circle-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -54%);
  transform: translate(-50%, -54%);

  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}

img {
  width: 250px;
  height: auto;
}

#wrongPassword {
  color: #ff4d4f;
  font-size: 14px;
  margin-top: 6px;
  display: none;
}

.login-brand {
  margin: auto;
}

.login-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
}

.login-skyline svg {
  width: 100%;
  height: 100%;
}

.login-panel-right,
.login-panel-right-password {
  -ms-flex: 1;
  flex: 1;

  background: #fff;

  display: -ms-flexbox;
  display: flex;

  -ms-flex-direction: column;
  flex-direction: column;

  -ms-flex-align: center;
  align-items: center;

  -ms-flex-pack: center;
  justify-content: center;

  padding: 40px 48px;
  position: relative;
  overflow-y: auto;
}

.login-panel-right h1,
.login-panel-right-password h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #b50024;
  margin-bottom: 40px;
  text-align: center;
}

.login-panel-right .login-sub,
.login-panel-right-password .login-sub {
  font-size: 14px;
  color: #747272;
  margin-bottom: 28px;
  text-align: center;
}

.login-panel-right-password {
  justify-self: center;
}

.login-form {
  width: 100%;
  max-width: 300px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  align-self: center;
}

.login-field {
  margin-bottom: 14px;

  display: -ms-flexbox;
  display: flex;

  -ms-flex-direction: column;
  flex-direction: column;
}

.login-field:last-child {
  margin-bottom: 0;
}

.login-field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #444;
}

.login-input-wrap {
  position: relative;
}

.login-input-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: .35;
  pointer-events: none;
}

.login-form input,
textarea {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: #333;
  outline: none;

  transition: border-color .2s, box-shadow .2s;
}

.login-form input:focus,
textarea:focus {
  border-color: #b50024;
  box-shadow: 0 0 0 3px rgba(181,0,36,.08);
}

.login-form input::placeholder {
  color: #ccc;
}

.login-forgot {
  text-align: right;
  font-size: 11px;
  color: #b50024;
  text-decoration: none;
  margin-top: -6px;
}

.login-forgot:hover {
  text-decoration: underline;
}

.login-btn {
  margin-top: 15px;
  padding: 11px;
  background: #b50024;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;

  transition: background .2s, transform .15s;
  box-shadow: 0 4px 16px rgba(181,0,36,.3);
}

.login-btn:hover {
  background: #8a001b;
  -ms-transform: translateY(-1px);
  transform: translateY(-1px);
}

.login-btn:active {
  -ms-transform: none;
  transform: none;
}

.login-divider {
  display: -ms-flexbox;
  display: flex;

  -ms-flex-align: center;
  align-items: center;
}

.login-divider::before,
.login-divider::after {
  content: '';
  -ms-flex: 1;
  flex: 1;
  height: 1px;
  background: #eee;
}

.login-divider span {
  margin: 0 10px;
  font-size: 11px;
  color: #ddd;
}

.login-social-row {
  display: -ms-flexbox;
  display: flex;

  -ms-flex-pack: center;
  justify-content: center;
}

.login-social-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid #eee;
  border-radius: 8px;

  display: -ms-flexbox;
  display: flex;

  -ms-flex-align: center;
  align-items: center;

  -ms-flex-pack: center;
  justify-content: center;

  cursor: pointer;
  background: #fff;

  margin: 0 6px;

  transition: border-color .2s, box-shadow .2s;
}

.login-social-btn:hover {
  border-color: #b50024;
  box-shadow: 0 2px 8px rgba(181,0,36,.12);
}

.login-social-btn svg {
  width: 18px;
  height: 18px;
}

.login-register {
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}

.login-register a {
  color: #b50024;
  text-decoration: none;
  font-weight: 500;
}

.login-register a:hover {
  text-decoration: underline;
}

.fa-eye,
.fa-eye-slash {
  margin-left: 10px;
  cursor: pointer;
}

.alert {
  color: #b50024;
}

.passwordInput,
textarea {
  width: 100%;

  display: -ms-flexbox;
  display: flex;

  -ms-flex-pack: justify;
  justify-content: space-between;

  -ms-flex-align: center;
  align-items: center;
}

textarea {
  height: 80px;
  border: 1px solid #e8e8e8;
}

#forgotPassword {
  text-align: center;
  font-size: 14px;
  color: #000;
  text-decoration: underline;
  margin-top: -6px;
  cursor: pointer;
}

#loginPageBtn {
  text-align: center;
  font-size: 14px;
  color: #000;
  text-decoration: underline;
  margin-top: 20px;
  cursor: pointer;
}

@media (max-width: 580px) {
  .login-panel-left {
    display: none;
  }

  .login-panel-right,
  .login-panel-right-password {
    padding: 40px 28px;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .login-card {
    height: auto;
  }
}