.report-issue-btn {
  margin-top: 2px;
}

.report-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 11, 12, 0.5);
}

.report-modal-backdrop[hidden] {
  display: none;
}

.report-modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.report-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.report-modal-header h2 {
  margin: 0;
  font-size: 18px;
}

.report-modal-body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-modal-hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted, #5a5a5a);
}

.report-preview-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.report-capture-preview {
  flex: 0 0 40%;
  max-width: 200px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted, #5a5a5a);
  background: rgba(20, 20, 22, 0.04);
}

.report-capture-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.report-meta {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.report-modal textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}

.report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 480px) {
  .report-preview-row {
    flex-direction: column;
  }

  .report-capture-preview {
    max-width: none;
    width: 100%;
  }
}
