/* ============================================
   STYLES POUR LES NOTIFICATIONS
   Messages de confirmation/erreur élégants
   ============================================ */

.notification {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 10000;
  min-width: 300px;
  max-width: 500px;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.notification-content {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid;
  position: relative;
  overflow: hidden;
}

.notification-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

.notification-success .notification-content {
  border-left-color: #25d366;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.notification-error .notification-content {
  border-left-color: #e53e3e;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.notification-success .notification-icon {
  background: #25d366;
  color: var(--color-white);
}

.notification-error .notification-icon {
  background: #e53e3e;
  color: var(--color-white);
}

.notification-message {
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-dark);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
  .notification {
    top: 20px;
    right: 20px;
    left: 20px;
    min-width: auto;
    max-width: none;
    transform: translateY(-100px);
  }

  .notification.show {
    transform: translateY(0);
  }
}




