body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--gray);
}

.login-card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.login-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 6px;
}

.login-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.form-field input {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s;
}

.form-field input:focus {
  border-color: var(--blue);
}

.submit-btn {
  width: 100%;
  background: var(--green);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-top: 4px;
}

.submit-btn:hover {
  background: #155d38;
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.back-link:hover {
  color: var(--navy);
}

.result-banner {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
}

.result-banner.show {
  display: block;
}

.result-banner.success {
  background: var(--green-lt);
  color: var(--green);
  border: 1px solid #a5d6a7;
}

.result-banner.error {
  background: #fff0ef;
  color: var(--red);
  border: 1px solid #f5c6c3;
}

@media (max-width: 480px) {
  .login-card {
    padding: 28px 20px;
  }
}
