/* --- IDENTITÉ VISUELLE FLUX --- */
:root {
  --bg-dark: #0A0A0A;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --neutral-border: #1a1a1a;
}

/* Sélection premium */
::selection {
  background-color: rgba(59, 130, 246, 0.25);
  color: #ffffff;
}

/* Scrollbars modernes et sombres */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #1F1F1F;
  border-radius: 99px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: #2D2D2D;
}

/* Transitions globales pour l'interactivité */
input, select, button, a {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Effets d'anneaux de focus sur les inputs du panel */
input:focus, select:focus {
  outline: none;
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ANIMATIONS DE FLASH DU TERMINAL DE CONTRÔLE */
@keyframes pulseGreen {
  0% { 
    background-color: #042f1a; 
    box-shadow: inset 0 0 40px rgba(16, 185, 129, 0.15);
  }
  100% { 
    background-color: var(--bg-dark); 
    box-shadow: inset 0 0 0px rgba(16, 185, 129, 0);
  }
}

@keyframes pulseRed {
  0% { 
    background-color: #4c1d1d; 
    box-shadow: inset 0 0 40px rgba(239, 68, 68, 0.15);
  }
  100% { 
    background-color: var(--bg-dark); 
    box-shadow: inset 0 0 0px rgba(239, 68, 68, 0);
  }
}

.flash-success {
  animation: pulseGreen 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.flash-error {
  animation: pulseRed 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}