/* =========================================
   PAGES AUTH (login/register/password)
   ========================================= */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--color-bg);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--color-border, #eff3f4);
  border-radius: 16px;
  padding: 1.25rem;
}

.auth-links {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  text-align: center;
  color: var(--color-text-muted, rgba(0,0,0,.6));
}

.auth-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-links-sep {
  margin: 0 0.5rem;
  opacity: 0.7;
}

/* =========================================
   AUTH PAGES (login / register / password)
   Centré, sans chrome (header/sidebar gérés par templates page--user--*.html.twig)
   ========================================= */

.auth-shell{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}

.auth-card{
  width: 100%;
  max-width: 440px;
  padding: var(--gutter);
  background: #fff;
  border: 1px solid var(--color-border, #eff3f4);
  border-radius: 18px;
}

.auth-messages{
  margin-bottom: var(--gutter);
}

.auth-main form{
  margin: 0;
}

.auth-main .form-actions{
  margin-top: var(--gutter);
}

/* Auth: bouton submit plein largeur */
.auth-shell .form-actions .button,
.auth-shell .form-actions input[type="submit"]{
  width: 100%;
  display: block;
  padding: .5rem;
}

/* Links under the auth form */
.auth-links{
  margin-top: var(--gutter);
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  color: var(--color-muted);
  font-size: .95rem;
}
.auth-link{
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}
.auth-link:hover{
  text-decoration: underline;
}
.auth-links-sep{
  opacity: .6;
}
