.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 151, 167, 0.12), transparent 31%),
    radial-gradient(circle at 12% 88%, rgba(139, 195, 74, 0.13), transparent 25%),
    linear-gradient(135deg, #fbfffd 0%, #f8fbff 43%, #eef8fa 100%);
  padding: 42px;
}

.login-frame {
  position: relative;
  display: grid;
  width: min(1360px, 100%);
  min-height: min(720px, calc(100vh - 84px));
  grid-template-columns: minmax(420px, 570px) minmax(0, 1fr);
  align-items: center;
  gap: 68px;
}

.login-frame::before {
  position: absolute;
  inset: 6% -1% 6% 54%;
  border: 1px solid rgba(9, 127, 145, 0.08);
  border-radius: 999px 0 0 999px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(226, 244, 246, 0.56)),
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.86), transparent 54%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  content: "";
}

.login-panel {
  position: relative;
  z-index: 1;
  width: min(570px, 100%);
  min-height: 620px;
  overflow: hidden;
  padding: 58px 58px 48px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 32px 80px rgba(16, 45, 71, 0.14);
  backdrop-filter: blur(22px);
}

.login-accent {
  position: absolute;
  left: -220px;
  bottom: -82px;
  z-index: 0;
  width: 180px;
  height: 430px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 64% 92%, #a9d719 0 22%, transparent 23%),
    linear-gradient(180deg, #06a8b6, #007d97);
  opacity: 0.92;
  pointer-events: none;
  transform: rotate(18deg);
}

.login-panel::after {
  position: absolute;
  top: 0;
  right: 34px;
  left: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 143, 161, 0.32), transparent);
  content: "";
}

.login-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
}

.login-logo {
  width: 76px;
  height: 76px;
  border-radius: 18px;
}

.login-brand strong {
  color: #0b2344;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
}

.login-copy {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}

.login-copy h1 {
  margin: 0 0 8px;
  color: #0b2344;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 0;
}

.login-copy p {
  margin: 0;
  color: #5f6b7d;
  font-size: 15px;
  font-weight: 650;
}

.login-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 17px;
}

.login-form label {
  display: grid;
  gap: 9px;
  color: #0b2344;
  font-size: 13px;
  font-weight: 800;
}

.login-input-shell {
  display: grid;
  min-height: 50px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(199, 210, 224, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 20px rgba(15, 23, 42, 0.04);
}

.login-input-shell:focus-within {
  border-color: rgba(0, 132, 155, 0.66);
  box-shadow: 0 0 0 3px rgba(0, 132, 155, 0.1), 0 12px 24px rgba(0, 116, 134, 0.09);
}

.login-input-shell b {
  display: grid;
  place-items: center;
  color: #66758b;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.login-field-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.login-input-shell input {
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #0b2344;
  padding: 0 12px 0 0;
  font-weight: 750;
}

.login-input-shell input:focus {
  box-shadow: none;
}

.login-password-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-right: 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #66758b;
}

.login-password-toggle:hover {
  background: rgba(0, 132, 155, 0.08);
  color: #007f94;
}

.login-password-toggle .menu-svg-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #007f94;
  font-size: 13px;
  font-weight: 750;
}

.login-options label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0b2344;
}

.login-options input {
  width: 18px;
  min-height: 18px;
  accent-color: #00869b;
}

.login-submit {
  display: grid;
  min-height: 56px;
  grid-template-columns: 1fr 28px;
  align-items: center;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #0097a8, #00798a 58%, #006c7b);
  box-shadow: 0 18px 32px rgba(0, 116, 134, 0.24);
  color: #ffffff;
  padding: 0 18px 0 48px;
  font-size: 16px;
  font-weight: 900;
  transition: transform 120ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.login-submit:hover {
  box-shadow: 0 22px 38px rgba(0, 116, 134, 0.28);
  filter: saturate(1.06);
  transform: translateY(-1px);
}

.login-submit:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.login-submit b {
  font-size: 25px;
  line-height: 1;
}

.login-visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 560px;
  place-items: center;
}

.login-visual-orbit {
  position: relative;
  display: grid;
  width: min(580px, 100%);
  place-items: center;
}

.login-visual-orbit::before {
  position: absolute;
  inset: 13% 8% 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 126, 148, 0.12), transparent 64%);
  filter: blur(3px);
  content: "";
}

.login-visual-orbit img {
  display: block;
  width: min(92%, 540px);
  max-height: min(680px, calc(100vh - 120px));
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(20, 60, 85, 0.14));
}

@media (max-width: 880px) {
  .login-shell {
    padding: 18px;
  }

  .login-frame {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .login-frame::before,
  .login-visual {
    display: none;
  }

  .login-panel {
    min-height: auto;
    padding: 34px 24px 28px;
  }

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

  .login-brand .app-logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .login-brand strong {
    font-size: 34px;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
