*{box-sizing:border-box;margin:0;padding:0}
:root{
  --navy:#0D1B2E;--navy2:#1A2E48;--accent:#1D6FA4;--accent2:#2389C8;--gold:#C8953A;
  --bg:#F4F6F9;--card:#fff;--border:#D8DCE5;--text:#1A1F2E;--muted:#6B7280;
  --light:#EAF2FA;--danger:#DC2626;--success:#16A34A;
    --nav-height:60px;

  --bottom-nav-height:60px;
  --safe-area-bottom:env(safe-area-inset-bottom, 0px);

}
body{font-family:'Source Sans 3',sans-serif;background:var(--bg);color:var(--text);min-height:100vh;display:flex;flex-direction:column}
h1,h2,h3,h4{font-family:'Playfair Display',serif}
button,input,select,textarea{font-family:'Source Sans 3',sans-serif}
#app{flex:1;padding-bottom:calc(var(--bottom-nav-height) + var(--safe-area-bottom))}
a{color:inherit;text-decoration:none}

/* NAV */
.nav{background:var(--navy);padding:0 2rem;display:flex;align-items:center;justify-content:space-between;height:60px;position:sticky;top:0;z-index:100}
.nav-logo{color:#fff;font-family:'Playfair Display',serif;font-size:20px;font-weight:600;cursor:pointer}
.nav-logo span{color:var(--gold)}
.nav-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.nb{font-size:14px;cursor:pointer;border:none;padding:7px 16px;border-radius:4px;font-weight:500;transition:.15s}
.nb-ghost{background:transparent;color:#ccc}.nb-ghost:hover{color:#fff;background:rgba(255,255,255,.08)}
.nb-primary{background:var(--accent);color:#fff}.nb-primary:hover{background:var(--accent2)}
.nb-danger{background:transparent;color:#FDA4AF}.nb-danger:hover{background:rgba(255,255,255,.08)}

.bottom-nav{
  display:none;
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:var(--card);
  border-top:1px solid var(--border);
  padding:8px 0 calc(8px + var(--safe-area-bottom));
  z-index:100;
  box-shadow:0 -2px 10px rgba(0,0,0,.05);
}
.bottom-nav-items{
  display:flex;
  justify-content:space-around;
  align-items:center;
  max-width:600px;
  margin:0 auto;
}
.bottom-nav-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  padding:8px 16px;
  cursor:pointer;
  transition:.2s;
  border-radius:8px;
  min-width:60px;
  color:var(--muted);
  background:transparent;
  border:none;
  font-size:11px;
  font-weight:600;
}
.bottom-nav-item.active{
  color:var(--accent);
}
.bottom-nav-icon{
  font-size:22px;
  line-height:1;
}



/* PAGES */
.page{display:none}.page.active{display:block}

/* TOAST */
#toast{position:fixed;bottom:24px;right:24px;padding:12px 20px;border-radius:6px;font-size:14px;font-weight:500;color:#fff;z-index:9999;opacity:0;transition:opacity .3s;pointer-events:none;max-width:340px}
#toast.show{opacity:1}
#toast.ok{background:var(--success)}
#toast.err{background:var(--danger)}

/* MODAL */
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:200;display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto}
.overlay.hidden{display:none}
.modal{background:#fff;border-radius:12px;padding:28px 32px;width:100%;max-width:580px;position:relative;max-height:90vh;overflow-y:auto}
.modal-lg{max-width:700px}
.modal-sm{max-width:420px}
.modal-hdr{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid var(--border)}
.modal-hdr h3{font-size:20px;color:var(--navy)}
.modal-x{background:none;border:none;font-size:24px;color:var(--muted);cursor:pointer;line-height:1;padding:0 4px}
.modal-x:hover{color:var(--text)}

/* SPINNER */
.spin{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:sp .7s linear infinite;vertical-align:middle;margin-right:6px}
@keyframes sp{to{transform:rotate(360deg)}}
.loading{text-align:center;padding:48px;color:var(--muted);font-size:15px}

/* FORM */
.fg{margin-bottom:16px}
.fg label{display:block;font-size:13px;font-weight:600;color:var(--navy);margin-bottom:6px}
.fg input,.fg select,.fg textarea{width:100%;padding:10px 14px;border:1px solid var(--border);border-radius:5px;font-size:14px;outline:none;transition:.15s;color:var(--text);background:#fff}
.fg input:focus,.fg select:focus,.fg textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(29,111,164,.1)}
.fg textarea{resize:vertical;min-height:80px}
.ferr{font-size:12px;color:var(--danger);margin-top:4px;min-height:16px}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:580px){.fgrid{grid-template-columns:1fr}}
.fsub{width:100%;background:var(--navy);color:#fff;border:none;padding:12px;border-radius:5px;font-size:15px;font-weight:600;cursor:pointer;margin-top:8px;transition:.15s}
.fsub:hover{background:var(--accent)}.fsub:disabled{opacity:.6;cursor:not-allowed}

/* BUTTONS */
.bsm{padding:5px 13px;font-size:12px;border-radius:4px;cursor:pointer;font-weight:500;border:1px solid transparent;transition:.15s}
.bsm-outline{background:#fff;color:var(--navy);border-color:var(--border)}.bsm-outline:hover{border-color:var(--accent);color:var(--accent)}
.bsm-primary{background:var(--accent);color:#fff}.bsm-primary:hover{background:var(--accent2)}
.bsm-success{background:var(--success);color:#fff}
.bsm-danger{background:var(--danger);color:#fff}
.bsm-gold{background:var(--gold);color:#fff}
.row-actions{display:flex;gap:5px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;align-items:flex-start}
.link{color:var(--accent);cursor:pointer;font-size:13px}.link:hover{text-decoration:underline}

/* HERO */
.hero{background:linear-gradient(135deg,var(--navy) 0%,var(--navy2) 60%,#1A3C58 100%);padding:64px 2rem 56px;text-align:center}
.hero h1{color:#fff;font-size:42px;line-height:1.2;margin-bottom:12px}
.hero h1 span{color:var(--gold)}
.hero-sub{color:#9EADC4;font-size:17px;margin-bottom:36px;font-weight:300}
.sbox{background:#fff;border-radius:8px;padding:8px;display:flex;gap:8px;max-width:820px;margin:0 auto;flex-wrap:wrap}
.sbox input,.sbox select{flex:1;min-width:140px;border:1px solid var(--border);border-radius:4px;padding:10px 14px;font-size:14px;color:var(--text);outline:none}
.sbox input:focus,.sbox select:focus{border-color:var(--accent)}
.sbox button{background:var(--accent);color:#fff;border:none;border-radius:4px;padding:10px 28px;font-size:14px;font-weight:600;cursor:pointer}
.sbox button:hover{background:var(--accent2)}
.stats-bar{display:flex;justify-content:center;gap:48px;margin-top:40px;flex-wrap:wrap}
.stat-num{color:#fff;font-size:24px;font-weight:600;font-family:'Playfair Display',serif}
.stat-lbl{color:#9EADC4;font-size:13px;margin-top:2px;text-align:center}

/* SECTION */
.sec{padding:48px 2rem;max-width:1100px;margin:0 auto}
.sec-hdr{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:24px}
.sec-hdr h2{font-size:24px;color:var(--navy)}
.fbar{display:flex;gap:8px;margin-bottom:28px;flex-wrap:wrap}
.chip{padding:7px 16px;border-radius:20px;border:1px solid var(--border);background:#fff;font-size:13px;color:var(--muted);cursor:pointer;transition:.15s}
.chip:hover,.chip.on{background:var(--navy);color:#fff;border-color:var(--navy)}

/* JOB CARDS */
.jgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:16px}
.jcard{background:var(--card);border:1px solid var(--border);border-radius:8px;padding:20px;cursor:pointer;transition:.2s;position:relative}
.jcard:hover{border-color:var(--accent);box-shadow:0 4px 20px rgba(29,111,164,.12);transform:translateY(-2px)}
.crow{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.clogo{width:40px;height:40px;border-radius:6px;background:var(--light);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;color:var(--accent);flex-shrink:0;overflow:hidden}
.clogo img{width:100%;height:100%;object-fit:cover;border-radius:6px}
.cname{font-size:13px;color:var(--muted);font-weight:500}
.jtitle{font-size:17px;font-weight:600;color:var(--navy);margin-bottom:10px}
.jtags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.tag{padding:4px 10px;border-radius:3px;font-size:12px;font-weight:500}
.tg-type{background:#EAF2FA;color:#1A5E8C}
.tg-loc{background:#F0F4E8;color:#3B6311}
.tg-time{background:#FDF3E4;color:#9A6010}
.jfoot{display:flex;justify-content:space-between;align-items:center;padding-top:14px;border-top:1px solid #F0F2F6}
.salary{font-size:14px;font-weight:600;color:var(--navy)}
.empty{text-align:center;padding:64px 20px;color:var(--muted)}
.empty h3{font-size:20px;margin-bottom:8px;color:var(--navy)}

/* JOB DETAIL */
.dwrap{max-width:900px;margin:0 auto;padding:32px 2rem}
.bcrumb{font-size:13px;color:var(--muted);margin-bottom:20px;cursor:pointer}
.bcrumb:hover{color:var(--accent)}
.dcard{background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden}
.dhdr{background:var(--navy);padding:32px;display:flex;gap:20px;align-items:flex-start}
.dhdr-logo{width:64px;height:64px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:20px;color:var(--navy);flex-shrink:0;overflow:hidden}
.dhdr-logo img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.dhdr h1{color:#fff;font-size:26px;margin-bottom:6px}
.dmeta{color:#9EADC4;font-size:14px;display:flex;gap:16px;flex-wrap:wrap;margin-top:6px}
.dbody{display:grid;grid-template-columns:1fr 280px;gap:0}
@media(max-width:680px){.dbody{grid-template-columns:1fr}}
.dmain{padding:28px;border-right:1px solid var(--border)}
.dside{padding:24px}
.dmain h3{font-size:17px;margin-bottom:12px;color:var(--navy)}
.dmain p,.dmain li{font-size:15px;color:#374151;line-height:1.7;margin-bottom:8px}
.dmain ul{padding-left:20px}
.dmain section{margin-bottom:28px}
.srow{margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #F0F2F6}
.srow:last-child{border-bottom:none;margin-bottom:0}
.slbl{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.8px;margin-bottom:4px;font-weight:600}
.sval{font-size:15px;color:var(--navy);font-weight:500}
.apply-btn{width:100%;background:var(--accent);color:#fff;border:none;padding:14px;border-radius:6px;font-size:15px;font-weight:600;cursor:pointer;margin-bottom:10px}
.apply-btn:hover{background:var(--accent2)}
.dlbox{background:#FFF8EC;border:1px solid #F0D48A;border-radius:6px;padding:12px;text-align:center;margin-top:12px}
.dlbox .ddays{font-size:22px;font-weight:700;color:var(--gold);font-family:'Playfair Display',serif}
.dlbox .ddlbl{font-size:12px;color:#9A6010}
.exp-banner{background:#FEF2F2;border:1px solid #FCA5A5;color:var(--danger);padding:12px 16px;border-radius:6px;font-size:14px;font-weight:500;margin-bottom:16px;text-align:center}

/* AUTH */
.awrap{min-height:calc(100vh - 60px);display:flex;align-items:center;justify-content:center;padding:40px 1rem}
.acard{background:#fff;border:1px solid var(--border);border-radius:12px;width:100%;max-width:440px;overflow:hidden}
.ahdr{background:var(--navy);padding:28px 32px;text-align:center}
.ahdr h2{color:#fff;font-size:22px;margin-bottom:4px}
.ahdr p{color:#9EADC4;font-size:14px}
.abody{padding:28px 32px}
.tabs{display:flex;background:#F4F6F9;border-radius:6px;padding:3px;margin-bottom:24px}
.tabt{flex:1;padding:9px;border:none;border-radius:4px;font-size:14px;cursor:pointer;font-weight:500;transition:.15s;background:transparent;color:var(--muted)}
.tabt.on{background:#fff;color:var(--navy);box-shadow:0 1px 4px rgba(0,0,0,.1)}

/* DASHBOARD */
.dlayout{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 60px)}
@media(max-width:768px){.dlayout{grid-template-columns:1fr}}
.sidebar{background:var(--navy);padding:24px 0}
.sb-top{padding:0 24px 20px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:12px}
.sb-av{width:44px;height:44px;background:var(--accent);border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:16px;margin-bottom:8px;overflow:hidden}
.sb-av img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.sb-co{color:#fff;font-size:14px;font-weight:600}
.sb-role{color:#9EADC4;font-size:12px}
.sb-menu{list-style:none}
.mi{display:flex;align-items:center;gap:12px;padding:12px 24px;color:#9EADC4;font-size:14px;font-weight:500;cursor:pointer;transition:.15s;border-left:3px solid transparent}
.mi:hover{background:rgba(255,255,255,.05);color:#fff}
.mi.on{background:rgba(255,255,255,.08);color:#fff;border-left-color:var(--gold)}
.dmain-wrap{padding:28px;background:var(--bg);overflow-y:auto}
.dtop{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;gap:12px;flex-wrap:wrap}
.dtop h2{font-size:22px;color:var(--navy)}
.dtop p{font-size:13px;color:var(--muted);margin-top:2px}
.mrow{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}
@media(max-width:900px){.mrow{grid-template-columns:repeat(2,1fr)}}
.mc{background:#fff;border:1px solid var(--border);border-radius:8px;padding:18px}
.mc-lbl{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.7px;font-weight:600;margin-bottom:8px}
.mc-val{font-size:26px;font-weight:600;color:var(--navy);font-family:'Playfair Display',serif}
.mc-sub{font-size:12px;color:var(--accent);margin-top:4px}
.dgrid{display:grid;grid-template-columns:1fr 300px;gap:18px}
@media(max-width:900px){.dgrid{grid-template-columns:1fr}}
.dc{background:#fff;border:1px solid var(--border);border-radius:8px;padding:20px}
.dc-hdr{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #F0F2F6}
.dc-hdr h3{font-size:16px;color:var(--navy)}
.jrow{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #F8F9FB}
.jrow:last-child{border-bottom:none}
.jrow-info{flex:1;min-width:0}
.jrow-t{font-size:14px;font-weight:600;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jrow-m{font-size:12px;color:var(--muted);margin-top:2px}
.vbadge{background:var(--light);color:var(--accent);padding:4px 12px;border-radius:3px;font-size:13px;font-weight:600;white-space:nowrap;flex-shrink:0}
.dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:5px}
.dot-a{background:#22C55E}.dot-e{background:#F59E0B}.dot-c{background:#94A3B8}.dot-d{background:#60A5FA}
.pbar{height:6px;background:#E5E7EB;border-radius:3px;overflow:hidden;margin-top:6px}
.pfill{height:100%;border-radius:3px;background:var(--accent)}
.qa-btn{width:100%;background:var(--light);color:var(--accent);border:1px solid #BDD8F0;border-radius:5px;padding:10px;font-size:14px;font-weight:600;cursor:pointer;margin-bottom:8px}
.qa-btn:hover{background:#D4E8F5}
.qa-btn-o{background:#fff;color:var(--navy);border-color:var(--border)}

/* BLOG */
.bhero{background:var(--navy);padding:56px 2rem 48px;text-align:center}
.bhero h1{color:#fff;font-size:36px;margin-bottom:10px}
.bhero p{color:#9EADC4;font-size:16px}
.bgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}
.bcard{background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden;cursor:pointer;transition:.2s}
.bcard:hover{box-shadow:0 6px 24px rgba(0,0,0,.1);transform:translateY(-2px)}
.bcard-img{height:160px;background:var(--navy2);display:flex;align-items:center;justify-content:center;font-size:44px;overflow:hidden}
.bcard-img img{width:100%;height:100%;object-fit:cover;display:block}
.bcard-body{padding:20px}
.btags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.btag{background:var(--light);color:var(--accent);padding:3px 10px;border-radius:3px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}
.bcard-title{font-size:18px;font-weight:600;color:var(--navy);margin-bottom:8px;line-height:1.3}
.bcard-exc{font-size:14px;color:var(--muted);line-height:1.6;margin-bottom:14px}
.bcard-foot{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);padding-top:12px;border-top:1px solid #F0F2F6}
.bdwrap{max-width:760px;margin:0 auto;padding:40px 2rem}
.bd-cover{width:100%;max-height:380px;object-fit:cover;border-radius:8px;margin-bottom:28px;display:block}
.bdwrap h1{font-size:36px;color:var(--navy);margin-bottom:16px;line-height:1.25}
.bdmeta{display:flex;gap:20px;color:var(--muted);font-size:14px;margin-bottom:32px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--border)}
.bcontent{font-size:16px;line-height:1.8;color:#374151}
.bcontent p{margin-bottom:16px}
.bcontent h2,.bcontent h3{color:var(--navy);margin:28px 0 12px}
.pill{display:inline-block;padding:2px 10px;border-radius:12px;font-size:11px;font-weight:600}
.pill-pub{background:#DCFCE7;color:#166534}
.pill-dft{background:#FEF9C3;color:#854D0E}
.badm-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #F8F9FB}
.badm-row:last-child{border-bottom:none}
.badm-info{flex:1;min-width:0}
.badm-title{font-size:14px;font-weight:600;color:var(--navy)}
.badm-meta{font-size:12px;color:var(--muted);margin-top:3px}

/* FOOTER */
footer{background:var(--navy);color:#9EADC4;padding:56px 2rem 28px;margin-top:auto}
.ft-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;max-width:1100px;margin:0 auto 40px}
@media(max-width:768px){.ft-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.ft-grid{grid-template-columns:1fr}}
.ft-brand h3{color:#fff;font-size:20px;margin-bottom:10px}
.ft-brand p{font-size:14px;line-height:1.7;max-width:280px}
.ft-col h4{color:#fff;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.8px;margin-bottom:14px}
.ft-col a{display:block;color:#9EADC4;font-size:14px;margin-bottom:8px;cursor:pointer;transition:.15s}
.ft-col a:hover{color:#fff}
.social-row{display:flex;gap:10px;margin-top:16px}
.soc{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.15s;color:#9EADC4;font-size:14px;font-weight:700;text-decoration:none}
.soc:hover{background:var(--accent);color:#fff}
.ft-bot{max-width:1100px;margin:0 auto;padding-top:20px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;align-items:center;font-size:13px;flex-wrap:wrap;gap:8px}
.ft-bot a{color:#9EADC4;text-decoration:none}.ft-bot a:hover{color:#fff}

/* LANG SWITCHER */
.lang-switcher{display:flex;gap:2px;background:rgba(255,255,255,.1);border-radius:5px;padding:3px;margin-left:8px}
.lang-btn{background:transparent;border:none;color:#9EADC4;font-size:11px;font-weight:700;padding:4px 8px;border-radius:3px;cursor:pointer;transition:.15s;letter-spacing:.5px}
.lang-btn:hover{color:#fff}.lang-btn.active{background:var(--accent);color:#fff}

/* RTL */
[dir=rtl] body{font-family:'Source Sans 3',Tahoma,Arial,sans-serif}
[dir=rtl] .nav,.nav-links,[dir=rtl] .hero,[dir=rtl] .sbox,[dir=rtl] .fbar,[dir=rtl] .stats-bar,[dir=rtl] .ft-grid,[dir=rtl] .ft-bot,[dir=rtl] .social-row{flex-direction:row-reverse}
[dir=rtl] .nav{flex-direction:row-reverse}
[dir=rtl] .dhdr,[dir=rtl] .jrow,[dir=rtl] .row-actions,[dir=rtl] .dc-hdr,[dir=rtl] .dtop,[dir=rtl] .badm-row,[dir=rtl] .btags,[dir=rtl] .bcard-foot,[dir=rtl] .bdmeta,[dir=rtl] .crow,[dir=rtl] .jtags,[dir=rtl] .jfoot,[dir=rtl] .modal-hdr,[dir=rtl] .tabs{flex-direction:row-reverse}
[dir=rtl] .dmain{border-right:none;border-left:1px solid var(--border)}
[dir=rtl] .mi{border-left:none;border-right:3px solid transparent;padding:12px 24px}
[dir=rtl] .mi.on{border-right-color:var(--gold);border-left:none}
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3,[dir=rtl] h4,[dir=rtl] p,[dir=rtl] label,[dir=rtl] .fg input,[dir=rtl] .fg select,[dir=rtl] .fg textarea,[dir=rtl] .sbox input,[dir=rtl] .sbox select{direction:rtl;text-align:right}
[dir=rtl] .abody,[dir=rtl] .acard,[dir=rtl] .ahdr,[dir=rtl] .modal,[dir=rtl] .dside,[dir=rtl] .dmain,[dir=rtl] .jcard,[dir=rtl] .bcard,[dir=rtl] .mc,[dir=rtl] .dc,[dir=rtl] .bcontent,[dir=rtl] .bdwrap,[dir=rtl] .ft-brand p{direction:rtl;text-align:right}
[dir=rtl] .dlayout{direction:rtl}
[dir=rtl] .jrow-info,[dir=rtl] .jrow-t,[dir=rtl] .badm-info,[dir=rtl] .badm-title{text-align:right}
[dir=rtl] .sec-hdr{flex-direction:row-reverse}

.share-btn{width:100%;background:#fff;color:var(--accent);border:1px solid var(--accent);padding:11px;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;margin-bottom:10px;transition:.15s}
.share-btn:hover{background:var(--light)}

.how-to-apply-box{background:var(--light);border:1px solid #BDD8F0;border-radius:8px;padding:16px;margin-bottom:12px}
.htaLabel{font-size:12px;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:.8px;margin-bottom:8px}
.htaContent p{font-size:14px;color:var(--text);line-height:1.6;margin-bottom:6px}
.htaContent p:last-child{margin-bottom:0}

/* EMPLOYER PAGE */
.emp-link{cursor:pointer;color:var(--light);text-decoration:underline;text-underline-offset:3px;transition:.15s}
.emp-link:hover{color:#fff;opacity:.85}
.emp-profile-hdr{display:flex;align-items:center;gap:20px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:24px;margin-bottom:20px;flex-wrap:wrap}
.emp-profile-logo{width:80px;height:80px;border-radius:10px;background:var(--light);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:24px;color:var(--accent);flex-shrink:0;overflow:hidden}
.emp-profile-logo img{width:100%;height:100%;object-fit:cover;border-radius:10px}
.emp-profile-info{flex:1;min-width:0}
.emp-profile-name{font-size:26px;color:var(--navy);margin-bottom:8px}
.emp-industry-tag{display:inline-block;background:var(--light);color:var(--accent);padding:4px 12px;border-radius:20px;font-size:13px;font-weight:600;margin-right:8px;margin-bottom:6px}
.emp-website{display:inline-block;font-size:13px;color:var(--accent);word-break:break-all}
.emp-website:hover{text-decoration:underline}
.emp-stat{text-align:center;padding:12px 24px;background:var(--light);border-radius:8px;flex-shrink:0}
.emp-stat-num{font-size:32px;font-weight:700;color:var(--navy);font-family:'Playfair Display',serif}
.emp-stat-lbl{font-size:12px;color:var(--muted);margin-top:2px}
.emp-bio{background:#fff;border:1px solid var(--border);border-radius:8px;padding:20px;margin-bottom:20px}
.emp-bio p{font-size:15px;color:#374151;line-height:1.7}

/* SIMILAR JOBS */
#similar-jobs-section{border-top:1px solid var(--border);padding-top:28px}

/* PENDING/REJECTED STATUS DOTS */
.dot-p{background:#F59E0B}
.dot-r{background:#EF4444}

/* REJECTION NOTICE IN LISTING ROW */
.rejection-notice{font-size:12px;color:#991B1B;background:#FEE2E2;border-radius:4px;padding:4px 8px;margin-bottom:4px;display:inline-block}

/* METRIC CARD VARIANTS */
.mc-warn .mc-lbl{color:#92400E}
.mc-warn .mc-val{color:#D97706}
.mc-warn{background:#FFFBEB;border-color:#FDE68A}
.mc-danger .mc-lbl{color:#991B1B}
.mc-danger .mc-val{color:#EF4444}
.mc-danger{background:#FFF5F5;border-color:#FCA5A5}

/* REJECTION BOX (employer listings view) */
.rejection-box{background:#FFF5F5;border:1px solid #FCA5A5;border-left:4px solid #EF4444;border-radius:6px;padding:12px 14px;margin-bottom:6px}
.rejection-box-hdr{font-size:12px;font-weight:700;color:#991B1B;margin-bottom:4px}
.rejection-box-reason{font-size:13px;color:#7F1D1D;line-height:1.5;margin-bottom:6px;white-space:pre-wrap}
.rejection-box-hint{font-size:12px;color:#B91C1C;font-style:italic}

/* WARNING BUTTON (edit & resubmit) */
.bsm-warning{background:#FEF3C7;color:#92400E;border:1px solid #F59E0B}
.bsm-warning:hover{background:#FDE68A}

/* PAGINATION */
.pag-wrap{display:flex;align-items:center;justify-content:center;gap:8px;padding:28px 0 8px;flex-wrap:wrap}
.pag-btn{background:#fff;border:1px solid var(--border);color:var(--accent);padding:8px 18px;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:.15s}
.pag-btn:hover:not(:disabled){background:var(--light);border-color:var(--accent)}
.pag-btn:disabled{opacity:.4;cursor:default}
.pag-pages{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}
.pag-num{background:#fff;border:1px solid var(--border);color:var(--text);width:36px;height:36px;border-radius:6px;font-size:14px;cursor:pointer;transition:.15s;display:flex;align-items:center;justify-content:center}
.pag-num:hover:not(.active){background:var(--light)}
.pag-num.active{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:700}
.pag-ellipsis{color:var(--muted);padding:0 4px;line-height:36px;font-size:14px}
[dir=rtl] .pag-wrap{flex-direction:row-reverse}


@media(max-width:768px){
  .bottom-nav{display:block}
  #app{padding-bottom:calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 16px)}
  .nav-links > *:not(.lang-switcher){display: none;}
  .jrow{display: flow-root;}
  .sidebar{display: inline-flex;
    justify-content: center;
    align-items: center;}
    .dgrid{
      display: block;
    }
}


/* ============================================
   BLOG LANGUAGE BADGES - ADD TO workbridge.css
   ============================================ */

/* Language Badge Styles */
.blog-lang-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.blog-lang-en {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.blog-lang-tr {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.blog-lang-ar {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Category Badges */
.blog-category-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  margin-right: 6px;
  box-shadow: 0 2px 4px rgba(29, 111, 164, 0.2);
}

.blog-category-badge-admin {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(200, 149, 58, 0.15);
  color: var(--gold);
  border: 1px solid rgba(200, 149, 58, 0.3);
  margin-right: 6px;
}

/* View Count Badges */
.view-count-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.1);
  color: #6366F1;
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-left: 6px;
  white-space: nowrap;
}

.view-count-badge-small {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.1);
  color: #6366F1;
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-right: 6px;
  white-space: nowrap;
}

/* Blog Meta Section */
.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

/* Blog Tag Styles */
.blog-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 11px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.blog-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* Blog Card Styles */
.blog-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.blog-card-content {
  padding: 20px;
}

.blog-card-content h2 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.blog-excerpt {
  color: var(--text-muted);
  margin: 12px 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-author {
  font-weight: 500;
  color: var(--gold);
}

.blog-read-time {
  color: var(--text-muted);
}

/* Blog Grid Layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* Blog Hero Section */
.blog-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin: 0 0 16px 0;
  color: var(--text-primary);
}

.blog-hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Detail Page */
.blog-detail-hero {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.blog-detail-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.blog-detail-header {
  margin-bottom: 40px;
}

.blog-detail-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin: 20px 0;
  color: var(--text-primary);
  line-height: 1.3;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.blog-detail-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.blog-detail-content p {
  margin-bottom: 20px;
}

.blog-detail-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin: 40px 0 20px 0;
  color: var(--text-primary);
}

.blog-detail-content h3 {
  font-size: 1.4rem;
  margin: 30px 0 16px 0;
  color: var(--text-primary);
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.blog-detail-content li {
  margin-bottom: 10px;
}

.blog-detail-content blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: var(--text-muted);
}

/* Admin Blog Styles */
.admin-blog-item {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.admin-blog-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.admin-blog-item h3 {
  margin: 0;
  flex: 1;
}

.admin-blog-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-blog-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.admin-filters {
  display: flex;
  align-items: center;
  margin: 24px 0;
  padding: 16px;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-filters label {
  font-weight: 500;
  color: var(--text-primary);
}

.admin-filters select {
  padding: 8px 16px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.95rem;
  cursor: pointer;
}

.admin-filters select:focus {
  outline: none;
  border-color: var(--gold);
}

/* Status Badge */
.badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-draft {
  background: rgba(156, 163, 175, 0.15);
  color: #9ca3af;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

.badge-published {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* RTL Support for Arabic */
html[dir="rtl"] .blog-meta,
html[dir="rtl"] .blog-footer,
html[dir="rtl"] .admin-blog-item-header,
html[dir="rtl"] .admin-filters {
  flex-direction: row-reverse;
}

html[dir="rtl"] .blog-lang-badge {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .blog-detail-content blockquote {
  border-left: none;
  border-right: 4px solid var(--gold);
  padding-left: 0;
  padding-right: 20px;
}

/* ========================================
   ABOUT US & CONTACT US PAGES
   ======================================== */

/* Static Page Container */
.static-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.static-page h1 {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 12px;
  text-align: center;
}

.static-page .lead {
  font-size: 20px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.static-page section {
  margin-bottom: 50px;
}

.static-page h2 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 20px;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 10px;
}

.static-page h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
}

.static-page h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 600;
}

.static-page p {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 16px;
}

/* About Page Hero */
.about-hero {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 50px;
  text-align: center;
}

.about-hero .lead {
  color: white;
  font-size: 24px;
  margin: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 20px rgba(29, 111, 164, 0.15);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--navy);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Benefits List */
.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  border-bottom: 1px solid var(--border);
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefits-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
  font-size: 20px;
}

.benefits-list strong {
  color: var(--navy);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.value-item {
  background: var(--light);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.value-item h4 {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 111, 164, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--light);
}

/* Contact Page Layout */
.contact-intro {
  margin-bottom: 50px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.contact-form-section h2,
.contact-info-section h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

/* Contact Form */
#contact-form .fg {
  margin-bottom: 20px;
}

#contact-form label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 14px;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 111, 164, 0.1);
}

#contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

#contact-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#contact-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 111, 164, 0.3);
}

#contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Contact Info Cards */
.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.contact-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-info-card h4 {
  margin-bottom: 4px;
  font-size: 16px;
}

.contact-info-card p {
  margin-bottom: 4px;
  font-size: 14px;
}

.contact-info-card a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

.contact-info-card small {
  font-size: 12px;
  color: var(--muted);
}

/* FAQ Section */
.faq-section {
  background: var(--light);
  border-radius: 12px;
  padding: 40px;
  margin-top: 50px;
}

.faq-section h2 {
  border: none;
  margin-bottom: 30px;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.faq-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.faq-item h4 {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 15px;
}

.faq-item p {
  font-size: 14px;
  color: #4B5563;
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .static-page h1 {
    font-size: 28px;
  }
  
  .static-page .lead {
    font-size: 16px;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid,
  .values-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .about-hero {
    padding: 24px;
  }
  
  .about-hero .lead {
    font-size: 18px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-hero h1 {
    font-size: 2rem;
  }
  
  .blog-detail-hero {
    height: 250px;
  }
  
  .blog-detail-header h1 {
    font-size: 1.8rem;
  }
  
  .admin-blog-item-header {
    flex-direction: column;
    gap: 12px;
  }
  
  .admin-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
