.login-body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: #003f3e;
  background-image: linear-gradient(
    180deg,
    #001412 0%,
    #002424 16%,
    #003f3e 38%,
    #004a49 50%,
    #003f3e 62%,
    #002424 84%,
    #001412 100%
  );
  background-attachment: fixed;
}

.login-shell {
  width: min(420px, 100%);
  position: relative;
  z-index: 10;
}

.login-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(245, 244, 240, 0.35);
  border-radius: 22px;
  box-shadow:
    0 24px 56px rgba(0, 20, 20, 0.45),
    0 0 0 1px rgba(192, 161, 83, 0.18);
  padding: 28px 26px 22px;
  backdrop-filter: blur(8px);
  animation: loginCardIn 0.7s ease-out both;
}

@keyframes loginCardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.login-brand {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 26px;
}

.login-brand img {
  width: min(168px, 62%);
  height: auto;
  object-fit: contain;
  display: block;
}

.login-brand-product {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #003F3E;
  line-height: 1;
  padding-bottom: 0.12em;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-form .field input {
  color: #003F3E;
}

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

.login-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  user-select: none;
}

.login-remember input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #C0A153;
  cursor: pointer;
}

.login-forgot {
  font-size: 0.84rem;
  font-weight: 600;
  color: #C0A153;
  text-decoration: none;
  white-space: nowrap;
}

.login-forgot:hover {
  text-decoration: underline;
  color: #a88b3f;
}

.login-submit {
  width: 100%;
  margin-top: 6px;
  height: 46px;
}

.login-error {
  background: rgba(192, 161, 83, 0.18);
  color: #6e5530;
  border: 1px solid rgba(192, 161, 83, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.86rem;
  margin-bottom: 14px;
}

.login-footer {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(245, 244, 240, 0.72);
}

@media (max-width: 420px) {
  .login-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
