/* mbjobs portals: high-clarity layer (v39.1). Loaded last. Sharper text, stronger contrast, lighter tables, colour-coded glossy KPI cards. */
:root{--ink:#0a1628;--mut:#3f5068;--line:#d4e1f2}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body{color:var(--ink);font-size:15px;letter-spacing:.005em}
h1{font-size:28px;font-weight:800;letter-spacing:-.02em;color:#08142a}
h2{font-weight:750;letter-spacing:-.01em;color:#08142a}
.sub,small{color:var(--mut)}
img{image-rendering:auto}

/* tables: no blur on every cell (it made text soft and pages slow), clean light zebra */
html body .tw tbody tr td,html body tbody tr td{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;color:var(--ink)}
html body .app2 .tw tbody tr:nth-child(odd) td,html body .tw tbody tr:nth-child(odd) td,html body tbody tr:nth-child(odd) td{background:#fff!important;box-shadow:inset 0 -1px 0 #e7eef8!important}
html body .app2 .tw tbody tr:nth-child(even) td,html body .tw tbody tr:nth-child(even) td,html body tbody tr:nth-child(even) td{background:#f4f8fe!important;box-shadow:inset 0 -1px 0 #e7eef8!important}
html body .app2 .tw tbody tr:hover td,html body .tw tbody tr:hover td{background:#e9f2ff!important;filter:none}
thead th{color:#2a3b55!important;font-weight:800!important;letter-spacing:.06em}

/* top alert chips: readable even when zero */
.chipb{color:#34465f;border-color:#c8d8ee;background:#fff;font-weight:700}
.chipb.zero{opacity:.85}
.chipb.zero b{background:#eef3fa;color:#34465f}

/* ---------- colour-coded glossy KPI cards (Admin dashboard) ---------- */
.kx{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:4px 0 16px}
.kx__c{--c1:#2563eb;--c2:#1d4ed8;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:128px;padding:14px 16px 14px;border:0;border-radius:20px;text-align:left;cursor:pointer;font:inherit;color:#fff;
  background:linear-gradient(150deg,var(--c1),var(--c2));
  box-shadow:0 14px 28px -14px var(--c2),0 2px 0 rgba(255,255,255,.35) inset,0 -2px 0 rgba(0,0,0,.08) inset;transition:transform .2s,box-shadow .2s}
.kx__c::before{content:"";position:absolute;inset:0 0 52% 0;border-radius:20px 20px 60% 60%/20px 20px 26px 26px;background:linear-gradient(180deg,rgba(255,255,255,.38),rgba(255,255,255,.04));pointer-events:none}
.kx__c::after{content:"";position:absolute;right:-26px;bottom:-34px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.13);pointer-events:none}
.kx__c:hover{transform:translateY(-3px);box-shadow:0 20px 34px -14px var(--c2),0 2px 0 rgba(255,255,255,.35) inset}
.kx__c:focus-visible{outline:3px solid #0a1628;outline-offset:2px}
.kx__i{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.kx__i svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kx__c small{position:relative;color:rgba(255,255,255,.95);font-size:12.5px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;max-width:calc(100% - 40px)}
.kx__c b{position:relative;font-size:34px;font-weight:800;line-height:1.05;letter-spacing:-.02em;margin-top:auto;text-shadow:0 1px 2px rgba(0,0,0,.18)}
.kx__c i{position:relative;font-style:normal;font-size:12.5px;font-weight:600;color:rgba(255,255,255,.92)}
.kx__c i em{display:inline-block;margin:0 0 4px;font-style:normal;font-weight:800;background:rgba(255,255,255,.95);color:var(--c2);padding:1px 7px;border-radius:99px}
.kx--amber{--c1:#f59e0b;--c2:#c2410c}
.kx--orange{--c1:#fb7185;--c2:#be123c}
.kx--violet{--c1:#8b5cf6;--c2:#5b21b6}
.kx--blue{--c1:#3b82f6;--c2:#1e40af}
.kx--teal{--c1:#14b8a6;--c2:#0f766e}
.kx--green{--c1:#22c55e;--c2:#15803d}
.kx--due{animation:kxp 2.2s ease-in-out infinite}
@keyframes kxp{50%{box-shadow:0 0 0 5px rgba(251,191,36,.35),0 14px 28px -14px var(--c2)}}
@media (max-width:1180px){.kx{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.kx{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kx__c{min-height:112px;padding:12px}.kx__c b{font-size:27px}.kx__c small{font-size:11px}}
@media (prefers-reduced-motion:reduce){.kx--due{animation:none}.kx__c{transition:none}}

/* recruiter + other stat cards: same colour language */
.stat.big{border:0!important;color:#fff;background:linear-gradient(150deg,#3b82f6,#1e40af)!important;box-shadow:0 14px 28px -16px #1e40af,inset 0 2px 0 rgba(255,255,255,.3)!important;position:relative;overflow:hidden}
.stat.big::before{content:"";position:absolute;inset:0 0 55% 0;background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,0));pointer-events:none}
.stat.big small,.stat.big b,.stat.big span,.stat.big i{color:#fff!important;position:relative}
.cards .stat.big:nth-child(4n+2){background:linear-gradient(150deg,#14b8a6,#0f766e)!important;box-shadow:0 14px 28px -16px #0f766e!important}
.cards .stat.big:nth-child(4n+3){background:linear-gradient(150deg,#f59e0b,#c2410c)!important;box-shadow:0 14px 28px -16px #c2410c!important}
.cards .stat.big:nth-child(4n+4){background:linear-gradient(150deg,#22c55e,#15803d)!important;box-shadow:0 14px 28px -16px #15803d!important}
.stat:not(.big) b{color:#0a3d91}
.kx.kx4{grid-template-columns:repeat(4,minmax(0,1fr))}
.kx__bar{position:relative;display:block;width:100%;height:7px;border-radius:9px;background:rgba(255,255,255,.3);margin:6px 0 2px;overflow:hidden}
.kx__bar i{display:block;height:100%;border-radius:9px;background:#fff;box-shadow:0 0 8px rgba(255,255,255,.8)}
@media (max-width:900px){.kx.kx4{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v41 fixes: hidden really hides (mobile rules set display:flex), and green buttons always readable */
[hidden]{display:none!important}
.btn--g{background:linear-gradient(180deg,#22c55e,#15803d)!important;color:#fff!important;border-color:#15803d!important}
.btn--r{color:#b91c1c}
.qrep{display:flex;gap:6px;overflow-x:auto;padding:6px 0 8px;scrollbar-width:none}.qrep button{flex:0 0 auto;border:1px solid #cfe0f6;background:#f2f7ff;color:#0a4fb0;border-radius:999px;padding:6px 11px;font:600 12.5px/1.2 inherit;cursor:pointer;white-space:nowrap}.qrep button.ai{background:linear-gradient(135deg,#ede9fe,#e0f2fe);border-color:#c4b5fd;color:#4c1d95}#aiR{white-space:nowrap}
/* v42 blinking new-item counts (recruiter menu + phone bar) */
.nav{position:relative}.nb2{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:auto;border-radius:10px;background:#ef4444;color:#fff;font:800 11px/1 inherit;box-shadow:0 0 0 0 rgba(239,68,68,.6);animation:nbb 1.4s infinite}.mbar .nb2{position:absolute;top:2px;right:calc(50% - 24px);margin:0}.nav.has-new{animation:nbg 1.4s infinite}@keyframes nbb{0%{box-shadow:0 0 0 0 rgba(239,68,68,.6)}70%{box-shadow:0 0 0 9px rgba(239,68,68,0)}100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}}@keyframes nbg{50%{background:rgba(239,68,68,.08)}}@media (prefers-reduced-motion:reduce){.nb2,.nav.has-new{animation:none}}
/* v42 recruiter: bigger agency banner in the top bar (uses the empty space). Best banner size 1600 x 200 */
@media (min-width:901px){.rtb{height:auto!important;min-height:118px;padding:9px 14px!important;align-items:center}.rtb .bn{height:100px!important;border-radius:16px}.rtb .bn img{object-fit:cover}.rtb .lg img{height:40px}}
@media (max-width:900px){.rtb{flex-wrap:wrap!important}.rtb .bn{display:grid!important;order:20;flex:1 0 100%;height:72px!important;margin-top:6px;border-radius:14px}.rtb .bn:not(:has(img)){display:none!important}}
.rtb .bn{transition:height .2s}

/* v43 recruiter: the top bar with the banner scrolls away with the page (more room to read); phones keep the bottom menu bar */
.rtb{position:relative!important;top:auto!important}
@media (max-width:900px){.rtb{position:relative!important}}
/* v43 recruiter sign-up: Overseas (main) / Domestic switch at the top right */
.rg-wrap{align-items:flex-start;padding-top:24px;padding-bottom:40px}
.login form.rg,.rg{max-width:760px!important;width:100%}
.rg-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.rg-top .logo{margin:0}
.rg-sw{display:inline-flex;padding:4px;border-radius:999px;background:#eef3fa;border:1px solid #d4e1f2}
.rg-sw button{border:0;background:transparent;font-family:inherit;font-weight:700;font-size:13.5px;line-height:1;color:#3f5068;padding:9px 14px;border-radius:999px;cursor:pointer;white-space:nowrap}
.rg-sw button[aria-selected="true"]{background:#fff;color:#0a4fb0;box-shadow:0 2px 8px -2px rgba(10,40,90,.25)}
.rg-sw button[data-k="domestic"][aria-selected="true"]{color:#0f766e}
.rg-tag{display:inline-block;font-weight:800;font-size:11.5px;line-height:1.3;letter-spacing:.04em;text-transform:uppercase;padding:6px 10px;border-radius:999px;margin-bottom:6px}
.rg-tag--ov{background:#e0ecff;color:#0a4fb0}.rg-tag--dm{background:#d9f5ef;color:#0f766e}
.rg h1{font-size:24px;margin:4px 0 6px}
.rg-s{font-size:14px;margin:16px 0 6px;color:#0a3d91;text-transform:uppercase;letter-spacing:.05em}
.rg-full{grid-column:1/-1}
.rg-h{display:block;margin-top:4px;font-size:12px;color:#5b6b82}
.rg .err{min-height:20px;margin:10px 0 6px;color:#b91c1c;font-weight:700}
.rg-go{width:100%;justify-content:center;min-height:48px;font-size:15.5px}
@media (max-width:640px){.rg-top{flex-direction:column;align-items:stretch}.rg-sw{align-self:flex-end}.rg h1{font-size:21px}}
/* v44 recruiter top bar: the profile box is as tall as the banner box (desktop) */
@media (min-width:901px){.rtb .pmenu{align-self:stretch;display:flex}.rtb .pmb{height:100px!important;min-height:100px;min-width:230px;padding:10px 16px!important;border-radius:16px!important;align-items:center;gap:12px}.rtb .pmb .av{width:62px!important;height:62px!important;flex:none}.rtb .pmb b{font-size:15px}.rtb .pmb small{font-size:12.5px}}
/* v44 recruiter: the top bar scrolls away, so the left menu sits at the very top (no empty gap) */
@media (min-width:901px){.rv .side{top:12px!important;height:calc(100vh - 24px)!important;max-height:calc(100vh - 24px)}}
/* v44 recruiter: profile drop-down is solid, readable and above everything */
.rtb .pmenu{position:relative}
.rtb .dd{position:absolute!important;right:0!important;left:auto!important;top:calc(100% + 8px)!important;bottom:auto!important;transform:none!important;z-index:200!important;min-width:250px;background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid #d4e1f2!important;border-radius:14px!important;box-shadow:0 18px 40px -12px rgba(10,30,70,.35)!important;padding:6px!important;color:#0a1628}
.rtb .dd b{color:#0a1628}.rtb .dd small{color:#3f5068!important;word-break:break-all}
.rtb .dd button,.rtb .dd a{display:block;width:100%;text-align:left;padding:10px 12px;border-radius:10px;color:#0a1628!important;font-weight:600;background:none;border:0;cursor:pointer;text-decoration:none}
.rtb .dd button:hover,.rtb .dd a:hover{background:#eef4ff}
.rtb .dd hr{border:0;border-top:1px solid #e6edf7;margin:6px 0}
.rtb{z-index:60}
/* v44.1 admin top bar: the highlight chips always sit on ONE line, as clear mini cards (icon + label + bold count) */
.tb{gap:10px}
@media (min-width:901px){html body .tb{flex-wrap:nowrap!important}}
.tb #chips{display:flex!important;flex-wrap:nowrap!important;gap:8px;min-width:0;flex:1 1 0%!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;margin-left:12px!important;padding:3px 2px}
.tb #chips::-webkit-scrollbar{display:none}
.hlc{--a:#2563eb;--b:#eaf1ff;flex:0 0 auto;display:inline-flex!important;align-items:center;gap:8px;height:44px;padding:0 12px 0 6px!important;border-radius:14px!important;border:1px solid #d9e4f3!important;background:#fff!important;color:#0a1628!important;font:inherit;cursor:pointer;white-space:nowrap;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 4px 12px -8px rgba(10,30,70,.35);transition:transform .15s,box-shadow .15s}
.hlc:hover{transform:translateY(-1px);box-shadow:0 8px 18px -10px rgba(10,30,70,.45)}
.hlc__i{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--b);flex:none}
.hlc__i svg{width:18px;height:18px;fill:none;stroke:var(--a);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hlc__t{display:flex;flex-direction:column;line-height:1.1}
.hlc__l{font-size:12px;font-weight:700;color:#3f5068}.hlc__s{display:none;font-size:12px;font-weight:700;color:#3f5068}
.tb .hlc b{font-size:17px!important;font-weight:800;color:var(--a)!important;background:none!important;padding:0!important;min-width:0;box-shadow:none!important}
.hlc.zero{opacity:1}.tb .hlc.zero b{color:#94a3b8!important}.hlc.zero .hlc__i{filter:grayscale(.6);opacity:.75}
.hlc.warn{border-color:color-mix(in srgb,var(--a) 45%,#fff)!important;background:linear-gradient(180deg,#fff,var(--b))!important}
.hlc.warn .hlc__i{background:var(--a)}.hlc.warn .hlc__i svg{stroke:#fff}
.hlc--blue{--a:#2563eb;--b:#e7efff}.hlc--amber{--a:#d97706;--b:#fff4e0}.hlc--green{--a:#16a34a;--b:#e6f7ec}.hlc--violet{--a:#7c3aed;--b:#f1eaff}.hlc--orange{--a:#ea580c;--b:#ffede3}.hlc--teal{--a:#0f9f8f;--b:#e0f7f4}
.hlc .dot{width:11px;height:11px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 0 rgba(22,163,74,.6);animation:ldp 1.6s infinite}
/* smaller screens: short labels so all stay on one line */
@media (max-width:1500px){.hlc__l{display:none}.hlc__s{display:block}.hlc{height:42px;gap:7px;padding:0 10px 0 5px!important}}
@media (max-width:1180px){.hlc__i{display:none}.hlc{padding:0 10px!important;border-left:4px solid var(--a)!important}.tb .hlc b{font-size:15px!important}.tb #chips{gap:6px}}
@media (max-width:900px){.tb{flex-wrap:wrap!important}.tb #chips{margin-left:0!important}}
/* v44.1 every tab row (Settings and others) looks like real tab buttons, not plain words */
.tabs{display:flex;flex-wrap:wrap;gap:6px;padding:6px;margin-bottom:16px;border:1px solid #d4e1f2!important;border-radius:16px;background:linear-gradient(180deg,#f4f8fe,#eaf1fb)}
.tabs button{display:inline-flex;align-items:center;gap:6px;border:1px solid #d4e1f2!important;background:#fff;box-shadow:0 1px 2px rgba(10,30,70,.06);padding:9px 15px;border-radius:11px;font:700 13.5px/1.2 inherit;font-family:inherit;color:#3f5068;cursor:pointer;margin:0!important;white-space:nowrap;transition:background .15s,color .15s,box-shadow .15s}
.tabs button:hover{background:#f2f7ff;color:#0a4fb0;border-color:#b9d0f0!important}
.tabs button.on{background:linear-gradient(180deg,#2f7cf0,#0a5fd0)!important;color:#fff!important;border-color:#0a5fd0!important;box-shadow:0 8px 16px -8px rgba(10,95,208,.7),inset 0 1px 0 rgba(255,255,255,.35)}
.tabs button:focus-visible{outline:3px solid #93c5fd;outline-offset:1px}
.three .tabs button{padding:8px 11px}
@media (max-width:900px){.tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.tabs::-webkit-scrollbar{display:none}.tabs button{flex:0 0 auto}}
