body:not([data-bug-report-enabled="true"]) .bug-report-trigger {
  display: none;
}

.bug-report-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  flex-direction: column;
  color: inherit;
  background: white;
}

.bug-report-dialog[open] {
  display: flex;
}

.bug-report-dialog::backdrop {
  background: rgb(0 0 0 / 50%);
}

.theme-simpleai .bug-report-dialog {
  width: calc(100vw - 16px);
  max-width: 560px;
  max-height: calc(100dvh - 16px);
}

@media (max-width: 410px) {
  .bug-report-actions {
    flex-direction: column;
  }

  .bug-report-actions button {
    width: 100%;
  }
}
