* { box-sizing: border-box; }
body {
  font-family: -apple-system, system-ui, sans-serif;
  background: linear-gradient(180deg, #fae7be 0%, #e8c074 100%);
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: #2a3635;
}
.card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(29,110,110,0.18);
  padding: 2rem 1.6rem;
  width: 100%;
  max-width: 380px;
}
h1 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  text-align: center;
  color: #1d6e6e;
}
.subtitle {
  text-align: center;
  color: #6b7572;
  margin-bottom: 1.6rem;
  font-size: 0.95rem;
}
label {
  display: block;
  font-size: 0.85rem;
  color: #5a635f;
  margin-bottom: 0.3rem;
  margin-top: 0.9rem;
}
input[type=email],
input[type=password],
input[type=text] {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #e6dfd1;
  border-radius: 8px;
  font-size: 1rem;
  -webkit-appearance: none;
}
input:focus { outline: none; border-color: #1d6e6e; box-shadow: 0 0 0 3px rgba(29,110,110,0.12); }
input.code {
  font-size: 1.4rem;
  letter-spacing: 0.4em;
  text-align: center;
  font-family: ui-monospace, monospace;
}
button {
  width: 100%;
  margin-top: 1.4rem;
  padding: 0.85rem;
  background: #1d6e6e;
  color: white;
  border: 0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
button:active { background: #144d4d; }
.alert { padding: 0.7rem 0.9rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert.ok { background: #e0f0e0; color: #1f6e1f; }
.alert.ko { background: #fbe5e5; color: #a02525; }
.links { text-align: center; margin-top: 1.2rem; font-size: 0.9rem; }
.links a { color: #1d6e6e; text-decoration: none; font-weight: 500; }
