/* SMAFIC Careers v1.15.3 — warm white, graphite and signature orange. */
:root{font-family:system-ui,"Segoe UI",Tahoma,Arial,sans-serif;--ink:#202020;--muted:#6b6b68;--accent:#e9832f;--accent-dark:#bc4e30;--line:#e7e3de;--warm:#faf8f5;--cream:#fff7ed;--good:#24765b;color:var(--ink);background:var(--warm);line-height:1.7}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;direction:rtl}button,input,textarea,select{font:inherit}a{color:inherit}.shell{max-width:1190px;margin:0 auto;padding:0 25px}
.topbar{height:112px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{display:flex;align-items:center;background:white;border-radius:16px;padding:9px 15px;text-decoration:none;min-width:0}.brand-logo{display:block;width:min(230px,45vw);height:auto;max-height:80px;object-fit:contain}.top-home{display:inline-flex;align-items:center;gap:8px;text-decoration:none;border:1px solid #dbd6d0;border-radius:12px;padding:10px 17px;font-weight:750;color:#30302d;background:#fff}.top-home:hover,.btn-alt:hover{border-color:var(--accent);color:var(--accent-dark)}
.hero{position:relative;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr);gap:25px;align-items:center;min-height:294px;overflow:hidden;background:linear-gradient(116deg,#262523 0%,#161616 52%,#35302d 100%);color:#fff;border-radius:23px;padding:35px 47px;border-bottom:6px solid var(--accent)}.hero::before{content:"";position:absolute;left:-65px;top:-100px;width:300px;height:300px;border:60px solid #e9832f0a;border-radius:50%}.hero-copy{position:relative;z-index:1}.eyebrow{display:inline-block;color:#ffc28d;font-size:12px;font-weight:850;letter-spacing:2px}.hero h1{font-size:clamp(28px,4.1vw,49px);line-height:1.3;margin:13px 0}.hero p{font-size:15px;max-width:680px;color:#e5ddd5;margin:0 0 20px}.hero-tags{display:flex;flex-wrap:wrap;gap:9px}.hero-tags span{font-size:12px;padding:6px 12px;border:1px solid #ffbd8944;border-radius:30px;background:#ffffff12}.hero-art{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;text-align:center;color:#fff1e3;direction:ltr;letter-spacing:1px}.art-orbit{width:125px;height:125px;display:grid;place-items:center;border:2px solid #f8a15a99;border-radius:30px;transform:rotate(8deg);box-shadow:0 0 0 15px #e9832f18,0 0 0 35px #e9832f0a}.art-orbit i{font-size:78px;font-weight:900;color:#f79a52;transform:rotate(-8deg);font-style:normal}.hero-art strong{color:#f59c58}
.panel{border-radius:21px;background:#fff;border:1px solid var(--line);box-shadow:0 16px 46px #4b342515;padding:36px;margin:22px auto 0}.form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.kicker{font-size:12px;color:var(--accent-dark);font-weight:850}.form-head h2{font-size:clamp(22px,2.8vw,30px);margin:8px 0;color:#181818}.form-head p{font-size:13px;color:var(--muted);margin:0}.safe-chip{white-space:nowrap;font-size:12px;color:#286e55;background:#f0f8f3;border:1px solid #d3e8d9;border-radius:25px;padding:8px 14px}
.steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:32px 0 26px}.step{min-width:0;display:flex;align-items:center;gap:9px;border:1px solid #e8e6e3;border-radius:12px;padding:12px 10px;color:#807e7b;background:#faf9f8}.step span{flex-shrink:0;display:grid;place-items:center;width:31px;height:31px;background:#efeeec;border-radius:50%;font-weight:900}.step small{font-size:12px;font-weight:800;line-height:1.4}.step.current{background:#fff1e5;color:#8b3c13;border-color:#e99b64}.step.current span{background:linear-gradient(135deg,var(--accent),var(--accent-dark));color:#fff}.step.done-step{color:#24765b;background:#f1faf5;border-color:#d5e9dd}.step.done-step span{background:#dcf2e6}.stage{margin:0;min-width:0;border:1px solid #e5e4e1;border-radius:16px;padding:24px 25px 16px;background:#fff}.stage[hidden],#job-back[hidden],#job-next[hidden],#job-submit[hidden]{display:none!important}.stage legend{font-size:19px;font-weight:900;color:#2d2a28;padding:0 12px}.stage legend span{display:inline-grid;place-items:center;background:#fff0e3;width:30px;height:30px;border-radius:50%;font-size:13px;color:#ac5425;margin-left:8px}.stage-desc{font-size:13px;color:#797775;margin:0 0 19px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px}.fields>.wide{grid-column:1/-1}label{display:block;font-size:13px;font-weight:750;color:#34312d;margin-bottom:15px}input:not([type=checkbox]),textarea,select{width:100%;display:block;background:#fff;border:1px solid #d7d4d0;border-radius:10px;min-height:46px;padding:10px 12px;margin-top:8px;color:#302b27;outline:none}input:focus,textarea:focus,select:focus{border-color:#e8873c;box-shadow:0 0 0 3px #e9832f24}textarea{resize:vertical;min-height:90px}input[type=checkbox]{accent-color:var(--accent-dark)}.form-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;padding-top:24px}.btn-primary,.btn-alt{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;text-decoration:none;cursor:pointer;border-radius:11px;min-height:47px;padding:11px 22px;font-weight:850}.btn-primary{color:#fff;background:linear-gradient(107deg,#e9802d,#c45632);box-shadow:0 8px 21px #cc76302d}.btn-primary:hover{background:#bd4a29}.btn-primary:disabled{opacity:.6;cursor:wait}.btn-alt{color:#5c4333;background:#fff8f1;border-color:#f1d5b9}.progress-copy{margin-inline:auto;color:#827b76;font-size:13px}.upload-box{background:#fdf9f4;padding:16px;border:1px dashed #e3af83;border-radius:12px}.upload-box label{margin:0}.upload-box small{color:#807a74}.consent{display:flex;align-items:flex-start;gap:11px;line-height:1.8;margin-top:22px;font-weight:650}.consent input{margin-top:6px;flex-shrink:0}.privacy{color:#837a70;font-size:12px}.error{background:#fff1f1;color:#922f29;border:1px solid #f1bcb4;padding:14px 18px;border-radius:10px;margin:19px 0}.done{text-align:center;max-width:900px;padding:65px 25px}.done h2{font-size:29px}.done p{color:#635b53}.done-icon{margin:auto;background:#f0faf3;color:#24765b;width:66px;height:66px;display:grid;place-items:center;border-radius:50%;font-size:38px}.receipt-number{display:inline-block;background:#fff2e6;border:1px solid #f1d0b3;color:#633d26;padding:7px 17px;border-radius:9px}.company-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.company-options a{display:flex;justify-content:space-between;text-decoration:none;padding:18px;border-radius:12px;background:#fff8f1;border:1px solid #e9d4c0;color:#95501f;font-weight:800}.section-intro{display:flex;align-items:center;gap:13px}.section-no{font-size:23px;font-weight:900;color:#c35c24}.section-intro h2{margin:0}.trap{position:absolute;left:-10000px;top:-10000px}footer{display:flex;justify-content:space-between;gap:10px;color:#8a8178;padding:27px 8px;font-size:12px}
/* Language checkbox matrix: three languages × three skills. */
.language-panel{border:1px solid #e8e2dc;border-radius:12px;background:#fcfaf8;overflow:hidden;margin:7px 0 18px}.lang-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;padding:13px 16px}.lang-title strong{font-size:14px}.lang-title small{color:#766f68}.language-scroll{width:100%;overflow-x:auto}.language-grid{border-collapse:collapse;min-width:420px;width:100%;text-align:center}.language-grid thead{background:#f4efe9}.language-grid th,.language-grid td{padding:10px 12px;border-top:1px solid #e9e3dd}.language-grid tbody th{text-align:right;font-weight:750}.language-check{display:inline-flex;margin:0;min-width:45px;min-height:40px;align-items:center;justify-content:center;cursor:pointer}.language-check input{width:19px;height:19px;cursor:pointer}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:900px){.hero{grid-template-columns:1fr}.hero-art{display:none}.step{flex-direction:column;text-align:center}.step small{font-size:11px}}
@media(max-width:620px){.shell{padding:0 12px}.topbar{height:86px}.brand-logo{width:min(185px,52vw)}.hero{padding:30px 22px;min-height:220px;border-radius:15px}.hero h1{font-size:30px}.hero p{font-size:14px}.panel{padding:21px 15px;border-radius:16px}.form-head{flex-direction:column}.steps{gap:4px}.step{padding:8px 3px;border-radius:8px}.step span{width:25px;height:25px;font-size:12px}.step small{font-size:9px}.stage{padding:16px 12px 7px}.fields{grid-template-columns:1fr;gap:0}.form-actions{flex-wrap:wrap}.progress-copy{order:-1;flex-basis:100%;text-align:center}.btn-primary,.btn-alt{flex:1}footer{flex-wrap:wrap}.language-grid{min-width:315px}.language-grid th,.language-grid td{padding:10px 5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* v1.15.4 – Verified previous application, privacy-preserving recovery. */
.previous-access{border:1px solid #e8d3bf;background:#fffaf4;padding:20px;border-radius:15px;margin:22px 0}
.previous-access h3{font-size:18px;margin:0 0 6px}
.previous-access p{margin:0 0 12px;color:#786e66;font-size:13px}
.lookup-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-top:12px}
.lookup-form label{flex:1 1 300px;margin:0}
.lookup-form .btn-alt,.lookup-form .btn-primary{flex:0 0 auto}
.lookup-form input{min-width:0}
.lookup-privacy,.previous-foot{font-size:12px;color:#766d66;line-height:1.8}
.lookup-note{background:#f0f7fb;color:#165271;padding:13px 15px;border-radius:10px;margin-top:16px}
.verified-profile{margin-top:15px;border-top:1px solid #edd6c2;padding-top:16px}
.verified-profile .application-number{font-size:15px;color:#195b43}
.previous-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}
.previous-grid>div{min-width:0;border:1px solid #eee8e2;border-radius:9px;background:#fff;padding:12px}
.previous-grid small{display:block;color:#7b726b;font-size:12px}
.previous-grid strong{display:block;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}
.quick-lookup{padding:14px 16px;border:1px dashed #dfaf83;background:#fff9f3;border-radius:12px}
.quick-lookup p{color:#726861;font-size:13px;margin:0 0 11px}
@media(max-width:620px){.lookup-form>*{flex-basis:100%!important}.previous-grid{grid-template-columns:1fr}}

/* v1.15.5: country selectors, country dialing prefixes, bilingual layout. */
.header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.locale-switch{display:flex;align-items:center;border:1px solid #e4cdb6;border-radius:11px;overflow:hidden;background:#fff}
.locale-switch a{padding:9px 13px;text-decoration:none;font-size:13px;font-weight:800;color:#5c4633}
.locale-switch a[aria-current=page]{background:#fce9d8;color:#9e4a1c}
.phone-input{display:flex;gap:8px;align-items:stretch}
.phone-input select{flex:0 0 112px;width:112px;direction:ltr;text-align:left}
.phone-input input{flex:1 1 auto;min-width:0;direction:ltr;text-align:left}
.field-tip{display:block;color:#857a71;font-size:11px;font-weight:500;margin-top:6px}
html[lang=en] body{direction:ltr}
html[lang=en] .hero,html[lang=en] .stage,html[lang=en] .form-head{text-align:left}
html[lang=en] .language-grid tbody th{text-align:left}
html[lang=en] .previous-grid strong{direction:auto}
@media(max-width:620px){.header-actions{gap:5px}.locale-switch a{padding:8px}.phone-input select{flex-basis:95px;width:95px}}

/* Private interview invite screen v1.16.1 — compatible with CSP style-src self */
.invite-page{max-width:760px;margin:35px auto;padding:18px}.invite-box{background:#fff;border:1px solid #e8ded5;border-radius:17px;padding:26px;box-shadow:0 10px 35px #0000000d}.invite-head{background:#24201e;border-bottom:5px solid #e77729;color:white;border-radius:15px;padding:25px;margin-bottom:18px}.invite-head img{width:205px;max-width:100%;background:white;padding:9px;border-radius:8px}.invite-head h1{color:white;margin:15px 0 5px;font-size:28px}.invite-facts{background:#fff5ec;border:1px solid #f4ddc9;border-radius:12px;padding:16px;line-height:2.2;margin:18px 0}.invite-buttons{display:flex;gap:12px;flex-wrap:wrap}.invite-buttons form{flex:1;min-width:220px}.invite-buttons button{width:100%;padding:14px;border:0;border-radius:10px;background:#df671f;color:#fff;font-weight:700;cursor:pointer}.invite-buttons button.alt{background:#fff;color:#262626;border:1px solid #e77729}.invite-alert{border-radius:9px;padding:14px;margin:14px 0;background:#fff0ed;border:1px solid #e5b5a8}.invite-good{background:#e9f8ed;border:1px solid #acd9b9}.invite-expiry{color:#a74a16;font-weight:bold}.invite-footer{font-size:12px;color:#777;margin-top:18px;text-align:center}

.invite-body{background:#f8f5f1;}
/* ATS 1.16.2 applicant-selected residence; tiles only load after user opens map. */
.location-pick{border:1px solid #f0d5be;background:#fffaf5;border-radius:12px;padding:18px;margin:8px 0 20px}.location-pick>strong{display:block;font-size:15px}.location-pick>p{font-size:13px;color:#70665e;line-height:1.75}.location-pick .map-open{width:auto;margin:8px 0}.map-picked{font-size:13px;color:#925422}.map-picked.confirmed{color:#19724e;font-weight:750}.map-container{border:1px solid #ebd9c8;padding:12px;background:#fff;border-radius:12px}.map-container[hidden]{display:none}.map-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.map-toolbar button{border:1px solid #e4cbb6;border-radius:8px;padding:8px 12px;background:#fff7ef;color:#704727;font-weight:700;cursor:pointer}.map-canvas{height:345px;width:100%;overflow:hidden;position:relative;background:#ece8dd;touch-action:none;border:1px solid #d8d4cf;border-radius:10px;cursor:crosshair}.osm-tile{position:absolute;width:256px;height:256px;pointer-events:none;user-select:none}.map-marker{position:absolute;transform:translate(-50%,-95%);font-size:28px;pointer-events:none;filter:drop-shadow(0 2px 2px #2226)}.map-attribution{font-size:11px!important;text-align:end;color:#68625b}.map-attribution a{color:#735032}

/* v1.16.4: applicant interview preference; no geolocation collected */
.interview-choice{border:1px solid #f0c49d;background:#fff8f2;border-radius:14px;padding:20px;margin:16px 0;line-height:1.8}.interview-choice strong{font-weight:800;color:#1e1b18}.interview-choice p{font-size:.9rem;color:#725e4f}.interview-choice-options{display:flex;gap:12px;flex-wrap:wrap}.interview-choice-options label{display:flex;align-items:center;gap:10px;border:1px solid #edc6a5;border-radius:10px;padding:12px 18px;background:white;flex:1;min-width:220px;cursor:pointer}.interview-choice-options label:has(input:checked){outline:2px solid #df6b28;background:#fff0e5}@media(max-width:650px){.interview-choice-options{display:block}.interview-choice-options label{margin:8px 0}}
