html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background:
    linear-gradient(rgba(10, 14, 9, 0.72), rgba(10, 14, 9, 0.72)),
    url("/images/backgrounds/forest_bg.png") center center / cover no-repeat;
  color: #f4e4bc;
}

* {
  box-sizing: border-box;
}

.auth-shell {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: min(100%, 360px);
  padding: 24px;
  border-radius: 16px;
  background: rgba(35, 26, 18, 0.82);
  border: 1px solid rgba(139, 107, 63, 0.45);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    inset 0 0 16px rgba(0, 0, 0, 0.22);
}

.auth-card h1 {
  margin: 0 0 18px;
  font-size: 1.6rem;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.auth-card label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.88rem;
  font-weight: 700;
}

.auth-card input {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 107, 63, 0.5);
  border-radius: 12px;
  background: rgba(15, 9, 6, 0.92);
  color: #f4e4bc;
  font: inherit;
}

.auth-card input:focus {
  outline: none;
  border-color: #c9a362;
  box-shadow: 0 0 0 2px rgba(185, 145, 79, 0.18);
}

.auth-buttons {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.auth-buttons button {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: #b18643;
  color: #120a06;
}

.btn-secondary {
  background: #4a3222;
  color: #f4e4bc;
}

.auth-message {
  min-height: 1.25em;
  margin-top: 14px;
  font-size: 0.85rem;
  text-align: center;
  color: #f2d18a;
}

.auth-message.error {
  color: #ffb6a6;
}
