/* Widget « 💬 Améliorations / bugs » (standard LuxGap) — autonome : classes
   préfixées lgfb-, aucune dépendance au thème de la page hôte (site vitrine
   clair ou app sombre). */

.lgfb-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #1f6feb;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: 600 14px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.lgfb-fab:hover {
  background: #2f81f7;
}

.lgfb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9991;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 14, 0.6);
  padding: 1rem;
}

.lgfb-overlay[hidden] {
  display: none;
}

.lgfb-dialog {
  width: 100%;
  max-width: 420px;
  background: #161b22;
  color: #e6edf3;
  border: 1px solid #2a313c;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-align: left;
}

.lgfb-dialog h2 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.lgfb-dialog .lgfb-hint {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: #8b949e;
}

.lgfb-field {
  display: block;
  margin: 0 0 0.75rem;
}

.lgfb-field > span {
  display: block;
  font-size: 0.85rem;
  color: #8b949e;
  margin-bottom: 0.3rem;
}

.lgfb-dialog input,
.lgfb-dialog select,
.lgfb-dialog textarea {
  width: 100%;
  box-sizing: border-box;
  background: #1c2430;
  border: 1px solid #2a313c;
  border-radius: 8px;
  color: #e6edf3;
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.lgfb-dialog input:focus,
.lgfb-dialog select:focus,
.lgfb-dialog textarea:focus {
  outline: 2px solid #2f81f7;
  border-color: #2f81f7;
}

.lgfb-dialog textarea {
  min-height: 110px;
  resize: vertical;
}

/* Honeypot : hors écran (PAS display:none — certains bots l'évitent). */
.lgfb-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lgfb-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.lgfb-actions button {
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.lgfb-submit {
  background: #1f6feb;
  color: #fff;
}

.lgfb-submit:hover {
  background: #2f81f7;
}

.lgfb-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.lgfb-cancel {
  background: transparent;
  color: #8b949e;
  border: 1px solid #2a313c;
}

.lgfb-cancel:hover {
  color: #e6edf3;
}

.lgfb-status {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.lgfb-status.lgfb-ok {
  color: #3fb950;
}

.lgfb-status.lgfb-err {
  color: #f85149;
}
