.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .95fr);
  padding: 44px 18px 28px;
  background:
    radial-gradient(circle at 12% 12%, rgba(37, 99, 235, .12), transparent 34%),
    linear-gradient(135deg, #eef7ff 0%, #f8fafc 48%, #eef5fb 100%) !important;
  color: #0f172a;
}

.login-brand-panel,
.login-form-panel {
  align-self: center;
}

.login-brand-panel {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  padding: 56px;
  color: #fff;
  background: linear-gradient(145deg, #1677c9 0%, #07518f 100%);
  border-radius: 8px 0 0 8px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .18);
}

.login-form-panel {
  min-height: 560px;
  display: flex;
  align-items: center;
  margin-right: auto;
  padding: 48px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .18);
}

.login-card {
  width: 100%;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.login-brand img {
  display: none;
}

.login-brand:before {
  content: "W";
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: #fff;
  color: #1268b3;
  font-size: 26px;
  font-weight: 900;
}

.login-brand {
  display: block;
}

.login-brand strong {
  display: block;
  margin-bottom: 18px;
  letter-spacing: 4px;
  font-size: 13px;
  font-weight: 900;
}

.login-brand span {
  display: none;
}

.login-brand-panel .kicker,
.login-eyebrow {
  color: #2563eb;
  letter-spacing: 0;
}

.login-brand-panel .kicker {
  color: rgba(255, 255, 255, .78);
}

.login-brand-panel h1 {
  max-width: 440px;
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.login-brand-panel p,
.login-brand-panel small {
  max-width: 390px;
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  line-height: 1.55;
}

.login-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.login-card p {
  line-height: 1.45;
}

.microsoft-login,
.emergency-toggle,
.login-card button,
.login-card .button {
  border-radius: 4px !important;
}

.microsoft-login {
  min-height: 42px;
  border: 1px solid #9ca3af !important;
  background: #fff !important;
  color: #242424 !important;
}

.button-danger,
.login-card .button-danger {
  background: #1677c9 !important;
  color: #fff !important;
  border-color: #1677c9 !important;
}

.button-danger:hover,
.login-card .button-danger:hover {
  background: #075ea6 !important;
}

.emergency-form input {
  border-radius: 4px !important;
}

.login-page > footer,
.login-card footer {
  color: #6b7280;
}

@media (max-width: 860px) {
  .login-page {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .login-brand-panel {
    margin: 0 auto;
    padding: 34px;
    border-radius: 8px 8px 0 0;
  }

  .login-form-panel {
    margin: 0 auto;
    padding: 30px;
    border-radius: 0 0 8px 8px;
  }
}
