/* ------------------------------
   Auth pages (register + login) — Thème machine à écrire
   ------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

body {
  background: #ffffff;
  margin: 0;
  padding: 0;
  font-family: 'Special Elite', 'Courier New', Courier, monospace;
  color: #000000;
}

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card {
  background: #ffffff;
  width: 100%;
  max-width: 450px;
  padding: 2rem 2.5rem;
  border-radius: 0;
  border: 3px solid #000000;
  box-shadow: 8px 8px 0 #000000;
}

.auth-card h1 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.8rem;
  color: #000000;
  font-family: 'Special Elite', 'Courier New', Courier, monospace;
}

label {
  display: block;
  margin-bottom: 0.2rem;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: #000000;
  font-family: 'Special Elite', 'Courier New', Courier, monospace;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 0;
  background: #ffffff;
  border: 2px solid #000000;
  color: #000000;
  font-family: 'Special Elite', 'Courier New', Courier, monospace;
  box-sizing: border-box;
}

input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 3px 3px 0 #000000;
}

button,
.btn-primary {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  border: 2px solid #000000;
  border-radius: 0;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Special Elite', 'Courier New', Courier, monospace;
  box-shadow: 4px 4px 0 #444444;
}

button:hover,
.btn-primary:hover {
  background: #222222;
}

.auth-errors {
  padding: 0.8rem;
  background: #fff0f0;
  border-left: 4px solid #cc0000;
  border-radius: 0;
  list-style: none;
  margin-bottom: 1rem;
}

.auth-errors li {
  color: #cc0000;
  font-size: 0.9rem;
  padding: 0.1rem 0;
}

.auth-switch, .auth-back {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #000000;
}

.auth-switch a,
.auth-back a {
  color: #000000;
  text-decoration: underline;
}

.auth-switch a:hover,
.auth-back a:hover {
  color: #444444;
}
