/* ════════════════════════════════════════════════════
   BOTÓN FLOTANTE DE AYUDA + MODAL — help-modal.css
   ════════════════════════════════════════════════════ */

/* ── BOTÓN FLOTANTE DE AYUDA ── */
.help-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.1rem;
  background: var(--volt, #c8ff00);
  color: #0a1628;
  border: none;
  border-radius: 50px;
  font-family: var(--mono, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(200,255,0,0.35), 0 2px 8px rgba(0,0,0,0.5);
  transition: transform 0.18s, box-shadow 0.18s, background 0.15s;
  white-space: nowrap;
}
.help-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(200,255,0,0.5), 0 3px 10px rgba(0,0,0,0.5);
}
.help-fab:active { transform: scale(0.97); }
.help-fab svg { flex-shrink: 0; }
@media (max-width: 480px) {
  .help-fab { bottom: 1.25rem; right: 1.25rem; padding: 0.6rem 0.9rem; }
  .help-fab-label { display: none; }
}

/* ── MODAL DE AYUDA ── */
.help-modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: 1.25rem;
}
.help-modal-overlay.open { display: flex; }

.help-modal {
  background: var(--card-bg, #111);
  border: 1px solid var(--accent-border, rgba(200,255,0,0.25));
  border-radius: 16px;
  width: 100%; max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(200,255,0,0.08);
  animation: modalIn 0.25s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes modalIn {
  from { opacity:0; transform: scale(0.92) translateY(16px); }
  to   { opacity:1; transform: scale(1)    translateY(0);    }
}

.help-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border, #222);
  position: sticky; top: 0;
  background: var(--card-bg, #111);
  z-index: 1;
}
.help-modal-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono, monospace); font-size: 1rem; font-weight: 700;
  color: var(--volt, #c8ff00);
}
.help-modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--muted, #888); padding: 0.25rem;
  border-radius: 6px; transition: color 0.15s, background 0.15s;
  display: flex; align-items: center;
}
.help-modal-close:hover { color: var(--text, #eee); background: rgba(255,255,255,0.06); }

.help-modal-body { padding: 1.25rem 1.5rem 1.5rem; }

.help-section { margin-bottom: 1.5rem; }
.help-section:last-child { margin-bottom: 0; }

.help-section-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono, monospace); font-size: 0.72rem; font-weight: 700;
  color: var(--muted, #888); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.help-section-title svg { color: var(--volt, #c8ff00); }

.help-step {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: var(--surface-2, rgba(255,255,255,0.025));
  border: 1px solid var(--border, #222);
  margin-bottom: 0.5rem;
  transition: border-color 0.15s;
}
.help-step:hover { border-color: rgba(200,255,0,0.2); }
.help-step-num {
  flex-shrink: 0; width: 24px; height: 24px;
  background: rgba(200,255,0,0.1); border: 1px solid rgba(200,255,0,0.25);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono, monospace); font-size: 0.68rem; font-weight: 700;
  color: var(--volt, #c8ff00); margin-top: 0.05rem;
}
.help-step-text { font-size: 0.875rem; line-height: 1.55; color: var(--text, #eee); }
.help-step-text strong { color: var(--volt, #c8ff00); font-weight: 600; }
.help-step-text em { color: var(--muted, #aaa); font-style: normal; font-size: 0.8rem; }

.help-tip {
  display: flex; gap: 0.6rem; align-items: flex-start;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  background: rgba(200,255,0,0.04);
  border: 1px dashed rgba(200,255,0,0.18);
  margin-bottom: 0.45rem;
  font-size: 0.82rem; line-height: 1.5; color: var(--text, #eee);
}
.help-tip svg { flex-shrink: 0; color: var(--volt, #c8ff00); margin-top: 0.05rem; }