/* "Report an error" dialog (code/report-error.js), shared by the Comparison
   tool and the country pages. Colours are set here so the dialog looks the
   same whether or not explore.css is loaded. */
.report-modal {
  --accent: #0074F0;
  --text: #1d2733;
  --text-muted: #5b6b7b;
  --border: #e1e7ec;
  --bg-tinted: #f0f8ff;
}
.report-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.report-modal[hidden] { display: none; }
.report-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 43, 86, 0.45);
}
.report-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  padding: 22px 24px 24px;
}
.report-dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
}
.report-dialog-close:hover { background: var(--bg-tinted); color: var(--text); }
.report-dialog-title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}
.report-dialog-intro {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}
.report-field-label {
  display: block;
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.report-field-label:first-of-type { margin-top: 0; }
.report-select {
  width: 100%;
  box-sizing: border-box;
  min-height: 38px;
  padding: 8px 34px 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
}
.report-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.12);
}
#reportText {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
  resize: vertical;
  min-height: 96px;
}
#reportText:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.12);
}
#reportText.invalid { border-color: #d64545; }
/* .report-dialog scope out-specifies the global `.container p { font-size: 1.02rem }`. */
.report-dialog .report-context {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-muted);
}
.report-turnstile:not(:empty) { margin-top: 14px; }
.report-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
.report-btn-secondary,
.report-btn-primary {
  padding: 8px 16px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.report-btn-secondary {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}
.report-btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.report-btn-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}
.report-btn-primary:hover { filter: brightness(0.95); }
.report-btn-primary:disabled { opacity: 0.6; cursor: default; filter: none; }
.report-status {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
}
.report-status[hidden] { display: none; }
.report-status.ok { color: #1c7c4a; }
.report-status.err { color: #d64545; }

