/* ─── NDA-specific styles (extends bug-report.css) ──────────── */

/* ─── Discord nav button (from style.css, not in bug-report.css) ─ */
.nav-discord {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #5865F2;
  padding: 0.45rem 1rem;
  border-radius: 2px;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-discord:hover { background: #4752c4; box-shadow: 0 0 16px rgba(88,101,242,.5); }
.nav-discord-icon { width: 16px; height: 16px; object-fit: contain; }

@media (max-width: 640px) {
  .nav-discord { display: none; }
}

/* ─── NDA Document ──────────────────────────────────────────── */
.nda-document {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  margin-bottom: 2.5rem;
  max-height: 420px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
}

.nda-document .nda-title {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.nda-document h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blood-lt);
  margin: 1.4rem 0 0.4rem;
}

.nda-document p { margin-bottom: 0.75rem; color: var(--text-dim); }
.nda-document strong { color: var(--text); }

.nda-document ul {
  margin: 0 0 0.75rem 1.2rem;
  color: var(--text-dim);
}
.nda-document li { margin-bottom: 0.4rem; }

/* ─── Agreement checkbox ────────────────────────────────────── */
.agree-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}

.agree-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  accent-color: var(--blood);
  cursor: pointer;
}

/* ─── Signature input ───────────────────────────────────────── */
.signature-input {
  font-family: 'Creepster', cursive;
  font-size: 1.4rem !important;
  letter-spacing: 0.04em;
  color: #fff !important;
}

/* ─── Signed record / signature block ───────────────────────── */
.signature-block {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blood);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2rem;
}

.sig-line {
  margin-bottom: 0.65rem;
  font-size: 1rem;
  color: var(--text);
}

.sig-key {
  display: inline-block;
  min-width: 130px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sig-agreed {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--text-dim);
  font-style: italic;
}

.record-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.record-actions .submit-btn { max-width: 340px; }

.back-link {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
}
.back-link:hover { color: #fff; }

/* ─── Print styles (clean signed PDF) ───────────────────────── */
@media print {
  .no-print { display: none !important; }

  body { background: #fff; color: #000; }

  .form-section { padding: 0; background: #fff; }
  .form-section::before { display: none; }

  .form-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border: none;
    box-shadow: none;
  }
  .form-wrapper::before,
  .form-wrapper::after { display: none; }

  .nda-document {
    max-height: none;
    overflow: visible;
    background: #fff;
    border: none;
    padding: 0;
    color: #000;
    font-size: 11pt;
  }
  .nda-document .nda-title { color: #000; }
  .nda-document h4 { color: #000; }
  .nda-document p,
  .nda-document ul,
  .nda-document li { color: #000; }

  .signature-block {
    background: #fff;
    border: 1px solid #000;
    border-left: 3px solid #000;
    color: #000;
    page-break-inside: avoid;
    margin-top: 1.5rem;
  }
  .sig-line, .sig-key, .sig-agreed { color: #000; }
  .signature-input { color: #000 !important; }
}

/* ─── Honeypot (offscreen, never visible) ───────────────────── */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ─── Inline submit error ───────────────────────────────────── */
.form-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(138, 47, 47, 0.12);
  border: 1px solid var(--blood-lt, #a33);
  border-radius: 2px;
  color: var(--blood-lt, #c55);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}
