/* HM CORP Khalil Zainol · Custom Sales + Recruitment form parity
   Field content/flow from approved Kellie & Azrul Custom cards, visual tone from Khalil. */
.kz-standard-forms{background:#f1f8f6;scroll-margin-top:65px}
.kz-standard-forms .consult-layout{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:45px;align-items:start}
.kz-standard-forms .section-title i{display:block;margin-top:2px}
.kz-standard-forms .section-desc{font-size:14px;line-height:1.8}
.kz-standard-forms .consult-side-note{font-size:12px;line-height:1.7}
.kz-form-card{padding:26px 26px 28px!important;background:#fff!important;border:1px solid #d6e8e5!important;border-radius:22px!important;box-shadow:0 18px 44px #12464613!important;color:#1a343c}
.kz-form-heading{padding-bottom:18px;margin-bottom:16px;border-bottom:1px solid #e2eeee}
.kz-form-heading-top{display:flex;gap:13px;align-items:center;margin-bottom:10px}
.kz-form-heading .kz-form-badge{height:43px;width:43px;display:grid;place-items:center;flex:none;border-radius:14px;background:#def4ed;color:#078b86}
.kz-form-heading svg{height:23px;width:23px}
.kz-form-heading h3{font-size:clamp(21px,2.4vw,27px);font-weight:850;letter-spacing:-.045em;line-height:1.22;margin:0;color:#183940}
.kz-form-heading p{color:#607981;font-size:13px;margin:0;line-height:1.7}
.kz-form .quote-progress{margin-bottom:19px}
.kz-form .quote-progress-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;font-weight:850;color:#247870;letter-spacing:.01em;margin-bottom:10px}
.kz-form .quote-progress-meta span:last-child{color:#69808a;font-weight:750;text-align:right}
.kz-form .quote-progress-bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.kz-form .quote-progress-bars span{height:5px;border-radius:30px;background:#e6f0ef;transition:background .2s}
.kz-form .quote-progress-bars span.is-active{background:#079186}
.kz-form .quote-step{min-width:0}
.kz-form .quote-step[hidden],.kz-career-form[hidden]{display:none!important}
.kz-form .quote-step-title{font-size:20px;color:#1a373e;letter-spacing:-.045em;line-height:1.32;font-weight:850;margin:0 0 19px}
.kz-form .field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;font-size:13px}
.kz-form .field-label{display:block;margin-bottom:6px;font-weight:800;color:#304d55;font-size:12px;line-height:1.5}
.kz-form .required{color:#d83a62}
.kz-form .input{
 box-sizing:border-box;width:100%;min-height:48px;appearance:none;-webkit-appearance:none;
 padding:12px 14px;background:#f9fcfb;border:1px solid #d1e4e0;
 border-radius:12px;color:#173b44;font:500 16px/1.4 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 transition:border-color .18s,box-shadow .18s;max-width:100%;
}
.kz-form select.input{padding-right:34px;background:#f9fcfb url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234b7573" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E') right 11px center / 17px 17px no-repeat}
.kz-form textarea.input{resize:vertical;min-height:98px;max-height:230px}
.kz-form .input:focus{outline:none;border-color:#119a8b;box-shadow:0 0 0 3px #0d928421}
.kz-form .input::placeholder{color:#9aaeb2}
.kz-form .selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:19px}
.kz-form .selector input{position:absolute;width:1px;height:1px;opacity:0}
.kz-form .selector label{display:flex;justify-content:center;align-items:center;cursor:pointer;min-height:46px;text-align:center;border:1px solid #d7e7e4;background:#f7fbfa;border-radius:12px;padding:10px 4px;color:#46676d;font-size:12px;font-weight:800;line-height:1.25}
.kz-form .selector input:checked+label{background:#def5ee;border-color:#0b9486;color:#116e65;box-shadow:inset 0 0 0 1px #138e7f}
.kz-form .selector input:focus-visible+label{outline:3px solid #119c8d;outline-offset:3px}
.kz-form .checks-label{font-size:12px;color:#789099;margin:-2px 0 11px}
.kz-form .check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:17px}
.kz-form .check-item{display:flex;align-items:center;gap:9px;min-height:49px;border:1px solid #d7e8e5;border-radius:12px;padding:11px;background:#f8fcfb;color:#375c63;font-size:12px;font-weight:750;cursor:pointer;line-height:1.4}
.kz-form .check-item:has(input:checked){background:#e0f6ee;border-color:#28a493;color:#126e65}
.kz-form .check-item input,.kz-form .privacy-consent input{accent-color:#078b86;width:18px;height:18px;flex:none}
.kz-form .fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:13px;row-gap:0}
.kz-form .fields-grid>.field:only-child,.kz-form .fields-grid>.field:last-child:nth-child(odd){grid-column:1/-1}
.kz-form .dob-field{grid-column:1/-1}
.kz-form .dob-selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.kz-form .dob-select{min-width:0!important;padding-left:9px!important;padding-right:25px!important;font-size:15px!important}
.kz-form .gender-smoking-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.kz-form .privacy-note{border-left:3px solid #0ca394;background:#edf8f5;padding:12px 14px;border-radius:0 10px 10px 0;font-size:12px;color:#49747b;line-height:1.6;margin:-4px 0 18px}
.kz-form .privacy-consent{display:flex;align-items:flex-start;gap:10px;background:#f5faf9;padding:12px;border:1px solid #dce9e6;border-radius:12px;color:#536f77;font-size:12px;line-height:1.6;cursor:pointer;margin:11px 0 18px}
.kz-form .privacy-consent strong{color:#1d5056}
.kz-form .privacy-consent a{color:#087e72}
.kz-form .step-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:13px;align-items:center;flex-wrap:wrap}
.kz-form .form-submit,.kz-form .step-back,.kz-career-toggle,.kz-career-close{
 min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
 border-radius:12px;padding:12px 19px;font-size:12px;line-height:1.35;font-weight:850;
 border:1px solid transparent;cursor:pointer;text-decoration:none;
 transition:background .2s,border-color .2s,transform .2s;
}
.kz-form .form-submit,.kz-career-toggle{background:#078b86;color:#fff;border-color:#078b86;box-shadow:0 6px 18px #078b861f}
.kz-form .form-submit:hover,.kz-career-toggle:hover{background:#076962}
.kz-form .step-back,.kz-career-close{background:#eef6f4;color:#335f61;border-color:#d7e9e5}
.kz-form .step-back:hover,.kz-career-close:hover{background:#e4f2ef}
.kz-form .form-submit:focus-visible,.kz-form .step-back:focus-visible,.kz-career-toggle:focus-visible,.kz-career-close:focus-visible{outline:3px solid #078b86;outline-offset:3px}
.kz-form .disclaimer{font-size:11px;line-height:1.65;color:#78939a;margin:15px 0 0}
.kz-form .quote-help{border-top:1px solid #e6f0ed;padding-top:15px;margin:16px 0 0;font-size:12px;line-height:1.55;color:#68818a}
.kz-form .quote-help button{border:none;background:none;padding:2px 0;color:#087e73;font-weight:850;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-size:12px}
.kz-form .form-error{margin:13px 0 0;font-size:12px;color:#b02c51;font-weight:700;line-height:1.55;min-height:0}
.kz-form .form-error:empty{display:none}
.kz-privacy{margin:17px 0 0;font-size:12px;color:#567078;max-width:475px}
.kz-privacy summary{cursor:pointer;color:#0f756d;font-weight:800;list-style-position:inside}
.kz-privacy p{font-size:12px;line-height:1.65;margin:10px 0 0}
.kz-career .career-layout{align-items:start}
.kz-career .career-main{min-width:0}
.kz-career .career-facts{margin-bottom:22px}
.kz-career-toggle{width:auto;max-width:100%}
.kz-career-toggle .kz-chevron{width:19px;height:19px;transition:transform .2s}
.kz-career-toggle[aria-expanded="true"] .kz-chevron{transform:rotate(180deg)}
.kz-career .career-photo{max-width:360px}
.kz-career-form{margin-top:30px;padding:25px;border:1px solid #dceae7;border-radius:23px;background:#f4fafa;box-shadow:0 14px 30px #1648440c;max-width:850px}
.kz-career-form h3{font-size:24px;color:#1a3a42;letter-spacing:-.04em;margin:0 0 7px;font-weight:850}
.kz-career-form .kz-career-sub{color:#657f85;font-size:13px;line-height:1.7;margin:0 0 20px}
.kz-career-form .form-submit{width:auto}
.kz-career-form .kz-career-close{margin-top:16px}
@media(max-width:760px){
 .kz-standard-forms .consult-layout{grid-template-columns:1fr;gap:28px}
 .kz-career-form{max-width:none}
 .kz-career .career-photo{max-width:310px}
}
@media(max-width:510px){
 .kz-standard-forms{padding:57px 0}
 .kz-form-card{padding:19px 17px 22px!important;border-radius:19px!important}
 .kz-form-heading h3{font-size:22px}
 .kz-form .quote-step-title{font-size:18px}
 .kz-form .selector{gap:6px}
 .kz-form .selector label{font-size:11px;min-height:48px;padding:8px 3px}
 .kz-form .check-grid{grid-template-columns:1fr}
 .kz-form .fields-grid{grid-template-columns:1fr}
 .kz-form .gender-smoking-row{grid-template-columns:1fr;gap:0}
 .kz-form .fields-grid>.field{grid-column:1/-1}
 .kz-form .step-actions{justify-content:stretch}
 .kz-form .step-actions .form-submit{flex:1}
 .kz-career-form{padding:18px 16px;border-radius:18px}
 .kz-career-form h3{font-size:21px}
 .kz-career-form .form-submit{width:100%}
}
@media(prefers-reduced-motion:reduce){.kz-form .form-submit,.kz-form .step-back,.kz-career-toggle,.kz-career-close{transition:none}}
