/* ============================================================
   styles-auth.css — Styles communs aux pages auth et espace élève
   ============================================================ */

/* Auth layout */
.auth-main {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  background: var(--c-bg-alt, #f4f6fb);
}

.auth-card {
  width: 100%;
  max-width: 480px;
  padding: 40px;
}

.auth-title {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--c-heading, #0d2f76);
}

.auth-sub {
  margin: 0 0 24px;
  color: var(--c-text-muted, #6b7280);
  font-size: 14px;
  line-height: 1.6;
}

.auth-switch {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--c-text-muted, #6b7280);
}

.auth-switch a {
  color: var(--c-accent, #0d2f76);
  text-decoration: underline;
}

/* Badge statuts réservations */
.badge-warning {
  background: #fef3c7;
  color: #92400e;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Honeypot */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Page contact */
.container--form {
  max-width: 720px;
}

.contact-intro {
  text-align: center;
  margin-bottom: 32px;
}

.eyebrow--center {
  justify-content: center;
}

.contact-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.5rem 0 0.8rem;
}

.contact-lead {
  color: var(--muted);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-success {
  text-align: center;
  padding: 40px;
}

.contact-success-icon {
  font-size: 48px;
  margin: 0;
}

.contact-success-title {
  margin: 0.5rem 0;
  color: var(--blue);
}

.contact-success-text {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.fineprint--form {
  margin: 0.5rem 0 1rem;
}

.btn-block {
  width: 100%;
  margin-top: 8px;
}

.contact-alt {
  text-align: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.link-blue-strong {
  color: var(--blue);
  font-weight: 600;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}
