:root {
  --bug-report-accent: #8a3b12;
  --bug-report-accent-strong: #5e2406;
  --bug-report-surface: rgba(255, 252, 247, 0.97);
  --bug-report-border: rgba(94, 36, 6, 0.16);
  --bug-report-shadow: 0 18px 40px rgba(41, 24, 13, 0.2);
}

.bug-report-footer {
  position: static;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(255, 247, 237, 0.98));
  border-top: 1px solid var(--bug-report-border);
  box-shadow: 0 -2px 10px rgba(41, 24, 13, 0.06);
}

.bug-report-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.bug-report-footer__label {
  color: var(--bug-report-accent-strong);
  font-size: 0.95rem;
  font-weight: 600;
}

.bug-report-launcher {
  border: 0;
  border-radius: 999px;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  background: linear-gradient(135deg, #f6b24b, var(--bug-report-accent));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: var(--bug-report-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.bug-report-launcher:hover,
.bug-report-launcher:focus {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.05);
  box-shadow: 0 22px 44px rgba(41, 24, 13, 0.28);
}

#bugReportModal .modal-content {
  border: 1px solid var(--bug-report-border);
  background: linear-gradient(180deg, var(--bug-report-surface), #ffffff);
}

#bugReportModal .modal-header {
  border-bottom-color: rgba(94, 36, 6, 0.08);
}

.bug-report-preview {
  border: 1px solid var(--bug-report-border);
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.88), rgba(255, 255, 255, 0.96));
}

.bug-report-shot-stage {
  position: relative;
  min-height: 280px;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px dashed rgba(94, 36, 6, 0.18);
  background:
    linear-gradient(135deg, rgba(246, 178, 75, 0.08), rgba(94, 36, 6, 0.08)),
    repeating-linear-gradient(
      45deg,
      rgba(94, 36, 6, 0.03),
      rgba(94, 36, 6, 0.03) 12px,
      rgba(255, 255, 255, 0.4) 12px,
      rgba(255, 255, 255, 0.4) 24px
    );
}

.bug-report-shot-placeholder {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: #75503f;
}

.bug-report-shot-image,
.bug-report-shot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
}

.bug-report-shot-image {
  display: block;
}

.bug-report-shot-canvas {
  cursor: crosshair;
}

.bug-report-meta {
  border-top: 1px solid rgba(94, 36, 6, 0.1);
  padding-top: 1rem;
}

.bug-report-capture-hidden {
  visibility: hidden !important;
  opacity: 0 !important;
}

@media (max-width: 767.98px) {
  .bug-report-footer {
    padding: 0.75rem 0.9rem;
  }

  .bug-report-footer__inner {
    justify-content: center;
  }

  .bug-report-launcher {
    width: min(100%, 22rem);
    justify-content: center;
  }

  .bug-report-shot-stage,
  .bug-report-shot-placeholder {
    min-height: 220px;
  }
}
