/* NGO Mitgliedsantrag – Webformular */
.ngo-maf-wrap { max-width: 760px; margin: 0 auto; }
.ngo-maf-wrap * { box-sizing: border-box; }

.ngo-maf-intro { color: #4a5568; margin-bottom: 1.5rem; }

#ngo-maf fieldset {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.4rem 1.4rem;
  margin: 0 0 1.4rem;
}
#ngo-maf legend {
  font-weight: 700;
  color: #1a6bb5;
  padding: 0 .5rem;
  font-size: 1.02rem;
}

.ngo-maf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem 1.1rem;
}
.ngo-maf-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .ngo-maf-grid { grid-template-columns: 1fr; } }

.ngo-maf-field { display: flex; flex-direction: column; gap: .3rem; }
.ngo-maf-field label { font-size: .85rem; font-weight: 600; color: #2d3748; }
.ngo-maf-field input {
  width: 100%;
  padding: .6rem .7rem;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.ngo-maf-field input:focus {
  outline: none;
  border-color: #1a6bb5;
  box-shadow: 0 0 0 3px rgba(26,107,181,.15);
}

.ngo-maf-note { font-size: .82rem; color: #718096; margin-top: .4rem; }
.ngo-maf-legaltext { font-size: .84rem; color: #4a5568; line-height: 1.5; }
.ngo-maf-legaltext ul { margin: .4rem 0 0 1.1rem; }

/* Unterschrift */
.ngo-sig-label { font-weight: 600; color: #2d3748; font-size: .9rem; margin: .2rem 0 .35rem; display:block; }
.ngo-sig-box { position: relative; }
.ngo-sigpad {
  width: 100%; height: 130px;
  border: 2px dashed #9fb3c8;
  border-radius: 10px;
  background: #f7fafc;
  touch-action: none;
  cursor: crosshair;
  display: block;
}
.ngo-sig-hint {
  position: absolute; left: 12px; top: 10px;
  color: #a0aec0; font-size: .85rem; pointer-events: none;
}
.ngo-sig-clear {
  margin-top: .4rem;
  background: none; border: none; color: #1a6bb5;
  font-size: .82rem; cursor: pointer; padding: 0;
  text-decoration: underline;
}

.ngo-maf-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: .5rem; }
.ngo-btn-primary,
.ngo-btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 1rem; font-weight: 600;
  padding: .8rem 1.4rem; border-radius: 10px;
  cursor: pointer; text-decoration: none; border: 2px solid transparent;
}
.ngo-btn-primary { background: #1a6bb5; color: #fff; }
.ngo-btn-primary:hover { background: #155a99; }
.ngo-btn-primary:disabled { opacity: .6; cursor: default; }
.ngo-btn-ghost { background: #fff; color: #1a6bb5; border-color: #1a6bb5; }
.ngo-btn-ghost:hover { background: #f0f7fb; }

.ngo-maf-status { margin-top: .9rem; font-size: .92rem; min-height: 1.2em; }
.ngo-maf-status.err { color: #c0392b; font-weight: 600; }
.ngo-maf-status.ok { color: #2f855a; font-weight: 600; }

.ngo-maf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#ngo-maf-done {
  display: none;
  background: #e7f5e7; border: 1px solid #4a9a3e; border-radius: 12px;
  padding: 1.5rem; text-align: center; color: #276749;
}
#ngo-maf-done h3 { margin: 0 0 .5rem; color: #276749; }

.ngo-maf-download {
  margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid #e2e8f0;
  font-size: .92rem; color: #4a5568;
}

/* Datenschutz-Informationsblatt */
.ngo-maf-info { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid #e2e8f0; }
.ngo-maf-info h3 { color:#1a6bb5; font-size:1.05rem; margin:0 0 .6rem; }
.ngo-maf-info h4 { color:#2d3748; font-size:.92rem; margin:1rem 0 .3rem; }
.ngo-maf-info p, .ngo-maf-info li { font-size:.84rem; color:#4a5568; line-height:1.55; }
.ngo-maf-info ul { margin:.3rem 0 .3rem 1.15rem; }
