.flechettes-login-container {
  max-width: 700px;
  margin: 10rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.flechettes-login__title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #333;
}

.flechettes-login__field {
  margin-bottom: 1rem;
  text-align: left;
}

.flechettes-login__input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.flechettes-login__forgot {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #E5141C;
  text-decoration: none;
}

.flechettes-login__field--checkbox {
  font-size: 0.9rem;
}

.flechettes-login__btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
  text-decoration: none;
  text-align: center;
}

.flechettes-login__btn--primary {
  background-color: #E5141C;
  color: #fff;
}

.flechettes-login__btn--secondary {
  background-color: transparent;
  color: #E5141C;
  margin-top: 1rem;
}

.flechettes-login__signup {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.flechettes-login__signup a {
  color: #E5141C;
  text-decoration: none;
}

select#nation {
  width: 100%;
}

/* conteneur flex pour aligner Google + Facebook */
.flechettes-login__social-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* style de base commun aux deux boutons */
.flechettes-login__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background-color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

/* icônes FontAwesome à la bonne taille et couleur neutre */
.flechettes-login__social-btn .fab {
  font-size: 20px;
  color: #5f6368;
}

/* ajustement spécifique au conteneur Google */
#google-signin-button {
  display: inline-block;
  vertical-align: middle;
}

/* style Facebook calqué sur le bouton Outline de Google */
.flechettes-login__social-btn--facebook {
  border-color: #1877f2;
  gap: 10px;
}

.flechettes-login__social-btn--facebook .fab {
  color: #1877f2;
}

.flechettes-login__social-btn--facebook:hover {
  background-color: rgba(24, 119, 242, 0.1);
}

.flechettes-error {
  background-color: #ffebee;
  border-left: 4px solid #f44336;
  color: #d32f2f;
  padding: 12px;
  margin: 0 0 20px 0;
  border-radius: 4px;
}

.flechettes-error a {
  color: #d32f2f;
  text-decoration: underline;
}

.flechettes-login__password-wrapper {
  position: relative;
  width: 100%;
  display: block;
}

.flechettes-login__password-wrapper .flechettes-login__input {
  padding-right: 44px;
  /* un peu plus de marge */
}

/* Icône DANS le champ, collée à droite et centrée verticalement */
.flechettes-login__password-wrapper .flechettes-password-toggle {
  position: absolute !important;
  /* prend le dessus sur le thème */
  right: 12px;
  top: 20px;
  bottom: 0;
  /* permet le centrage vertical sans translate */
  display: flex;
  /* centrage propre */
  align-items: center;
  justify-content: center;
  width: 32px;
  /* zone cliquable confortable */
  pointer-events: auto;
  color: #888;
  cursor: pointer;
  font-size: 18px;
}

.flechettes-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  cursor: pointer;
  font-size: 18px;
}

.flechettes-password-toggle:hover {
  color: #333;
}