/* Login */

.auth-body {
  background: var(--surface);
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(520px, 1.15fr) minmax(460px, .85fr);
}

.auth-story {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #071221;
}

.auth-story__visual {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.auth-panel {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px clamp(48px, 7vw, 110px);
  background: #fff;
}

.auth-panel__inner {
  width: min(100%, 430px);
  animation: reveal-up .65s .08s cubic-bezier(.2, .8, .2, 1) both;
}

.mobile-brand {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
  color: var(--ink-900);
}

.mobile-brand .brand-mark {
  color: #fff;
  border-color: var(--ink-900);
  background: var(--ink-900);
}

.auth-heading {
  margin-bottom: 40px;
}

.auth-heading h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -.045em;
}

.login-error.el-alert {
  margin: -14px 0 26px;
  padding: 11px 13px;
  border: 1px solid #f2c8ce;
  border-radius: 11px;
  background: #fff6f7;
}

.login-error .el-alert__title {
  color: #a93747;
  font-size: 12px;
  line-height: 1.5;
}

.auth-panel .el-form-item {
  margin-bottom: 24px;
}

.auth-panel .el-form-item__label {
  height: auto;
  padding: 0 0 9px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.auth-panel .el-input__wrapper {
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s;
}

.auth-panel .el-input__wrapper:hover {
  border-color: #aebace;
}

.auth-panel .el-input__wrapper.is-focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, .1);
}

.login-submit.el-button {
  width: 100%;
  height: 52px;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(47, 107, 255, .24);
  font-size: 14px;
  font-weight: 650;
}

@media (max-width: 1024px) {
  .auth-shell {
    grid-template-columns: minmax(420px, .9fr) minmax(420px, 1.1fr);
  }
}

@media (max-width: 860px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-story {
    min-height: 280px;
  }

  .auth-story__visual {
    object-position: center 42%;
  }

  .auth-panel {
    min-height: calc(100vh - 280px);
    padding: 48px 28px 64px;
  }
}

@media (max-width: 620px) {
  .auth-story {
    min-height: 220px;
  }

  .auth-panel {
    min-height: calc(100vh - 220px);
    place-items: start center;
    padding: 40px 22px 54px;
  }

  .auth-heading h2 {
    font-size: 32px;
  }
}
