.login-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, .28), rgba(17, 24, 39, .08)),
    url("../images/login-china-landscape.png") center / cover no-repeat;
}

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.login-main {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.login-window {
  width: min(100%, 28rem);
  margin-left: clamp(0rem, 8vw, 8rem);
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, .45);
  border-radius: .75rem;
  background-color: rgba(255, 255, 255, .94);
  box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, .24);
  backdrop-filter: blur(10px);
}

.login-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.login-toolbar {
  flex: 0 0 auto;
}

.login-language-icon {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: .875rem;
  min-width: 0;
}

.login-brand-mark {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #ffffff;
  border-radius: .625rem;
  background-color: #111827;
}

.login-brand-icon {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.login-brand-name {
  color: #111827;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.login-title {
  margin: .2rem 0 0;
  color: #64748b;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
}

.login-form .form-label {
  color: #334155;
  font-weight: 500;
}

.login-form .form-control {
  min-height: 2.75rem;
  border-color: #cbd5e1;
}

.login-form .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .16);
}

@media (max-width: 575.98px) {
  .login-shell {
    align-items: flex-start;
    padding: 1rem;
  }

  .login-window {
    margin-top: max(1rem, calc(33.333dvh - 11rem));
    margin-left: 0;
    padding: 1.5rem;
  }
}
