/* The report page's forms.
 *
 * legal.css sets the document; this adds only what a form needs: fields that
 * read as fields on true black, a statement a person ticks deliberately, and
 * the one box that is allowed to be loud, the emergency line. The honeypot is
 * moved off-screen rather than `display: none`, which some scripts check for. */

.report__urgent {
  margin: var(--nc-space-xl) 0 0;
  padding: var(--nc-space-lg);
  border: 1px solid var(--nc-color-warning);
  border-radius: var(--nc-radius-md);
  font-size: 16px;
  line-height: 1.6;
}

.report__urgent strong {
  color: var(--nc-color-warning);
}

.report__form {
  display: grid;
  gap: var(--nc-space-lg);
  margin: var(--nc-space-xl) 0 var(--nc-space-xxxl);
  max-width: 640px;
}

.report__field {
  display: grid;
  gap: var(--nc-space-sm);
}

.report__field label,
.report__field legend {
  font-size: 15px;
  font-weight: 600;
  color: var(--nc-color-text-primary);
}

.report__hint {
  margin: 0;
  font-size: var(--nc-type-caption-size);
  color: var(--nc-color-text-secondary);
}

.report__form input[type='text'],
.report__form input[type='email'],
.report__form select,
.report__form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: var(--nc-min-touch-target);
  padding: var(--nc-space-md) var(--nc-space-lg);
  border-radius: var(--nc-radius-md);
  border: 1px solid var(--nc-color-border-strong);
  background: var(--nc-color-surface);
  color: var(--nc-color-text-primary);
  font: inherit;
  font-size: 16px;
}

.report__form textarea {
  min-height: 140px;
  resize: vertical;
}

.report__form input:focus,
.report__form select:focus,
.report__form textarea:focus {
  outline: 2px solid var(--nc-color-primary);
  outline-offset: 1px;
}

.report__statement {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--nc-space-md);
  align-items: start;
  padding: var(--nc-space-md) var(--nc-space-lg);
  border: 1px solid var(--nc-color-border);
  border-radius: var(--nc-radius-md);
  font-size: 15px;
  line-height: 1.5;
}

.report__statement input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.report__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.report__form .btn {
  justify-self: start;
}
