.bug-report-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 209, 129, 0.55);
  border-radius: 999px;
  color: #172026;
  background: linear-gradient(135deg, #ffd181, #f4a340);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
  font: 800 13px/1 system-ui, sans-serif;
  cursor: pointer;
}

.bug-report-launcher:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.bug-report-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 10, 14, 0.76);
  backdrop-filter: blur(8px);
}

.bug-report-overlay[hidden],
.bug-report-launcher[hidden] {
  display: none !important;
}

.bug-report-dialog {
  width: min(560px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  color: #edf6f4;
  background: #102630;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.bug-report-dialog header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.bug-report-dialog h2 {
  margin: 5px 0 8px;
  font-size: 28px;
}

.bug-report-dialog header p,
.bug-report-dialog > p {
  margin: 0;
  color: #9bb0b2;
  line-height: 1.55;
}

.bug-report-close {
  border: 0;
  color: #edf6f4;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.bug-report-dialog label {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: #d8e5e3;
  font-size: 13px;
  font-weight: 800;
}

.bug-report-dialog textarea {
  width: 100%;
  min-height: 170px;
  resize: vertical;
  padding: 14px;
  border: 1px solid #36535d;
  border-radius: 10px;
  color: #edf6f4;
  background: #07141a;
  font: inherit;
}

.bug-report-dialog textarea:focus {
  outline: 3px solid rgba(244, 163, 64, 0.18);
  border-color: #f4a340;
}

.bug-report-submit {
  min-height: 46px;
  margin-top: 16px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  color: #172026;
  background: linear-gradient(135deg, #ffd181, #f4a340);
  font-weight: 900;
  cursor: pointer;
}

.bug-report-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.bug-report-form-status {
  min-height: 20px;
  margin-top: 14px !important;
  color: #ff9b8e !important;
}

.bug-report-form-status.success {
  color: #68e0b0 !important;
}

#openBugReport,
#feedbackButton {
  display: none !important;
}

@media (max-width: 600px) {
  .bug-report-launcher {
    right: 12px;
    bottom: 12px;
  }

  .bug-report-dialog {
    padding: 22px;
  }
}
