/* Pages auth : inscription / connexion – cohérent avec site vitrine */

.auth {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 68px);
}

.auth__box {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.auth h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text, #e5e7eb);
}

.auth__intro {
  color: var(--text-muted, #9ca3af);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.auth__note {
  font-size: 0.875rem;
  color: var(--text-muted, #9ca3af);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.3));
  border-radius: var(--radius, 14px);
  padding: 0.75rem 1rem;
  margin: 0 0 1.5rem;
  line-height: 1.4;
}

.auth__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth__form label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text, #e5e7eb);
}

.auth__form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius, 14px);
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.3));
  background: rgba(255, 255, 255, 0.06);
  color: var(--text, #e5e7eb);
  font-size: 1rem;
  box-sizing: border-box;
}

.auth__form input::placeholder {
  color: var(--text-muted, #9ca3af);
}

.auth__form input:focus {
  outline: none;
  border-color: var(--accent, #38bdf8);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.btn-block {
  width: 100%;
  margin-top: 0.5rem;
  padding: 12px 18px;
  font-size: 1rem;
}

.auth__msg {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted, #9ca3af);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.auth__msg--success {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border-left: 3px solid #4ade80;
}

.auth__msg--error {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid var(--danger, #ef4444);
}

.auth__forgot {
  font-size: 0.875rem;
  color: var(--accent, #38bdf8);
  text-decoration: none;
  margin-top: -0.25rem;
}

.auth__forgot:hover {
  text-decoration: underline;
}

.auth__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
}

.auth__checkbox input {
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.auth__checkbox a {
  color: var(--accent, #38bdf8);
  text-decoration: none;
}

.auth__checkbox a:hover {
  text-decoration: underline;
}

.auth__hint {
  font-size: 0.8rem;
  color: var(--text-muted, #9ca3af);
  margin-top: 0.25rem;
}

.auth__footer {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted, #9ca3af);
}

.auth__footer a {
  color: var(--accent, #38bdf8);
  text-decoration: none;
}

.auth__footer a:hover {
  text-decoration: underline;
}
