.smp-reg{--p:#ef4a24;--pd:#a82d10;--ink:#2a1a14;--mut:#7a655d;--bd:#f0dcd5;max-width:820px;margin:0 auto;background:#fff;border:1px solid var(--bd);border-radius:18px;padding:26px;font-family:inherit;color:var(--ink);box-shadow:0 8px 30px rgba(239,74,36,.08)}
.smp-reg *{box-sizing:border-box}
.smp-reg-head{text-align:center;margin-bottom:10px}
.smp-reg-badge{display:inline-block;background:#fde6df;color:var(--p);font-weight:700;font-size:11px;letter-spacing:.1em;padding:4px 14px;border-radius:99px}
.smp-reg-head h2{margin:8px 0 4px;color:var(--p);font-size:28px}
.smp-reg-head p{margin:0;color:var(--mut)}
.smp-reg h3{margin:24px 0 10px;padding-bottom:6px;border-bottom:2px solid var(--bd);color:var(--pd);font-size:17px}
.smp-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.smp-wide{grid-column:1/-1}
@media(max-width:620px){.smp-grid{grid-template-columns:1fr}.smp-reg{padding:18px}}
.smp-field label{display:block;font-size:13px;font-weight:600;margin-bottom:4px}
.smp-field input,.smp-field select,.smp-field textarea{width:100%;padding:11px 12px;border:1.5px solid var(--bd);border-radius:10px;font:inherit;background:#fff}
.smp-field input:focus,.smp-field select:focus,.smp-field textarea:focus{outline:none;border-color:var(--p);box-shadow:0 0 0 3px rgba(239,74,36,.15)}
.smp-hp{position:absolute!important;left:-9999px!important;height:0;width:0;opacity:0}
.smp-check{display:flex;gap:8px;align-items:flex-start;margin:18px 0 8px;font-size:14px}
.smp-btn{display:inline-block;background:var(--p);color:#fff!important;border:0;border-radius:12px;padding:14px 26px;font-size:16px;font-weight:700;cursor:pointer;text-decoration:none;width:100%;text-align:center}
.smp-btn:hover{background:var(--pd)}.smp-btn[disabled]{opacity:.6;cursor:wait}
.smp-wa{background:#25d366;margin-top:10px}.smp-wa:hover{background:#1da851}
.smp-msg{color:#b3271e;font-weight:600;min-height:20px;margin:6px 0}
.smp-ok{text-align:center;padding:20px 0}.smp-ok-ic{width:64px;height:64px;border-radius:50%;background:#0f9d6a;color:#fff;font-size:34px;line-height:64px;margin:0 auto 10px}
.smp-foot{text-align:center;color:var(--mut);font-size:12px;margin-top:20px}

/* ===== Skim warna KBC v2 — oren, kuning & krim; mesra telefon ===== */
.smp-reg{--p:#ef4a24;--pd:#a82d10;--sun:#ffb02e;--cream:#fff7f1;--bd:#f3ddd3;border:0;border-radius:22px;padding:0 0 22px;overflow:hidden;box-shadow:0 12px 40px rgba(168,45,16,.14)}
.smp-reg>*:not(.smp-reg-head){margin-left:24px;margin-right:24px}
.smp-reg-head{margin:0 0 6px!important;padding:26px 20px 22px;background:linear-gradient(135deg,#a82d10 0%,#ef4a24 55%,#ffb02e 130%);position:relative}
.smp-reg-head:after{content:"";position:absolute;right:-30px;top:-30px;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.12)}
.smp-reg-head h2{color:#fff;font-size:27px;margin:10px 0 4px;position:relative}
.smp-reg-head p{color:rgba(255,255,255,.92);font-size:14px;position:relative}
.smp-reg-badge{background:#fff;color:var(--pd);position:relative}
.smp-reg h3{display:flex;align-items:center;gap:8px;border:0;background:var(--cream);border-left:5px solid var(--sun);padding:10px 14px;border-radius:10px;color:var(--pd);font-size:16px;margin:26px 0 12px}
.smp-field label{color:#5a3a30;font-size:13.5px}
.smp-field input,.smp-field select,.smp-field textarea{background:#fffdfb;border:1.5px solid var(--bd);border-radius:12px;padding:13px 14px;font-size:16px;min-height:48px}
.smp-field input:hover,.smp-field select:hover,.smp-field textarea:hover{border-color:#f0b9a6}
.smp-field input:focus,.smp-field select:focus,.smp-field textarea:focus{border-color:var(--p);box-shadow:0 0 0 4px rgba(255,176,46,.28);background:#fff}
.smp-check{background:var(--cream);border:1.5px solid var(--bd);border-radius:12px;padding:12px 14px;margin:8px 0;font-size:15px;line-height:1.4;cursor:pointer}
.smp-check input{width:20px;height:20px;accent-color:var(--p);flex:none;margin-top:1px}
.smp-check:has(input:checked){border-color:var(--p);background:#ffece4}
.smp-btn{background:linear-gradient(135deg,#ef4a24,#ff7a2e);box-shadow:0 8px 20px rgba(239,74,36,.32);border-radius:14px;padding:16px 26px;font-size:17px;min-height:54px;transition:transform .15s}
.smp-btn:hover{background:linear-gradient(135deg,#a82d10,#ef4a24)}.smp-btn:active{transform:scale(.98)}
.smp-ok-ic{background:linear-gradient(135deg,#0f9d6a,#35c48e)}
@media(max-width:620px){
  .smp-reg{border-radius:0;box-shadow:none}
  .smp-reg>*:not(.smp-reg-head){margin-left:16px;margin-right:16px}
  .smp-reg-head{padding:22px 16px 18px}.smp-reg-head h2{font-size:23px}
}

/* ===== Compact (borang jawatan /kerjaya) ===== */
#smp-job{max-width:760px}
#smp-job .smp-reg-head{padding:14px 16px 12px}
#smp-job .smp-reg-head h2{font-size:20px;margin:6px 0 2px}
#smp-job .smp-reg-head p{font-size:12.5px}
#smp-job .smp-reg-badge{font-size:10px;padding:2px 10px}
#smp-job h3{margin:14px 0 8px;padding:6px 10px;font-size:14px;border-radius:8px}
#smp-job .smp-grid{gap:8px 10px;grid-template-columns:repeat(3,1fr)}
#smp-job .smp-grid .smp-wide{grid-column:1/-1}
#smp-job .smp-field label{font-size:12px;margin-bottom:2px}
#smp-job .smp-field input,#smp-job .smp-field select,#smp-job .smp-field textarea{padding:8px 10px;min-height:38px;font-size:15px;border-radius:9px}
#smp-job .smp-field textarea{min-height:56px}
#smp-job .smp-wide .smp-check{display:inline-flex;width:auto;margin:3px 4px 3px 0;padding:6px 11px;font-size:13px;border-radius:99px}
#smp-job .smp-check input{width:16px;height:16px}
#smp-job .smp-btn{padding:12px;min-height:46px;font-size:16px}
#smp-job .smp-foot{margin-top:10px}
@media(max-width:620px){#smp-job .smp-grid{grid-template-columns:1fr 1fr}#smp-job .smp-grid .smp-field{grid-column:span 1}#smp-job .smp-grid .smp-wide{grid-column:1/-1}}
@media(max-width:380px){#smp-job .smp-grid{grid-template-columns:1fr}}

/* ===== v1.16.4 — borang jawatan: padat & kemas ===== */
#smp-job{background:#fff;box-shadow:0 10px 34px rgba(168,45,16,.13);border-radius:20px}
#smp-job .smp-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:8px 10px}
#smp-job .smp-grid>.smp-field{grid-column:span 6}
#smp-job .smp-grid>.smp-wide{grid-column:1/-1}
#smp-job-form>.smp-grid:nth-of-type(1)>.smp-field:nth-child(1){grid-column:span 6}
#smp-job-form>.smp-grid:nth-of-type(1)>.smp-field:nth-child(2),#smp-job-form>.smp-grid:nth-of-type(1)>.smp-field:nth-child(3){grid-column:span 3}
#smp-job-form>.smp-grid:nth-of-type(1)>.smp-field:nth-child(4),#smp-job-form>.smp-grid:nth-of-type(1)>.smp-field:nth-child(5){grid-column:span 3}
#smp-job-form>.smp-grid:nth-of-type(1)>.smp-field:nth-child(6){grid-column:span 6}
#smp-job-form>.smp-grid:nth-of-type(4)>.smp-field:nth-child(1){grid-column:span 4}
#smp-job-form>.smp-grid:nth-of-type(4)>.smp-field:nth-child(2){grid-column:span 8}
#smp-job-form>.smp-grid:nth-of-type(4)>.smp-field:nth-child(3),#smp-job-form>.smp-grid:nth-of-type(5)>.smp-field:nth-child(3){grid-column:1/-1}
#smp-job .smp-field textarea{min-height:48px;height:48px;resize:vertical}
/* tajuk seksyen berikon */
#smp-job h3{box-shadow:0 1px 0 #f3ddd3;margin:12px 0 8px}
#smp-job-form h3:nth-of-type(1):before{content:"👤"}#smp-job-form h3:nth-of-type(2):before{content:"💼"}#smp-job-form h3:nth-of-type(3):before{content:"🎓"}
#smp-job-form h3:nth-of-type(4):before{content:"📈"}#smp-job-form h3:nth-of-type(5):before{content:"✨"}
/* chip kelayakan: kotak semak sejajar */
#smp-job .smp-wide .smp-check{display:inline-flex!important;align-items:center;gap:7px;line-height:1.2;vertical-align:middle}
#smp-job .smp-check input[type=checkbox]{width:16px!important;height:16px!important;min-height:0!important;padding:0!important;margin:0!important;flex:none}
#smp-job .smp-wide .smp-check{margin:2px 3px 2px 0}
#smp-job-form>.smp-check{font-size:12.5px;padding:9px 12px;margin:12px 0 4px}
#smp-job .smp-btn{border-radius:12px}
@media(max-width:620px){
  #smp-job .smp-grid>.smp-field,#smp-job-form>.smp-grid>.smp-field{grid-column:span 6!important}
  #smp-job .smp-grid>.smp-wide,#smp-job-form>.smp-grid>.smp-wide,#smp-job-form>.smp-grid:nth-of-type(1)>.smp-field:nth-child(1),#smp-job-form>.smp-grid:nth-of-type(1)>.smp-field:nth-child(6),#smp-job-form>.smp-grid:nth-of-type(4)>.smp-field:nth-child(n+2),#smp-job-form>.smp-grid:nth-of-type(5)>.smp-field:nth-child(3){grid-column:1/-1!important}
}
