/* Public forms (form/{slug}) */
.nzs-form-page { background: var(--paper, #F4F6FA); padding: 48px 0 80px; }
.nzs-form { max-width: 780px; margin: 0 auto; }

.nzs-form-head { background: #fff; border-radius: 22px; border-top: 8px solid var(--lime, #B5F23D); padding: 30px 34px 20px; margin-bottom: 16px; box-shadow: 0 6px 20px -12px rgba(6, 20, 46, .25); }
.nzs-form-head h1 { font-family: var(--display, inherit); font-size: 32px; font-weight: 800; color: var(--ink, #0B1220); margin: 0 0 14px; line-height: 1.25; letter-spacing: -.5px; }
.nzs-form-intro { font-size: 16px; line-height: 1.75; color: #3d4757; }
.nzs-form-intro p:last-child { margin-bottom: 0; }
.nzs-form-req { margin: 16px 0 0; font-size: 13px; color: #6b7686; }
.nzs-form-req span, .nzs-star { color: #d93025; font-weight: 700; }

.nzs-banner { background: #e8f0fe; color: #1a3d7c; border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; font-size: 14.5px; }
.nzs-banner a { font-weight: 700; text-decoration: underline; }
.nzs-banner-ok { background: #e6f4ea; color: #1e5e2e; }
.nzs-banner-warn { background: #fff4e5; color: #8a5300; }
.nzs-banner-err { background: #fdecea; color: #a1281d; }

.nzs-progress { background: #fff; border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; }
.nzs-progress-text { font-size: 13px; font-weight: 600; color: #5b6676; margin-bottom: 8px; }
.nzs-progress-bar { height: 6px; background: #e3e8f0; border-radius: 6px; overflow: hidden; }
.nzs-progress-bar i { display: block; height: 100%; width: 0; background: var(--deep, #06142E); border-radius: 6px; transition: width .25s; }

.nzs-section-head { background: var(--deep, #06142E); color: #fff; border-radius: 16px; padding: 18px 24px; margin-bottom: 14px; border-left: 6px solid var(--lime, #B5F23D); }
.nzs-section-head h2 { font-size: 21px; font-weight: 700; margin: 0; color: #fff; }
.nzs-section-head p { margin: 6px 0 0; opacity: .9; font-size: 14.5px; }

.nzs-field { background: #fff; border-radius: 18px; padding: 22px 24px; margin-bottom: 14px; border: 1px solid transparent; box-shadow: 0 1px 4px rgba(15, 31, 61, .04); }
.nzs-field.has-error { border-color: #d93025; }
.nzs-label { display: flex; gap: 8px; font-size: 17px; font-weight: 600; color: #0f1f3d; line-height: 1.5; margin-bottom: 4px; }
.nzs-qnum { color: var(--blue, #1E56C8); flex: none; }
.nzs-help { font-size: 14px; color: #6b7686; margin: 0 0 8px; padding-left: 26px; }
.nzs-input { margin-top: 12px; padding-left: 26px; }
.nzs-input .form-control { height: auto; min-height: 46px; padding: 10px 14px; border-radius: 8px; border: 1px solid #cdd5e0; font-size: 16px; }
.nzs-input .form-control:focus { border-color: var(--blue, #1E56C8); box-shadow: 0 0 0 4px rgba(30, 86, 200, .12); }
.nzs-input textarea.form-control { min-height: 110px; }

.nzs-choices { display: flex; flex-direction: column; gap: 4px; }
.nzs-choice { display: flex; align-items: flex-start; gap: 12px; padding: 9px 12px; margin: 0; border-radius: 8px; cursor: pointer; font-size: 16px; font-weight: 400; color: #273142; line-height: 1.45; }
.nzs-choice:hover { background: #f3f6fb; }
.nzs-choice input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--deep, #06142E); }
.nzs-other { margin: 6px 0 4px 44px; display: none; }
.nzs-other.show { display: block; }
.nzs-other-label { font-size: 13.5px; color: #5b6676; margin-bottom: 5px; }
/* keep questions clear of the site's sticky header when scrolled to */
#nzs_form, .nzs-field { scroll-margin-top: 140px; }
select.form-control + .nzs-other { margin-left: 0; margin-top: 10px; }

.nzs-error { color: #d93025; font-size: 14px; margin-top: 8px; padding-left: 26px; }
.nzs-error:empty { display: none; }
.nzs-link-btn { background: none; border: 0; padding: 0; color: var(--blue, #1E56C8); font-weight: 700; text-decoration: underline; cursor: pointer; }
.nzs-sent { color: #1e7e34; font-weight: 600; }

.nzs-heading { background: transparent; box-shadow: none; padding: 8px 4px 0; }
.nzs-heading h3 { font-size: 19px; font-weight: 700; color: #0f1f3d; margin: 0 0 6px; }
.nzs-heading p { color: #4b5566; margin: 0; }

.nzs-form-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 22px; }
.nzs-form-nav #nzs_next, .nzs-form-nav #nzs_submit { margin-left: auto; }
.nzs-form-page .nzs-btn { background: var(--deep, #06142E); color: #fff; border: 0; border-radius: 999px; padding: 14px 36px; font-size: 16px; }
.nzs-form-page .nzs-btn:hover { background: var(--deep-2, #0B2350); color: #fff; }
.nzs-form-page .nzs-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.nzs-form-page .nzs-btn-ghost { background: #fff; color: var(--ink, #0B1220); border: 1.5px solid #cdd5e0; }
.nzs-form-page .nzs-btn-ghost:hover { background: #f3f6fb; color: var(--ink, #0B1220); }
.nzs-form-page .nzs-btn-sm { padding: 10px 18px; font-size: 14px; }
.nzs-form-page .nzs-btn-wa { background: #25d366; } .nzs-form-page .nzs-btn-wa:hover { background: #1ebe5a; }
.nzs-form-page .nzs-btn-fb { background: #1877f2; } .nzs-form-page .nzs-btn-fb:hover { background: #1465d0; }

.nzs-form-foot { font-size: 13px; color: #7a8494; text-align: center; margin-top: 26px; }
.nzs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* thank-you / message pages */
.nzs-form-done { background: #fff; border-radius: 24px; padding: 40px 36px; text-align: center; box-shadow: 0 2px 10px rgba(4, 63, 157, .06); }
.nzs-form-done h1 { font-family: var(--display, inherit); font-size: 30px; font-weight: 800; color: var(--ink, #0B1220); margin: 16px 0 10px; }
.nzs-done-icon { width: 68px; height: 68px; border-radius: 50%; background: #e6f4ea; color: #1e7e34; display: inline-flex; align-items: center; justify-content: center; font-size: 30px; }
.nzs-done-icon-info { background: #e8f0fe; color: var(--blue, #1E56C8); }
.nzs-done-msg { font-size: 16px; color: #3d4757; line-height: 1.7; }
.nzs-done-box { text-align: left; background: #f6f8fc; border-radius: 12px; padding: 18px 20px; margin-top: 18px; }
.nzs-done-box p { margin: 4px 0 12px; color: #5b6676; font-size: 14px; }
.nzs-copy { display: flex; gap: 8px; }
.nzs-copy .form-control { font-size: 13.5px; }
.nzs-share { display: flex; gap: 8px; flex-wrap: wrap; }
.nzs-home-link { display: inline-block; margin-top: 24px; color: var(--blue, #1E56C8); font-weight: 600; }

@media (max-width: 575px) {
    .nzs-form-page { padding: 20px 0 48px; }
    .nzs-form-head { padding: 22px 18px 14px; }
    .nzs-form-head h1 { font-size: 24px; }
    .nzs-field { padding: 18px 16px; }
    .nzs-label { font-size: 16px; }
    .nzs-help, .nzs-input, .nzs-error { padding-left: 0; }
    .nzs-other { margin-left: 32px; }
    .nzs-btn { padding: 13px 22px; }
    .nzs-form-done { padding: 30px 18px; }
    .nzs-copy { flex-direction: column; }
}
.nzs-form [hidden] { display: none !important; }

/* the site design also uses .nzs-section for page sections; form steps need no padding */
.nzs-form .nzs-section { padding: 0; }
