.feedback-panel {
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 50;
  width: min(340px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid #d7dfe8;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
  color: #17202a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.feedback-panel h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.feedback-panel p {
  margin: 0 0 10px;
  color: #5b6673;
  font-size: 13px;
  line-height: 1.45;
}

.feedback-panel label {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  font-size: 13px;
}

.feedback-panel input,
.feedback-panel textarea,
.feedback-panel select {
  width: 100%;
  border: 1px solid #c9d2dc;
  border-radius: 6px;
  padding: 8px;
  background: #fff;
  color: #17202a;
  font: inherit;
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.feedback-actions button {
  border: 1px solid #c9d2dc;
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
  color: #17202a;
  font: inherit;
  cursor: pointer;
}

.feedback-actions button:hover {
  background: #f4f7fa;
}

.feedback-panel pre {
  white-space: pre-wrap;
  max-height: 180px;
  overflow: auto;
  margin: 12px 0 0;
  font-size: 12px;
}

@media (max-width: 1180px) {
  .feedback-panel {
    position: static;
    width: auto;
    margin: 24px;
  }
}
