/* ============================================
   SYSTÈME DE POP-UPS WORKFLOWS
   Centré à l'écran avec style moderne
   ============================================ */

/* Conteneur du pop-up - CENTRÉ */
.workflow-notification {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.workflow-notification.show {
  opacity: 1;
}

.workflow-notification.hide {
  opacity: 0;
  pointer-events: none;
}

/* Contenu du pop-up */
.workflow-notification-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 30px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(74, 222, 128, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  border: 2px solid #4ade80;
  max-width: 450px;
  width: 100%;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.workflow-notification.show .workflow-notification-content {
  transform: scale(1);
}

/* Icône */
.workflow-notification-icon {
  font-size: 50px;
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Message */
.workflow-notification-message {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: #fff;
}

/* Bouton fermer */
.workflow-notification-close {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border: none;
  color: #000;
  padding: 12px 30px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.2s;
}

.workflow-notification-close:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .workflow-notification-content {
    padding: 25px 20px;
    margin: 10px;
    max-width: calc(100% - 40px);
  }
  
  .workflow-notification-icon {
    font-size: 40px;
  }
  
  .workflow-notification-message {
    font-size: 16px;
  }
}
