/* ============================================================
   DIALOG.CSS
   Styles pour la boîte de dialogue générique
   ============================================================ */

.app-dialog-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.2s ease;
}

.app-dialog {
  background: var(--panel);
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  color: var(--text );
  animation: scaleIn 0.2s ease;
}

.dialog-header h3 {
  margin: 0;
  font-size: 18px;
}

.dialog-body {
  margin: 12px 0;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.dialog-footer .btn-primary,
.dialog-footer .btn-secondary {
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.dialog-footer .btn-primary {
  background: var(--accent);
  color: var(--textNeg);
}

.dialog-footer .btn-secondary {
  background: var(--panel);
  color: var(--text);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

