.login-page {
  min-height: 100vh;
  display: block;
  background: #f4f9ff;
  color: #172033;
}

.login-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px 76px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fbff 0%, #eef7ff 48%, #f7fbff 100%);
}

.login-shell::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(rgba(86, 153, 216, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(86, 153, 216, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 88%);
}

.login-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.login-glow-left {
  width: 420px;
  height: 420px;
  left: -190px;
  top: -170px;
  background: rgba(174, 220, 255, .45);
}

.login-glow-right {
  width: 460px;
  height: 460px;
  right: -210px;
  bottom: -220px;
  background: rgba(163, 214, 255, .38);
}

.login-card {
  width: min(440px, 100%);
  padding: 38px 40px 34px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(180, 213, 241, .72);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(53, 104, 149, .13), 0 4px 16px rgba(53, 104, 149, .06);
  backdrop-filter: blur(12px);
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}

.login-brand .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #45a9ef, #347fd1);
  box-shadow: 0 8px 20px rgba(57, 143, 211, .25);
}

.login-brand strong,
.login-brand small {
  display: block;
}

.login-brand strong {
  font-size: 15px;
  color: #172033;
}

.login-brand small {
  margin-top: 3px;
  color: #7c8da1;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.login-heading {
  margin-bottom: 28px;
  text-align: center;
}

.login-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf7ff;
  color: #3986c5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .13em;
}

.login-heading h1 {
  margin: 15px 0 8px;
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.login-heading p {
  margin: 0;
  color: #718096;
  font-size: 12px;
  line-height: 1.6;
}

.login-field {
  margin-bottom: 17px;
  color: #344256;
  font-size: 11px;
  font-weight: 700;
}

.login-field > span {
  display: block;
  margin-bottom: 8px;
}

.login-field input {
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border-color: #dbe7f1;
  border-radius: 10px;
  background: #fbfdff;
  font-size: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.login-field input::placeholder {
  color: #a2afbd;
}

.login-field input:focus {
  border-color: #59a9e4;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(73, 164, 226, .12);
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 22px;
}

.login-options .check {
  margin: 0;
  color: #5f6d7e;
  font-size: 11px;
  font-weight: 500;
}

.login-options .check input {
  accent-color: #3c91d3;
}

.secure-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #5f9bc8;
  font-size: 10px;
  font-weight: 700;
}

.secure-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52b894;
  box-shadow: 0 0 0 3px rgba(82, 184, 148, .12);
}

.login-submit {
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4aa8e8, #327fc8);
  border-color: #3b91d3;
  box-shadow: 0 10px 24px rgba(54, 135, 202, .22);
  font-size: 12px;
  transition: transform .2s, box-shadow .2s;
}

.login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(54, 135, 202, .28);
}

.login-submit span {
  font-size: 17px;
  line-height: 1;
}

.login-security {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
  padding: 14px;
  border: 1px solid #e3f0fa;
  border-radius: 11px;
  background: #f7fbff;
}

.security-icon {
  flex: 0 0 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e1f4ec;
  color: #258564;
  font-size: 11px;
  font-weight: 900;
}

.login-security p {
  margin: 0;
}

.login-security strong,
.login-security small {
  display: block;
}

.login-security strong {
  color: #536274;
  font-size: 10px;
}

.login-security small {
  margin-top: 4px;
  color: #8795a5;
  font-size: 9px;
  line-height: 1.55;
}

.login-footer {
  position: absolute;
  bottom: 25px;
  left: 50%;
  width: 100%;
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
  color: #8ba0b3;
  font-size: 10px;
  letter-spacing: .04em;
}

@media (max-width: 520px) {
  .login-shell {
    padding: 24px 14px 60px;
  }

  .login-card {
    padding: 30px 23px 26px;
    border-radius: 18px;
  }

  .login-brand {
    margin-bottom: 26px;
  }

  .login-heading h1 {
    font-size: 24px;
  }

  .login-footer {
    bottom: 18px;
  }
}
