/* Login — quiet elegant */
body.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f5f3;
  padding: 1.5rem;
  position: relative;
}
body.login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(27, 92, 80, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(168, 137, 74, 0.08), transparent 45%);
  pointer-events: none;
}

.login-wrap {
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 1;
  animation: login-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes login-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(18, 63, 55, 0.03), 0 20px 50px rgba(18, 63, 55, 0.07);
  padding: 2.35rem 2rem 1.75rem;
  border: none;
}

.login-brand { text-align: center; margin-bottom: 1.85rem; }
.login-brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}
.login-logo { width: auto; object-fit: contain; display: block; }
.login-logo-bank { height: 48px; max-width: 48px; }
.login-logo-sdata { height: 34px; max-width: none; }
.login-logo-divider {
  width: 1px;
  height: 32px;
  background: rgba(26, 36, 33, 0.1);
}

.login-brand h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #123f37;
  line-height: 1.4;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}
.login-brand p:last-of-type {
  font-size: 0.84rem;
  color: #6b7873;
  font-weight: 500;
}

.login-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8ebe9;
  color: #a93226;
  border: none;
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  font-size: 0.84rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.login-form { display: flex; flex-direction: column; gap: 1.1rem; }
.login-field span {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #6b7873;
  margin-bottom: 0.4rem;
}
.login-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: none;
  border-radius: 14px;
  padding: 0.72rem 1rem;
  background: #f4f5f3;
  transition: box-shadow 0.2s, background 0.2s;
}
.login-input-wrap:focus-within {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(27, 92, 80, 0.2);
}
.login-input-wrap i { color: #6b7873; font-size: 0.85rem; width: 18px; text-align: center; }
.login-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a2421;
  outline: none;
}

.login-submit {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 999px;
  background: #1b5c50;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.login-submit:hover {
  transform: translateY(-2px);
  background: #123f37;
  box-shadow: 0 12px 28px rgba(27, 92, 80, 0.25);
}

.login-foot {
  text-align: center;
  font-size: 0.7rem;
  color: #6b7873;
  margin-top: 1.45rem;
  font-weight: 500;
}
.login-credit {
  text-align: center;
  font-size: 0.58rem;
  color: #6b7873;
  margin-top: 0.4rem;
  opacity: 0.75;
  line-height: 1.5;
}

@media (max-width: 480px) {
  body.login-page { padding: 1rem; }
  .login-card { padding: 1.85rem 1.35rem 1.45rem; border-radius: 20px; }
  .login-brand h1 { font-size: 1.02rem; }
}
