.ar-auth {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Assure que l'élément occupe toute la hauteur de la fenêtre */
}

.ar-auth__shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  box-shadow: none; /* Retirer l'ombre autour du conteneur principal */
  overflow: hidden;
  width: 100%;
  max-width: 1200px; /* Limiter la largeur du conteneur principal */
  margin: 0 auto; /* Centre le conteneur principal horizontalement */
  border: none; /* Retirer la bordure du conteneur principal */
}

.ar-auth__intro {
  width: 100%;
  padding: 20px;
  text-align: left; /* Aligner à gauche */
}

.ar-auth__title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left; /* Alignement à gauche */
}

.ar-auth__subtitle {
  font-size: 18px;
  text-align: left; /* Alignement à gauche */
}

.ar-auth__panel-wrap {
  display: flex;
  flex-direction: row-reverse; /* Changer la direction pour que l'image soit à droite et le formulaire à gauche */
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
}

.ar-auth__image-container {
  width: 65%; /* Réduire la taille de l'image */
  display: flex;
  justify-content: left;
  align-items: left;
  padding: 0px;
}

.ar-auth__image-container img {
  max-width: 100%;
  height: auto;
}

.ar-auth__form-container {
  width: 60%; /* Ajuster la largeur du formulaire */
  padding: 20px;
  border-radius: 12px; /* Coins arrondis pour le formulaire */
  border: none; /* Retirer toute bordure du formulaire externe */
  box-shadow: none; /* Aucune ombre autour du formulaire externe */
}

.ar-auth__card {
  padding: 20px;
  border-radius: 12px; /* Coins arrondis pour le conteneur interne */
  background-color: #fff;
  border: 1px solid black; /* Ajouter une bordure noire au conteneur interne */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Ombre subtile autour du conteneur interne */
}

.ar-auth__card-top {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.ar-auth__icon {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #007bff;
  color: white;
  margin-right: 10px;
  border-radius: 6px; /* Ajouter un carré autour des icônes */
  font-size: 18px;
}

.ar-auth__card-title {
  font-size: 18px;
  font-weight: bold;
}

.ar-auth__card-text {
  font-size: 14px;
  color: #777;
}

.ar-auth__form-group {
  margin-bottom: 20px; /* Espacement plus important entre les champs */
}

.ar-auth__label {
  display: block;
  margin-bottom: 8px; /* Augmenter l'espace entre le label et le champ */
  font-size: 14px;
  color: #555; /* Couleur du texte du label */
  font-weight: bold; /* Ajouter du gras au label */
}

/* Amélioration des bordures des champs */
.ar-auth__input {
  width: 100%;
  padding: 12px; /* Plus de padding pour donner de l'espace à l'intérieur */
  border-radius: 8px; /* Coins arrondis */
  border: 2px solid #ddd; /* Bordure légère grise par défaut */
  font-size: 14px;
  background-color: #fff;
  box-sizing: border-box; /* Assurer que le padding ne fait pas déborder le champ */
}

.ar-auth__input:focus {
  border-color: #007bff; /* Bordure bleue au focus */
  box-shadow: none; /* Aucune ombre au focus */
  outline: none; /* Enlever la bordure par défaut du focus */
}

.ar-auth__input:hover {
  border-color: #007bff; /* Changer la bordure au survol */
}

.error-message {
  color: red;
  font-size: 14px;
  margin-bottom: 10px;
}

.ar-auth__actions {
  margin-top: 20px;
}

.ar-auth__button {
  width: 100%;
  padding: 12px; /* Augmenter un peu la hauteur des boutons */
  border-radius: 8px; /* Coins arrondis pour les boutons */
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease; /* Transition pour le survol */
}

.ar-auth__button--primary {
  background-color: #007bff;
  color: white;
  border: none;
}

.ar-auth__button--primary:hover {
  background-color: #0056b3; /* Changer la couleur de fond au survol */
  transform: scale(1.05); /* Léger agrandissement pour l'effet de survol */
}

.ar-auth__button--secondary {
  background-color: #007bff;
  color: white;
  border: none;
}

.ar-auth__button--secondary:hover {
  background-color: #0056b3; /* Changer la couleur de fond au survol */
  transform: scale(1.05); /* Léger agrandissement pour l'effet de survol */
}

.ar-auth__bottom-text {
  text-align: center;
  margin-top: 10px;
}

.ar-auth__link-btn {
  background: none;
  color: #007bff;
  border: none;
  cursor: pointer;
}

.ar-auth__link-btn:hover {
  text-decoration: underline;
}

/* Cacher les formulaires */
.ar-auth__card--hidden {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ar-auth__panel-wrap {
    flex-direction: column;
  }

  .ar-auth__image-container,
  .ar-auth__form-container {
    width: 100%;
  }

  .ar-auth__intro {
    padding: 20px;
    text-align: center;
  }
}
