/* Online-Mitgliedsantrag – ergänzt Bootstrap 4 aus dem Theme. */
.ma-wrap { max-width: 860px; margin: 0 auto; }
.ma-section { padding: 20px 0; border-bottom: 1px solid #dee2e6; }
.ma-section:last-of-type { border-bottom: none; }
.ma-section h3 { font-size: 1.25rem; margin-bottom: 12px; }
.ma-hint { font-size: .9rem; color: #555; }

.ma-person { margin-bottom: 12px; }
.ma-person .card-body { padding: 14px; }
.ma-person-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ma-person .form-check { margin-bottom: 6px; }

.ma-form .form-check { margin: 8px 0; }

.ma-membership { margin-top: 16px; padding: 14px 16px; background: #f8f9fa; border-left: 4px solid #007bff; border-radius: 4px; }
.ma-membership h4 { font-size: 1rem; margin-bottom: 6px; }
.ma-form .form-check-label { font-size: .95rem; }

.ma-sum { margin: 12px 0; }
.ma-sum td:last-child { text-align: right; white-space: nowrap; width: 1%; }
.ma-sum-head th { border-top: none; padding-top: 12px; }
.ma-sum-sub td { font-weight: 600; }
.ma-sum-total td { font-weight: 700; font-size: 1.1rem; border-top: 2px solid #212529; }
.ma-rates td:last-child { text-align: right; white-space: nowrap; }

.ma-details { margin: 10px 0; }
.ma-details summary { cursor: pointer; color: #007bff; }
.ma-text { max-height: 340px; overflow-y: auto; padding: 10px 14px; margin-top: 8px; background: #f8f9fa; border-radius: 4px; font-size: .85rem; }
.ma-text h4 { font-size: .95rem; margin: 12px 0 4px; }

.ma-sign-label { display: block; margin-top: 12px; }
.ma-sign { position: relative; border: 2px dashed #adb5bd; border-radius: 6px; background: #fff; }
.ma-sign canvas { display: block; width: 100%; height: 180px; touch-action: none; cursor: crosshair; }
.ma-sign-clear { position: absolute; top: 6px; right: 6px; }
.ma-sign.is-invalid { border-color: #dc3545; }

.ma-error { color: #dc3545; font-size: .85rem; margin-top: 4px; }
.ma-form .is-invalid ~ .form-check-label { color: #dc3545; }
.ma-submit { width: 100%; margin-top: 16px; }

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

@media (min-width: 768px) {
    .ma-submit { width: auto; }
}
