/* Chat membre <-> CEO - styles */
@keyframes chat-pulse {
  0%,100%{box-shadow:0 0 0 0 rgba(255,71,87,0.7);}
  50%{box-shadow:0 0 0 8px rgba(255,71,87,0);}
}
.chat-fab-pulse {
  animation: chat-pulse 1s ease-in-out infinite;
  border-color:#ff4757 !important;
}

/* ====== RESPONSIVE chat membre - taille FIGEE sur mobile ====== */
@media (max-width:1023px) {
  /* Fenetre chat : 90vw / 90vh centre, taille fixe (pas de resize) */
  #member-chat-window[style] {
    position:fixed !important;
    top:5vh !important;
    bottom:5vh !important;
    left:5vw !important;
    right:5vw !important;
    width:auto !important;
    height:auto !important;
    max-width:none !important;
    max-height:none !important;
    border-radius:12px !important;
    resize:none !important;
    box-sizing:border-box !important;
  }
  /* Cacher la poignee de redimensionnement sur mobile */
  #member-chat-window > div[style*="cursor:nwse-resize"] {
    display:none !important;
  }
  /* FAB : au-dessus de la bottom-nav */
  #member-chat-fab {
    width:46px !important;
    height:46px !important;
    bottom:78px !important;
    right:14px !important;
    font-size:20px !important;
  }
  /* Barre d envoi : input pleine largeur en haut, icones sous l'input */
  #member-chat-window .chat-member-input-row {
    display:flex !important;
    flex-wrap:wrap !important;
    gap:6px !important;
    align-items:center !important;
  }
  /* Input : pleine largeur, 1ere ligne */
  #member-chat-window input#member-chat-input {
    flex:1 1 100% !important;
    order:1 !important;
    min-width:0 !important;
    padding:8px 10px !important;
    font-size:13px !important;
  }
  /* Tous les boutons et le label fichier : 2e ligne */
  #member-chat-window .chat-member-input-row > button,
  #member-chat-window .chat-member-input-row > label {
    flex:0 0 auto !important;
    order:2 !important;
    padding:7px 9px !important;
    font-size:13px !important;
  }
  /* Bouton envoi ➤ : se demarque a droite */
  #member-chat-window .chat-member-input-row > button:last-child {
    margin-left:auto !important;
  }
}
