.auth-body {

  /* background: linear-gradient(to right, #b89e71, #f1e3d3); */
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0,0,0,0.6)), url('images/Large.jpg') no-repeat center center fixed;
  background-size: cover;
  
  background-position: center;
  font-family: 'Rounded Elegance', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.auth-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.auth-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 30px 20px;
}

.auth-header {
  text-align: center;
  margin-bottom: 20px;
}

.auth-header i {
  color: #e2497a;
  font-size: 2em;
}

.auth-header h2 {
  margin: 10px 0 5px;
  color: #e2497a;
}

.auth-form .form-group {
  margin-bottom: 15px;
}

.auth-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.auth-form input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.full-width {
  width: 100%;
}

.btn {
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
}

.btn-primary {
  background-color: #e2497a;
  color: white;
}

.btn-secondary {
  background-color: #b89e71;
  color: white;
}

.auth-switch {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9em;
}

.auth-switch a {
  color: #e2497a;
  text-decoration: none;
  font-weight: bold;
}

.hidden {
  display: none;
}


/* Overlay */
.loader {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.5); /* semi-transparent noir */
  display: none; /* caché par défaut */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Contenu du loader */
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  background: rgba(255,255,255,0.1);
  padding: 25px 40px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1em;
}

/* Spinner circulaire */
.spinner {
  border: 4px solid rgba(255,255,255,0.3);
  border-top: 4px solid #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 6px;
  color: white;
  font-weight: 500;
  z-index: 1001;
  transform: translateX(400px);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background: #10b981;
}

.toast.error {
  background: #ef4444;
}

.toast.info {
  background: #3b82f6;
}