.ncrm-form-popup-button{padding:11px 18px;border:0;background:linear-gradient(135deg,#111827,#1f2937);color:#fff;border-radius:999px;cursor:pointer;font-size:14px;font-weight:700;line-height:1.2;transition:all 0.25s ease;margin:12px auto;display:block;box-shadow:0 10px 25px rgba(17,24,39,0.22)}.ncrm-form-popup-button.hide{display:none}.ncrm-form-popup-button:hover{background:linear-gradient(135deg,#2563eb,#4f46e5);transform:translateY(-2px);box-shadow:0 14px 32px rgba(37,99,235,0.28)}.ncrm-form-wrapper{position:relative;width:min(760px,100%);max-height:90vh;overflow-y:auto;background:rgba(255,255,255,0.96);backdrop-filter:blur(14px);margin:10vh auto;padding:32px;border:1px solid rgba(229,231,235,0.9);border-radius:22px}.ncrm-form-wrapper.boxed_layout{box-shadow:0 35px 90px rgba(15,23,42,0.24)}@keyframes ncrmSpin{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(360deg)}}.ncrm-form-wrapper .ncrm-preview-form{position:relative;display:flex;flex-direction:column;gap:18px;background:#fff;border-radius:10px;padding:20px}.ncrm-form-wrapper .ncrm-preview-form.loading{opacity:0.55;pointer-events:none;user-select:none}.ncrm-form-wrapper .ncrm-preview-form.loading:before{content:"";position:absolute;top:50%;left:50%;width:46px;height:46px;border-radius:50%;border:4px solid #e5e7eb;border-top-color:#2563eb;animation:ncrmSpin 0.8s linear infinite;z-index:10}.ncrm-form-wrapper .ncrm-preview-form .ncrm-error{margin-top:8px;padding:11px 14px;border-radius:12px;font-size:13px;font-weight:700;display:none}.ncrm-form-wrapper .ncrm-preview-form .ncrm-error.ncrm-error-msg{display:block;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.ncrm-form-wrapper .ncrm-preview-form .ncrm-error.ncrm-success-msg{display:block;color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.ncrm-form-wrapper .ncrm-preview-columns{display:flex;gap:18px;width:100%}@media (max-width:640px){.ncrm-form-wrapper .ncrm-preview-columns{flex-direction:column;gap:14px}}.ncrm-form-wrapper .ncrm-preview-column{display:flex;flex-direction:column;gap:16px}@media (max-width:640px){.ncrm-form-wrapper .ncrm-preview-column{width:100%!important}}.ncrm-form-wrapper .ncrm-preview-field{width:100%}.ncrm-form-wrapper .ncrm-preview-field .field-label,.ncrm-form-wrapper .ncrm-preview-field label{display:block;margin-bottom:8px;font-size:13px;font-weight:700;color:#374151}.ncrm-form-wrapper .ncrm-preview-field input,.ncrm-form-wrapper .ncrm-preview-field select,.ncrm-form-wrapper .ncrm-preview-field textarea{width:100%;min-height:44px;padding:11px 13px;box-sizing:border-box;border:1px solid #d1d5db;border-radius:12px;background:#f9fafb;color:#111827;font-size:14px;outline:none;transition:all 0.22s ease}.ncrm-form-wrapper .ncrm-preview-field input:focus,.ncrm-form-wrapper .ncrm-preview-field select:focus,.ncrm-form-wrapper .ncrm-preview-field textarea:focus{background:#fff;border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,0.12)}.ncrm-form-wrapper .ncrm-preview-field input::placeholder,.ncrm-form-wrapper .ncrm-preview-field select::placeholder,.ncrm-form-wrapper .ncrm-preview-field textarea::placeholder{color:#9ca3af}.ncrm-form-wrapper .ncrm-preview-field textarea{min-height:105px;resize:vertical}.ncrm-form-wrapper .ncrm-preview-field input[type=checkbox],.ncrm-form-wrapper .ncrm-preview-field input[type=radio]{width:18px;height:18px;min-height:auto;margin:0 7px 0 0;cursor:pointer;accent-color:#2563eb}.ncrm-form-wrapper .ncrm-preview-field input[type=checkbox]+label,.ncrm-form-wrapper .ncrm-preview-field input[type=radio]+label{display:inline;margin:0}.ncrm-form-wrapper .ncrm-preview-field .ncrm-checkbox-inline,.ncrm-form-wrapper .ncrm-preview-field .ncrm-radio-inline{display:flex;align-items:center;gap:8px;cursor:pointer;flex-wrap:wrap}.ncrm-form-wrapper .ncrm-preview-field .ncrm-checkbox-inline label,.ncrm-form-wrapper .ncrm-preview-field .ncrm-radio-inline label{margin:0;font-weight:600;color:#374151}.ncrm-form-wrapper .ncrm-preview-field .ncrm-inline-select{display:flex;align-items:center;gap:8px}.ncrm-form-wrapper .ncrm-preview-field .ncrm-inline-select select{width:100%}.ncrm-form-wrapper .ncrm-preview-field.ncrm-inline-field{display:flex;align-items:center;gap:8px;flex-direction:row}.ncrm-form-wrapper .ncrm-preview-field.ncrm-inline-field label{margin-bottom:0}.ncrm-form-wrapper .ncrm-preview-field.ncrm-inline-field .ncrm-checkbox-inline,.ncrm-form-wrapper .ncrm-preview-field.ncrm-inline-field .ncrm-radio-inline{flex-direction:row;align-items:center;width:100%}.ncrm-form-wrapper .ncrm-preview-field a{color:#2563eb;font-weight:700;text-decoration:none}.ncrm-form-wrapper .ncrm-preview-field a:hover{text-decoration:underline}.ncrm-form-wrapper button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 18px;border:0;background:linear-gradient(135deg,#111827,#1f2937);color:#fff;border-radius:12px;cursor:pointer;margin:0;font-size:14px;font-weight:700;line-height:1.2;transition:all 0.25s ease;box-shadow:0 10px 22px rgba(17,24,39,0.18)}.ncrm-form-wrapper button:hover{background:linear-gradient(135deg,#2563eb,#4f46e5);transform:translateY(-1px);box-shadow:0 14px 30px rgba(37,99,235,0.25)}.ncrm-form-wrapper img{max-width:100%;height:auto;display:block}.ncrm-form-wrapper a{color:unset;text-decoration:unset;font-weight:unset;display:block}.ncrm-popup-form-embed .ncrm-form-wrapper{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:hidden;margin:6px 0px;box-shadow:none;width:100%;min-height:auto;position:relative}.ncrm-popup-form-embed .ncrm-form-wrapper .ncrm-preview-form{gap:10px;background:transparent;border-radius:0px;padding:0px}.ncrm-popup-form-embed .ncrm-form-wrapper .ncrm-preview-form .ncrm-preview-columns{gap:10px}.ncrm-popup-form-embed .ncrm-form-wrapper .ncrm-preview-form .ncrm-preview-columns .ncrm-preview-column{box-shadow:unset;padding:10px 0px;border-radius:0px}.ncrm-popup-form-embed .ncrm-form-wrapper .ncrm-preview-form .ncrm-preview-columns .ncrm-preview-column button{box-shadow:unset}.ncrm-form-preview{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:30px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 0.28s ease,visibility 0.28s ease}.ncrm-form-preview.active{opacity:1;visibility:visible;pointer-events:auto}.ncrm-form-preview.active .ncrm-form-wrapper{opacity:1;transform:translate3d(0,0,0) scale(1)}.ncrm-form-preview .ncrm-form-preview-close{position:absolute;top:12px;right:12px;width:36px;height:36px;min-height:36px;padding:0;margin:0;border-radius:50%;background:#f3f4f6;color:#111827;font-size:22px;line-height:1;z-index:999;box-shadow:none}.ncrm-form-preview .ncrm-form-preview-close:hover{background:#e5e7eb;transform:rotate(90deg);box-shadow:none}.ncrm-form-preview .ncrm-form-wrapper{width:min(760px,100%);margin:0 auto;padding:36px;opacity:0;transform:translate3d(0,20px,0) scale(0.96);transition:transform 0.34s cubic-bezier(0.22,1,0.36,1),opacity 0.25s ease;overflow:hidden}@media (max-width:600px){.ncrm-form-preview .ncrm-form-wrapper{padding:28px 16px;max-height:88vh}}.ncrm-form-preview.pisition_center{background:rgba(15,23,42,0.55);backdrop-filter:blur(8px)}.ncrm-form-preview.pisition_center .ncrm-form-wrapper{transform:translate3d(0,24px,0) scale(0.94)}.ncrm-form-preview.pisition_center.active .ncrm-form-wrapper{transform:translate3d(0,0,0) scale(1)}.ncrm-form-preview.pisition_center .ncrm-preview-form{background:transparent;border-radius:0px;padding:20px}.ncrm-form-preview:not(.pisition_center){inset:auto;width:min(760px,100% - 24px);padding:0;background:transparent}.ncrm-form-preview:not(.pisition_center) .ncrm-form-wrapper{width:100%;margin:0;box-shadow:0 25px 70px rgba(15,23,42,0.25)}@media (max-width:768px){.ncrm-form-preview:not(.pisition_center) .ncrm-form-wrapper{padding:26px 14px}}.ncrm-form-preview.pisition_bottom_right{bottom:18px;right:18px}.ncrm-form-preview.pisition_bottom_right .ncrm-form-wrapper{transform:translate3d(40px,40px,0) scale(0.96)}.ncrm-form-preview.pisition_bottom_left{bottom:18px;left:18px}.ncrm-form-preview.pisition_bottom_left .ncrm-form-wrapper{transform:translate3d(-40px,40px,0) scale(0.96)}.ncrm-form-preview.pisition_top_right{top:18px;right:18px}.ncrm-form-preview.pisition_top_right .ncrm-form-wrapper{transform:translate3d(40px,-40px,0) scale(0.96)}.ncrm-form-preview.pisition_top_left{top:18px;left:18px}.ncrm-form-preview.pisition_top_left .ncrm-form-wrapper{transform:translate3d(-40px,-40px,0) scale(0.96)}.ncrm-form-preview.pisition_top_center{top:18px;left:50%;transform:translateX(-50%)}.ncrm-form-preview.pisition_top_center .ncrm-form-wrapper{transform:translate3d(0,-40px,0) scale(0.96)}.ncrm-form-preview.pisition_bottom_center{bottom:18px;left:50%;transform:translateX(-50%)}.ncrm-form-preview.pisition_bottom_center .ncrm-form-wrapper{transform:translate3d(0,40px,0) scale(0.96)}.ncrm-form-preview.active.pisition_bottom_center .ncrm-form-wrapper,.ncrm-form-preview.active.pisition_bottom_left .ncrm-form-wrapper,.ncrm-form-preview.active.pisition_bottom_right .ncrm-form-wrapper,.ncrm-form-preview.active.pisition_top_center .ncrm-form-wrapper,.ncrm-form-preview.active.pisition_top_left .ncrm-form-wrapper,.ncrm-form-preview.active.pisition_top_right .ncrm-form-wrapper{transform:translate3d(0,0,0) scale(1)}@media (max-width:640px){.ncrm-form-preview{width:calc(100% - 20px)!important;left:10px!important;right:10px!important;bottom:10px;top:auto;transform:none!important}.ncrm-form-preview.pisition_center{inset:0;width:auto!important;padding:16px}}.ncrm-form-design{display:flex;flex-direction:column;gap:16px}.ncrm-form-preview .ncrm-form-wrapper.ncrm-form-custom-design,.ncrm-form-wrapper.ncrm-form-custom-design{padding:0;border:0;background:transparent;backdrop-filter:none;overflow:visible}.ncrm-form-custom-design .ncrm-preview-column{min-width:0}.ncrm-form-preview .ncrm-form-custom-design .ncrm-form-preview-close{top:-14px;right:-14px}.ncrm-form-custom-design .ncrm-error:empty{display:none}
/* Form field device visibility. */
.ncrm-device-item { display: contents; }
@media (min-width: 1024px) { .ncrm-device-item.ncrm-hide-desktop { display: none !important; } }
@media (min-width: 601px) and (max-width: 1023px) { .ncrm-device-item.ncrm-hide-tablet { display: none !important; } }
@media (max-width: 600px) { .ncrm-device-item.ncrm-hide-mobile { display: none !important; } }
