/* Frontend Custom Forms */
.np-cf-form { margin: 24px 0; }
.np-cf-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.np-cf-width-full { grid-column: 1 / -1; }
.np-cf-width-half { grid-column: span 1; }
@media (max-width: 640px) {
    .np-cf-fields { grid-template-columns: 1fr; }
    .np-cf-width-half { grid-column: 1 / -1; }
}
.np-cf-label { display: block; font-weight: 600; font-size: .88rem; color: var(--np-text, #0f172a); margin-bottom: 6px; }
.np-cf-input, .np-cf-form select.np-cf-input, .np-cf-form textarea.np-cf-input {
    width: 100%; padding: 12px 14px; border: 1px solid var(--np-border, #e2e8f0);
    border-radius: var(--np-radius, 12px); background: var(--np-input-bg, #f0f4f8);
    font: inherit; color: var(--np-text); transition: border-color .2s, box-shadow .2s;
}
.np-cf-input:focus { outline: none; border-color: var(--np-secondary, #3b82f6); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.np-cf-help { display: block; font-size: .8rem; color: var(--np-text-muted, #64748b); margin-top: 4px; }
.np-cf-check, .np-cf-radio { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; cursor: pointer; font-size: .92rem; }
.np-cf-check input, .np-cf-radio input { margin-top: 3px; accent-color: var(--np-secondary); }
.np-cf-check-group, .np-cf-radio-group { margin-top: 6px; }
.np-cf-heading { margin: 8px 0 0; font-size: 1.15rem; color: var(--np-text); }
.np-cf-paragraph { margin: 0; color: var(--np-text-muted); line-height: 1.6; }
.np-cf-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.np-cf-submit { cursor: pointer; border: none; min-width: 160px; }
.np-cf-submit:disabled { opacity: .65; cursor: wait; }
.np-cf-message { font-size: .92rem; font-weight: 500; }
.np-cf-message.is-success { color: #16a34a; }
.np-cf-message.is-error { color: #dc2626; }
.np-cf-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }
.np-cf-embed { margin: 28px 0; }
.np-cf-embed .np-cf-form { background: var(--np-surface, #fff); border: 1px solid var(--np-border); border-radius: var(--np-radius-lg, 16px); padding: 28px 24px; box-shadow: 0 4px 24px rgba(15,23,42,.06); }
.np-cf-placeholder { padding: 24px; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px; color: #64748b; text-align: center; }
.np-form-missing { color: #dc2626; padding: 16px; background: #fef2f2; border-radius: 8px; }
