/* ── Report de Bug — LMNew ─────────────────────────────────────── */

/* Botão flutuante */
.report-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(15, 15, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  color: var(--muted, #7878a0);
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.report-fab:hover {
  border-color: rgba(0, 212, 200, 0.35);
  color: var(--primary, #00d4c8);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 212, 200, 0.15);
}
.report-fab svg {
  flex-shrink: 0;
}

/* Se o session dock estiver visível, sobe o fab */
body.session-active .report-fab {
  bottom: 110px;
}

/* Com uma cifra aberta, esconde o fab (estava cobrindo a área da cifra) */
body.song-open .report-fab,
body.reader-focus .report-fab {
  display: none !important;
}

/* Overlay */
.report-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(6, 6, 18, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.report-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Modal */
.report-modal {
  background: var(--panel, #0f0f1e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(12px);
  transition: transform 0.2s ease;
  position: relative;
}
.report-overlay.open .report-modal {
  transform: translateY(0);
}

.report-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.report-modal-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text, #f0f0ff);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.report-modal-close {
  background: none;
  border: none;
  color: var(--muted, #7878a0);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s;
}
.report-modal-close:hover { color: var(--text, #f0f0ff); }

/* Contexto automático */
.report-context {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 212, 200, 0.06);
  border: 1px solid rgba(0, 212, 200, 0.15);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--primary, #00d4c8);
  margin-bottom: 16px;
}
.report-context svg { flex-shrink: 0; opacity: 0.7; }

/* Label e inputs */
.report-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted, #7878a0);
  margin-bottom: 6px;
  margin-top: 14px;
}
.report-label:first-of-type { margin-top: 0; }

.report-tipos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.report-tipo-btn {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--muted, #7878a0);
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.report-tipo-btn:hover {
  border-color: rgba(0, 212, 200, 0.3);
  color: var(--text, #f0f0ff);
}
.report-tipo-btn.selected {
  background: rgba(0, 212, 200, 0.1);
  border-color: rgba(0, 212, 200, 0.5);
  color: var(--primary, #00d4c8);
}

.report-textarea {
  width: 100%;
  min-height: 80px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text, #f0f0ff);
  font-size: 0.85rem;
  font-family: inherit;
  padding: 10px 12px;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.2s;
  outline: none;
}
.report-textarea:focus {
  border-color: rgba(0, 212, 200, 0.35);
}
.report-textarea::placeholder { color: var(--muted, #7878a0); }

/* Botão enviar */
.report-submit {
  width: 100%;
  margin-top: 18px;
  padding: 11px;
  background: linear-gradient(135deg, var(--primary, #00d4c8), var(--purple, #9b6dff));
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.report-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.report-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Sucesso */
.report-success {
  text-align: center;
  padding: 20px 0 8px;
}
.report-success-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.report-success h4 {
  color: var(--primary, #00d4c8);
  margin: 0 0 6px;
  font-size: 1rem;
}
.report-success p {
  color: var(--muted, #7878a0);
  font-size: 0.82rem;
  margin: 0;
}
