/* NightGame — page Créer un compte */

.hidden {
  display: none !important;
}

.signup-main {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.signup-card,
.signup-success {
  width: 100%;
  max-width: 420px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(124, 92, 255, 0.15);
  backdrop-filter: blur(10px);
}

.signup-card h1,
.signup-success h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.signup-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.signup-card label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1rem 0 0.35rem;
}

.signup-card input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signup-card input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 225, 255, 0.15);
}

.form-error {
  min-height: 1.2rem;
  margin-top: 0.75rem;
  color: #ff4d6d;
  font-size: 0.88rem;
}

.pseudo-status {
  display: block;
  min-height: 1.1rem;
  margin-top: 0.3rem;
  font-size: 0.82rem;
}
.pseudo-status.ok {
  color: #38e1ff;
}
.pseudo-status.taken {
  color: #ff4d6d;
}

.signup-card .btn,
.signup-success .btn {
  width: 100%;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

.signup-success .btn {
  width: auto;
  display: inline-block;
}

.signup-footer {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.signup-footer a {
  color: var(--cyan);
  text-decoration: none;
}
.signup-footer a:hover {
  text-decoration: underline;
}

.signup-success {
  text-align: center;
  padding: 3rem 2rem;
}
.signup-success p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.signup-success p span {
  color: var(--cyan);
  font-weight: 700;
}
