.login-body {
  background:
    radial-gradient(circle at 22% 18%, rgba(43, 127, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #050b14 0%, #0a1424 100%) !important;
  color: #f8fbff;
  min-height: 100vh;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.login-panel.login-panel-wide {
  background:
    radial-gradient(circle at 16% 18%, rgba(41, 122, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(18, 32, 55, 0.96), rgba(9, 18, 34, 0.96)) !important;
  border: 1px solid rgba(76, 151, 255, 0.88) !important;
  border-radius: 32px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44), 0 0 42px rgba(25, 112, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  max-width: 1160px;
  min-height: 540px;
  overflow: hidden;
  padding: 64px 68px;
  position: relative;
  width: min(1160px, 100%);
}

.login-panel-wide::before {
  background:
    radial-gradient(circle at 10% 96%, rgba(22, 119, 255, 0.38), transparent 24%),
    linear-gradient(130deg, transparent 35%, rgba(59, 130, 246, 0.12) 60%, transparent 72%);
  border-radius: inherit;
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0.86;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.login-hero,
.login-form-card {
  position: relative;
  z-index: 1;
}

.login-hero {
  border-right: 1px solid rgba(181, 205, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 52px;
}

.login-panel-wide .login-brand {
  align-items: center;
  border-bottom: 0 !important;
  color: #f8fbff;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.login-panel-wide .login-brand .mark {
  background:
    radial-gradient(circle at 34% 30%, rgba(113, 197, 255, 0.52), transparent 22%),
    radial-gradient(circle at 66% 34%, rgba(37, 99, 235, 0.4), transparent 32%),
    linear-gradient(145deg, #07306d, #061a44 70%) !important;
  border-radius: 24px;
  box-shadow: 0 0 28px rgba(55, 132, 255, 0.75), inset 0 0 18px rgba(46, 144, 250, 0.34);
  height: 76px;
  width: 76px;
}

.login-panel-wide .login-brand .mark svg {
  height: 58px;
  width: 58px;
}

.login-panel-wide .login-brand strong {
  color: #ffffff;
  display: block;
  font-size: 56px;
  letter-spacing: 0;
  line-height: 0.96;
}

.login-panel-wide .login-brand small {
  color: #b6c7df;
  display: block;
  font-size: 22px;
  font-weight: 600;
  margin-top: 8px;
}

.login-welcome-copy h1 {
  color: #f8fbff;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1.12;
  margin: 0 0 22px;
}

.login-welcome-copy h1 span {
  color: #4291ff;
}

.login-welcome-copy p,
.login-form-card > p {
  color: #b8c8dd;
  font-size: 21px;
  line-height: 1.55;
}

.login-welcome-copy p {
  max-width: 410px;
}

.login-form-card {
  align-self: center;
}

.login-form-card h2 {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.1;
  margin: 0 0 14px;
}

.login-form-card > p {
  margin-bottom: 56px;
}

.login-form {
  display: grid;
  gap: 18px;
  max-width: none;
}

.login-form-card .login-form > label:not(.login-remember) {
  color: #f3f8ff;
  font-size: 20px;
  font-weight: 800;
}

.login-field-shell,
.login-password-shell {
  align-items: center;
  background: rgba(7, 16, 31, 0.9);
  border: 2px solid #2f86ff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(111, 178, 255, 0.18), 0 0 32px rgba(47, 134, 255, 0.16);
  min-height: 72px;
}

.login-field-shell {
  display: flex;
  padding: 0 18px;
}

.login-password-shell {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  padding: 0 16px 0 20px;
}

.login-field-icon {
  border: 2px solid #c7d7ec;
  border-radius: 4px;
  display: block;
  height: 19px;
  position: relative;
  width: 18px;
}

.login-field-icon::before {
  border: 2px solid #c7d7ec;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  content: "";
  height: 11px;
  left: 2px;
  position: absolute;
  top: -11px;
  width: 10px;
}

.login-field-icon::after {
  background: #c7d7ec;
  border-radius: 99px;
  content: "";
  height: 5px;
  left: 5px;
  position: absolute;
  top: 5px;
  width: 5px;
}

.login-panel .login-password-shell input[type="password"],
.login-panel .login-password-shell input[type="text"],
.login-panel .login-field-shell input[type="text"] {
  -webkit-text-fill-color: #f8fbff;
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #f8fbff !important;
  font-size: 22px;
  font-weight: 800;
  height: 68px;
  min-width: 0;
  outline: none;
  padding: 0 14px;
}

.login-panel .login-password-shell input::placeholder {
  -webkit-text-fill-color: #91a3bd;
  color: #91a3bd !important;
  font-weight: 600;
}

.login-panel .login-field-shell input::placeholder {
  -webkit-text-fill-color: #91a3bd;
  color: #91a3bd !important;
  font-weight: 600;
}

.login-field-shell:focus-within,
.login-password-shell:focus-within {
  border-color: #73b4ff;
  box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.24), 0 0 38px rgba(47, 134, 255, 0.22);
}

.login-password-toggle {
  background: transparent !important;
  border: 1px solid rgba(181, 205, 255, 0.28) !important;
  border-radius: 9px;
  box-shadow: none !important;
  color: #dbeafe !important;
  min-width: 64px;
  padding: 10px 12px;
}

.login-password-toggle:hover {
  background: rgba(96, 165, 250, 0.14) !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.login-remember {
  align-items: center;
  color: #f8fbff !important;
  display: flex !important;
  flex-direction: row;
  font-size: 18px;
  gap: 12px;
}

.login-remember input {
  accent-color: #1769ff;
  height: 20px;
  width: 20px;
}

.login-panel .login-submit-button {
  background: linear-gradient(180deg, #2585ff 0%, #0757e8 100%) !important;
  border: 1px solid rgba(147, 197, 253, 0.45);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(15, 98, 255, 0.34);
  color: #ffffff;
  font-size: 22px;
  min-height: 76px;
  width: 100%;
}

.login-panel .login-submit-button span {
  font-size: 28px;
  margin-left: auto;
}

.error-text {
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.36);
  border-radius: 8px;
  color: #fecdd3;
  padding: 10px 12px;
}

@media (max-width: 900px) {
  .login-panel.login-panel-wide {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    padding: 34px;
  }

  .login-hero {
    border-bottom: 1px solid rgba(181, 205, 255, 0.18);
    border-right: 0;
    gap: 34px;
    padding: 0 0 30px;
  }

  .login-form-card > p {
    margin-bottom: 28px;
  }
}
