/* Lions Error Report — CSS v2 (com upload screenshot)
   Servido em /lions-erpt.css.
   Carregado via additionalhtmlhead (LIONS-ERROR-REPORT-V2). */

.lions-erpt-fab {
  position: fixed; right: 60px; bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  z-index: 999999;
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  color: #fff; border: none; border-radius: 999px;
  padding: 12px 18px; font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(220,38,38,0.4);
  cursor: pointer; display: none; align-items: center; gap: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.lions-erpt-fab:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(220,38,38,0.5); }
.lions-erpt-fab.lions-erpt-show { display: inline-flex; }
.lions-erpt-fab .lions-erpt-icon { font-size: 16px; }

.lions-erpt-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 1000000; display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.lions-erpt-overlay.lions-erpt-show { display: flex; }
.lions-erpt-modal {
  background: #fff; border-radius: 14px; max-width: 520px; width: 100%;
  padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-height: 90vh; overflow-y: auto;
}
.lions-erpt-modal h2 { font-size: 18px; margin: 0 0 4px; color: #1f2937; }
.lions-erpt-modal p.lions-erpt-sub { font-size: 13px; color: #6b7280; margin: 0 0 14px; }
.lions-erpt-modal .lions-erpt-selection {
  background: #fef3c7; border-left: 3px solid #f59e0b; padding: 8px 12px;
  border-radius: 6px; font-size: 13px; color: #78350f; margin-bottom: 12px;
  max-height: 80px; overflow: auto; white-space: pre-wrap;
}
.lions-erpt-modal textarea {
  width: 100%; min-height: 110px; padding: 10px 12px; border: 2px solid #e5e7eb;
  border-radius: 8px; font-size: 14px; font-family: inherit; outline: none;
  resize: vertical; box-sizing: border-box;
}
.lions-erpt-modal textarea:focus { border-color: #2563eb; }

/* === Anexo de screenshot === */
.lions-erpt-attach-row {
  margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.lions-erpt-attach-btn {
  padding: 8px 12px; font-size: 13px; font-weight: 600;
  border: 1px dashed #9ca3af; background: #f9fafb; color: #374151;
  border-radius: 6px; cursor: pointer; font-family: inherit;
}
.lions-erpt-attach-btn:hover { background: #f3f4f6; border-color: #6b7280; }
.lions-erpt-attach-info { font-size: 11px; color: #6b7280; }
.lions-erpt-file-input { display: none; }
.lions-erpt-preview {
  margin-top: 10px; position: relative; display: none; max-width: 100%;
}
.lions-erpt-preview.show { display: block; }
.lions-erpt-preview img {
  max-width: 100%; max-height: 240px; display: block;
  border-radius: 6px; border: 1px solid #d1d5db;
}
.lions-erpt-preview-remove {
  position: absolute; top: 6px; right: 6px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,0.7); color: #fff; border: none;
  cursor: pointer; font-size: 18px; line-height: 1; padding: 0;
}
.lions-erpt-preview-remove:hover { background: rgba(0,0,0,0.9); }

.lions-erpt-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.lions-erpt-actions button {
  padding: 10px 16px; font-size: 14px; font-weight: 600; border-radius: 8px;
  border: none; cursor: pointer; font-family: inherit;
}
.lions-erpt-cancel { background: #e5e7eb; color: #374151; }
.lions-erpt-cancel:hover { background: #d1d5db; }
.lions-erpt-submit { background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%); color: #fff; }
.lions-erpt-submit:hover { transform: translateY(-1px); }
.lions-erpt-submit:disabled { opacity: 0.5; cursor: wait; }
.lions-erpt-status { font-size: 13px; margin-top: 8px; min-height: 18px; }
.lions-erpt-status.ok { color: #059669; }
.lions-erpt-status.warn { color: #ca8a04; }
.lions-erpt-status.err { color: #dc2626; }

@media (max-width: 480px) {
  .lions-erpt-fab { right: 55px; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); padding: 10px 14px; font-size: 13px; }
}
