/* ---- Page Inscription ---- */
.register-container {
  display: flex;
  width: 100%; /* Changé de 100vw à 100% pour éviter les débordements */
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f7fa;
  margin: 0; /* Ajouté pour éviter les marges par défaut */
  overflow-x: hidden; /* Empêche le défilement horizontal */
}

.register-box {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px; /* Ajouté pour limiter la largeur */
  text-align: center;
  font-family: Arial, sans-serif !important; /* ✅ Uniformisation de la police */
  font-weight: bold !important; /* ✅ Texte en gras */
}

.register-box h2 {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
  font-family: Arial, sans-serif !important; /* ✅ Police cohérente */
}

.register-divider {
  width: 50px;
  height: 3px;
  background-color: #272a49;
  margin: 10px auto 20px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.register-label {
  text-align: left;
  font-weight: bold;
  color: black;
  font-family: Arial, sans-serif !important; /* ✅ Uniformisation */
}

.register-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  background-color: #f0f0f0;
  color: black;
  font-family: Arial, sans-serif !important; /* ✅ Uniformisation */
  font-weight: bold !important; /* ✅ Texte en gras */
}

.register-button {
  background-color: #ff5733;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  border-radius: 5px;
  margin-top: 10px;
  font-family: Arial, sans-serif !important; /* ✅ Uniformisation */
  font-weight: bold !important; /* ✅ Texte en gras */
}

.register-button:hover {
  background-color: #882121;
}

.register-info-text {
  font-size: 0.9em;
  color: black;
  margin-top: 15px;
  font-family: Arial, sans-serif !important; /* ✅ Uniformisation */
  font-weight: bold !important; /* ✅ Texte en gras */
}

.register-terms {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: 0.9em;
  color: black;
  font-family: Arial, sans-serif !important; /* ✅ Uniformisation */
  font-weight: bold !important; /* ✅ Texte en gras */
}

/* ✅ Supprimer le soulignement des liens */
.register-terms a {
  color: #ff0c0c;
  text-decoration: none !important;
  font-family: Arial, sans-serif !important;
  font-weight: bold !important;
}

/* ✅ Assurer qu'il n'y a pas de soulignement au survol */
.register-terms a:hover {
  text-decoration: none !important;
}

/* Appliquer une transition de transformation à tous les boutons */
button, .btn, .cta-button, .view-all {
  transition: transform 0.2s ease !important;
}

/* Au survol, les boutons grossissent sans changer de couleur */
button:hover, .btn:hover, .cta-button:hover, .view-all:hover {
  transform: scale(1.05) !important;
}

/* ---- Notifications ---- */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 250px;
  z-index: 1000;
  animation: fadeIn 0.5s ease, fadeOut 0.5s ease 4.5s;
  font-family: Arial, sans-serif !important; /* ✅ Uniformisation */
}

/* Couleurs des notifications */
.notification.success {
  background-color: #28a745;
  border: 1px solid #1e7e34;
}

.notification.error {
  background-color: #dc3545;
  border: 1px solid #c82333;
}

.notification.warning {
  background-color: #dc3545;
  color: #dc3545;
  border: 1px solid #c82333;
}

/* Bouton de fermeture (X) */
.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-left: 10px;
  transition: transform 0.2s ease;
}

.close-btn:hover {
  transform: scale(1.2);
}

/* Animations d'apparition et disparition */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.password-container {
  position: relative;
}
