/* IAStrategie360 — Styles custom */

/* Animation du curseur de streaming */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Scrollbar discrete */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

/* Textarea focus ring */
textarea:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.1);
}

/* Smooth transitions */
* {
  scroll-behavior: smooth;
}

/* Animation d'entree pour la reponse */
[x-show] {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Fix couleur texte sur fond navy — force navy sur tous les champs de formulaire */
#diagnostic textarea,
#diagnostic input[type="text"],
#diagnostic input[type="email"],
#diagnostic select,
#diagnostic label,
#diagnostic p,
#diagnostic span,
#diagnostic div.prose,
#diagnostic div.prose p,
#diagnostic div.prose strong {
  color: #1B2A47 !important;
}
#diagnostic .bg-accent-light p,
#diagnostic .bg-accent-light h3,
#diagnostic .bg-accent-light span {
  color: #1B2A47 !important;
}

/* Barre de chargement animee */
@keyframes loading-bar {
  0% { width: 20%; opacity: 0.5; }
  50% { width: 80%; opacity: 1; }
  100% { width: 20%; opacity: 0.5; }
}

/* NUCLEAR OPTION — force la couleur sur les form elements dans #diagnostic */
section#diagnostic .bg-white textarea,
section#diagnostic .bg-white input,
section#diagnostic .bg-white select,
section#diagnostic .bg-white label,
section#diagnostic .border-accent\/30 textarea,
section#diagnostic .border-accent\/30 input,
section#diagnostic .border-accent\/30 select,
section#diagnostic .border-accent\/30 label,
section#diagnostic [style] textarea,
section#diagnostic [style] input,
section#diagnostic [style] select {
  color: #1B2A47 !important;
}
