.login-body {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(90, 156, 232, 0.18), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(51, 109, 184, 0.16), transparent 24%),
    linear-gradient(145deg, #091221 0%, #0d1a31 42%, #102141 100%);
}

.login-body::before,
.login-body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.login-body::before {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 144, 217, 0.18) 0%, rgba(74, 144, 217, 0.02) 62%, transparent 74%);
}

.login-body::after {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 103, 173, 0.16) 0%, rgba(52, 103, 173, 0.02) 62%, transparent 74%);
}

.login-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 140px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 32px 28px 28px;
  border-radius: 16px;
  border: 1px solid rgba(92, 139, 199, 0.26);
  background: linear-gradient(180deg, rgba(15, 31, 60, 0.94) 0%, rgba(18, 37, 70, 0.98) 100%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.login-title {
  margin-bottom: 4px;
  color: #f4f8ff;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
}

.login-sub {
  color: #88a0c5;
  font-size: 0.85rem;
  line-height: 1.55;
  text-align: center;
  margin-bottom: 22px;
}

#form-login {
  display: flex;
  flex-direction: column;
}

.login-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.login-field {
  margin-bottom: 15px;
}

.login-field label {
  display: block;
  margin-bottom: 6px;
  color: #91aacd;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.login-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #2b4671;
  border-radius: 11px;
  background: rgba(9, 19, 38, 0.62);
  color: #eef4ff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

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

.login-field input:focus {
  border-color: #5ca0ee;
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.18);
  background: rgba(10, 21, 42, 0.82);
}

.input-eye {
  position: relative;
}

.input-eye input {
  padding-right: 88px;
}

.eye-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #36527e;
  border-radius: 999px;
  background: rgba(31, 60, 108, 0.5);
  color: #a5c4ed;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.eye-btn:hover {
  border-color: #5ca0ee;
  background: rgba(36, 73, 128, 0.64);
  color: #eef6ff;
}

.eye-label {
  display: inline-block;
}

.btn-login {
  width: 100%;
  height: 48px;
  margin-top: 6px;
  border: 1px solid #5b96d9;
  border-radius: 12px;
  background: linear-gradient(180deg, #4f91d7 0%, #3f79bf 100%);
  color: #f7fbff;
  font-size: 0.98rem;
  font-weight: 800;
  font-family: inherit;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(52, 102, 171, 0.34);
  filter: brightness(1.04);
}

.btn-login:active {
  transform: translateY(0);
}

.btn-login:disabled {
  cursor: default;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.login-msg {
  margin-bottom: 15px;
  padding: 11px 13px;
  border-radius: 11px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.login-msg.erro {
  border: 1px solid rgba(224, 82, 82, 0.34);
  background: rgba(95, 26, 35, 0.34);
  color: #ffc6c9;
}

.login-msg.ok {
  border: 1px solid rgba(74, 144, 217, 0.32);
  background: rgba(21, 55, 102, 0.34);
  color: #bedcff;
}

.login-footer {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-credit {
  color: #7993b8;
  font-size: 0.79rem;
  font-style: normal;
  letter-spacing: 0.01em;
}

.login-credit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.82;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.login-credit-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.login-credit-image {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  border: 1px solid rgba(94, 137, 195, 0.28);
}

@media (max-width: 640px) {
  .login-shell {
    padding: 24px 16px 132px;
  }

  .login-card {
    padding: 26px 20px 22px;
    border-radius: 18px;
  }

  .login-title {
    font-size: 1.28rem;
  }

  .login-footer {
    right: 16px;
    left: 16px;
    justify-content: flex-end;
  }

  .login-credit {
    display: none;
  }
}
