.sampa24-report-error[hidden] { display: none; }
.sampa24-report-error {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sampa24-report-error__overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 57, 94, .45);
}
.sampa24-report-error__dialog {
  position: relative;
  width: 420px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 47, 81, .28);
}
.sampa24-report-error__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #9db4cb;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.sampa24-report-error__close:hover { background: #f1f8ff; color: #54779d; }
.sampa24-report-error__dialog h3 {
  margin: 0 0 8px;
  padding-right: 24px;
  color: #17395e;
  font-size: 18px;
  font-weight: 700;
}
.sampa24-report-error__hint {
  margin: 0 0 14px;
  color: #54779d;
  font-size: 13px;
  line-height: 1.5;
}
.sampa24-report-error__quote {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 3px solid #ff4d12;
  border-radius: 6px;
  background: #f1f8ff;
  color: #17395e;
  font-size: 13px;
  line-height: 1.5;
  max-height: 120px;
  overflow: auto;
}
.sampa24-report-error__textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid #d4e8ff;
  border-radius: 10px;
  color: #17395e;
  font: inherit;
  font-size: 14px;
  resize: vertical;
}
.sampa24-report-error__textarea:focus {
  outline: none;
  border-color: #ff4d12;
}
.sampa24-report-error__status {
  margin: 10px 0 0;
  font-size: 13px;
}
.sampa24-report-error__status.is-error { color: #d13c2e; }
.sampa24-report-error__status.is-success { color: #1c8a4b; }
.sampa24-report-error__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.sampa24-report-error__submit {
  border: 0;
  border-radius: 10px;
  padding: 10px 20px;
  background: #ff4d12;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.sampa24-report-error__submit:hover { background: #e6440d; }
.sampa24-report-error__submit[disabled] { opacity: .6; cursor: default; }

.sampa24-report-error__hint-btn {
  position: absolute;
  z-index: 9998;
  border: 0;
  border-radius: 8px;
  padding: 7px 12px;
  background: #17395e;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(16, 47, 81, .28);
  cursor: pointer;
}
.sampa24-report-error__hint-btn[hidden] { display: none; }
.sampa24-report-error__hint-btn:hover { background: #0f2a47; }

@media (max-width: 600px) {
  .sampa24-report-error__dialog { width: 100%; border-radius: 16px 16px 0 0; }
  .sampa24-report-error { align-items: flex-end; }
}
