:root{
    --blue-950:#052a53;
    --blue-900:#063d78;
    --blue-800:#07519e;
    --blue-700:#075bb8;
    --blue-600:#0874de;
    --blue-100:#eaf4ff;
    --orange-700:#dd5700;
    --orange-600:#f26500;
    --orange-500:#ff7200;
    --orange-100:#fff0e6;
    --ink:#111827;
    --ink-soft:#334155;
    --muted:#64748b;
    --line:#e5eaf0;
    --surface:#ffffff;
    --surface-soft:#f6f8fb;
    --success:#16844a;
    --shadow-sm:0 8px 24px rgba(15,23,42,.07);
    --shadow-md:0 20px 55px rgba(15,23,42,.11);
    --shadow-lg:0 34px 100px rgba(3,42,83,.18);
    --radius:18px;
    --radius-lg:28px;
    --shell:1450px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--ink);
    background:#fff;
    -webkit-font-smoothing:antialiased;
    line-height:1.55;
}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
svg{stroke-width:2}
.container{width:min(var(--shell),calc(100% - 48px));margin:0 auto}

/* Header */
.site-header{
    position:sticky;top:0;z-index:80;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid rgba(229,234,240,.9);
    backdrop-filter:blur(16px);
}
.nav{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand-word{
    font-size:26px;font-weight:950;letter-spacing:-1.4px;color:var(--blue-700)
}
.brand-word span{color:var(--orange-500)}
.nav-links{display:flex;align-items:center;gap:8px}
.nav-link{
    padding:10px 12px;border-radius:10px;
    color:#253246;font-size:14px;font-weight:800;
}
.nav-link:hover{background:#f4f7fa}
.nav-button{background:none;border:0;cursor:pointer}
.nav-cta{margin-left:6px}
.mobile-toggle{display:none;width:42px;height:42px;background:#f4f7fa;border:0;border-radius:10px;place-items:center}
.mobile-toggle svg{width:22px}
.flash-wrap{padding-top:14px}

/* Buttons */
.btn{
    display:inline-flex;align-items:center;justify-content:center;gap:9px;
    min-height:44px;padding:11px 17px;
    border:1px solid transparent;border-radius:12px;
    font-size:14px;font-weight:900;cursor:pointer;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
    color:#fff;background:linear-gradient(135deg,var(--blue-700),var(--blue-800));
    box-shadow:0 12px 28px rgba(7,91,184,.2)
}
.btn-accent{
    color:#fff;background:linear-gradient(135deg,var(--orange-500),var(--orange-600));
    box-shadow:0 12px 28px rgba(242,101,0,.25)
}
.btn-light{background:#fff;color:var(--orange-700);box-shadow:0 14px 34px rgba(111,43,0,.18)}
.btn svg{width:18px;height:18px}

/* Hero */
.hero-home{
    position:relative;overflow:hidden;
    min-height:730px;
    display:flex;align-items:center;
    background:
        linear-gradient(128deg,#0968ca 0%,#0756a7 38%,#063e77 70%,#052d58 100%);
    color:#fff;
}
.hero-home::after{
    content:"";position:absolute;inset:auto -10% -260px -10%;height:380px;
    background:radial-gradient(ellipse at center,rgba(0,0,0,.18),transparent 68%);
    pointer-events:none;
}
.hero-glow{position:absolute;border-radius:999px;filter:blur(4px);pointer-events:none}
.hero-glow-one{width:600px;height:600px;background:rgba(36,141,255,.22);top:-270px;left:-120px}
.hero-glow-two{width:520px;height:520px;background:rgba(0,16,46,.2);right:-180px;bottom:-240px}
.hero-home-inner{
    position:relative;z-index:2;
    display:flex;flex-direction:column;align-items:center;
    text-align:center;padding:86px 0 76px;
}
.hero-badge{
    display:inline-flex;align-items:center;gap:9px;
    padding:8px 12px;border:1px solid rgba(255,255,255,.18);
    border-radius:999px;background:rgba(255,255,255,.08);
    backdrop-filter:blur(8px);font-size:12px;font-weight:850
}
.hero-badge span{width:7px;height:7px;border-radius:999px;background:var(--orange-500);box-shadow:0 0 0 6px rgba(255,114,0,.12)}
.hero-home h1{
    max-width:950px;margin:24px 0 16px;
    font-size:clamp(48px,5.7vw,82px);line-height:1.02;
    letter-spacing:-3.8px;color:#fff;font-weight:950
}
.hero-home h1 strong{
    display:block;color:#ff8a00;font-weight:950
}
.hero-subline{max-width:760px;margin:0;color:rgba(255,255,255,.82);font-size:19px;font-weight:600}

.job-search{
    width:min(930px,100%);margin-top:38px;padding:14px;
    display:grid;grid-template-columns:1fr .82fr auto;gap:10px;
    background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16);
    border-radius:18px;box-shadow:0 18px 50px rgba(0,27,62,.22);
    backdrop-filter:blur(14px)
}
.search-field{
    min-height:62px;background:#fff;border-radius:12px;
    display:flex;align-items:center;gap:11px;padding:9px 14px;text-align:left
}
.search-field svg{width:21px;height:21px;color:var(--blue-700);flex:none}
.search-field div{min-width:0;flex:1}
.search-field label{display:block;color:#667085;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.search-field input{
    width:100%;border:0;outline:none;background:transparent;
    color:var(--ink);font-size:14px;font-weight:700;padding:2px 0
}
.search-field input::placeholder{color:#a2a9b3;font-weight:600}
.search-button{min-width:168px;border-radius:12px}

.hero-stats{
    display:grid;grid-template-columns:repeat(4,1fr);
    width:min(900px,100%);gap:14px;margin-top:38px
}
.hero-stat{
    padding:18px 14px;border-radius:16px;
    background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06)
}
.hero-stat strong{display:block;color:#ff950e;font-size:32px;line-height:1;font-weight:950;letter-spacing:-1.2px}
.hero-stat span{display:block;margin-top:8px;color:rgba(255,255,255,.86);font-size:12px;font-weight:800}

/* sections */
.jobs-preview-section{padding:82px 0;background:var(--surface-soft)}
.section-title{text-align:center;max-width:760px;margin:0 auto 40px}
.section-title h2{font-size:clamp(32px,4vw,48px);line-height:1.1;letter-spacing:-2px;margin:8px 0 12px}
.section-title p{margin:0;color:var(--muted);font-size:17px}
.section-kicker{
    display:inline-block;color:var(--orange-600);font-size:12px;font-weight:950;
    text-transform:uppercase;letter-spacing:.12em
}
.section-kicker.light{color:#ffd3b6}
.section-title.light h2,.section-title.light p{color:#fff}
.section-title.light p{color:rgba(255,255,255,.72)}

.job-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.job-card{
    background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;
    box-shadow:0 7px 24px rgba(15,23,42,.05);transition:.2s ease
}
.job-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:#d5e1ee}
.job-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.job-tag{font-size:11px;font-weight:900;color:var(--blue-700);background:var(--blue-100);padding:6px 9px;border-radius:999px}
.job-date{font-size:11px;color:var(--muted)}
.job-card h3{font-size:20px;line-height:1.2;margin:16px 0 5px}
.job-company{margin:0;color:var(--muted);font-weight:700}
.job-meta{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0;color:#556070;font-size:12px;font-weight:700}
.job-meta span{display:flex;align-items:center;gap:6px}
.job-meta svg{width:16px;height:16px;color:var(--blue-700)}
.job-card-link{display:inline-flex;align-items:center;gap:5px;color:var(--blue-700);font-weight:900;font-size:13px}
.job-card-link svg{width:16px;height:16px}
.center-action{text-align:center;margin-top:32px}

.empty-launch-card{
    max-width:720px;margin:0 auto;padding:46px 34px;text-align:center;
    background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-sm)
}
.launch-icon{
    width:64px;height:64px;margin:0 auto 18px;display:grid;place-items:center;
    border-radius:18px;background:var(--orange-100);color:var(--orange-600)
}
.launch-icon svg{width:31px;height:31px}
.empty-launch-card h3{font-size:26px;margin:0 0 8px}
.empty-launch-card p{color:var(--muted);max-width:520px;margin:0 auto 22px}

/* Benefits */
.benefits-section{
    position:relative;overflow:hidden;padding:92px 0;
    background:linear-gradient(125deg,#556fe1 0%,#6f67d7 48%,#7b46ad 100%);
}
.benefit-glow{
    position:absolute;width:700px;height:700px;left:-260px;top:-350px;border-radius:999px;
    background:rgba(116,188,255,.18)
}
.benefit-grid{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.benefit-card{
    min-height:205px;padding:24px;border-radius:18px;
    color:#fff;background:rgba(255,255,255,.095);
    border:1px solid rgba(255,255,255,.23);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter:blur(8px);transition:.2s ease
}
.benefit-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.13)}
.benefit-icon{
    width:45px;height:45px;border-radius:13px;display:grid;place-items:center;
    background:rgba(255,255,255,.1);margin-bottom:16px
}
.benefit-icon svg{width:24px;height:24px}
.benefit-card h3{margin:0 0 8px;font-size:18px}
.benefit-card p{margin:0;color:rgba(255,255,255,.73);font-size:13px;line-height:1.65}

/* Employer */
.employer-section{padding:94px 0;background:#fff}
.employer-wrap{display:grid;grid-template-columns:1fr .9fr;gap:80px;align-items:center}
.employer-copy h2{font-size:clamp(34px,4vw,52px);letter-spacing:-2px;margin:8px 0 14px}
.employer-copy>p{max-width:700px;color:var(--muted);font-size:17px}
.employer-points{display:grid;gap:10px;margin:26px 0}
.employer-points span{display:flex;align-items:center;gap:12px;font-weight:800;color:var(--ink-soft)}
.employer-points b{
    width:34px;height:34px;border-radius:10px;display:grid;place-items:center;
    color:var(--blue-700);background:var(--blue-100);font-size:11px
}
.employer-panel{
    padding:18px;border-radius:24px;background:#0d3766;
    box-shadow:var(--shadow-lg)
}
.panel-row{
    display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;
    padding:17px;background:#fff;border-radius:14px;margin-bottom:10px
}
.panel-row:last-child{margin-bottom:0}
.panel-row div strong{display:block;font-size:14px}
.panel-row div small{display:block;color:var(--muted);margin-top:2px}
.panel-row>b{color:var(--blue-700);font-size:18px}
.panel-dot{width:12px;height:12px;border-radius:999px;background:var(--blue-600);box-shadow:0 0 0 5px var(--blue-100)}
.panel-dot.orange{background:var(--orange-500);box-shadow:0 0 0 5px var(--orange-100)}
.panel-dot.green{background:#2aaa63;box-shadow:0 0 0 5px #e7f8ee}

/* CTA */
.career-cta{
    position:relative;overflow:hidden;padding:88px 0;
    background:linear-gradient(110deg,#ff7600 0%,#f25e00 62%,#e44d00 100%);color:#fff
}
.career-cta-shine{
    position:absolute;inset:-200px auto auto -80px;width:520px;height:520px;border-radius:999px;
    background:rgba(255,255,255,.09)
}
.career-cta-inner{position:relative;text-align:center}
.career-cta h2{margin:8px auto 12px;max-width:900px;font-size:clamp(34px,4vw,54px);letter-spacing:-2px}
.career-cta p{margin:0 auto 24px;color:rgba(255,255,255,.82);font-size:17px}

/* generic app surfaces */
.alert{padding:12px 14px;border-radius:12px;border:1px solid #cfe1f7;background:#f1f7ff}
.alert.success{background:#edf9f2;border-color:#c9ead6}
.alert.warning{background:#fff6e9;border-color:#ffdfad}
.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow-sm)}
.page{padding:38px 0 72px}
.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}
.page-head h1{font-size:42px;letter-spacing:-1.8px;margin:0 0 8px}
.muted{color:var(--muted)}
.badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--blue-100);color:var(--blue-700);font-size:12px;font-weight:900}
.badge.orange{background:var(--orange-100);color:var(--orange-700)}
.badge.green{background:#e8f8ef;color:var(--success)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-4,.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.actions,.hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.field{display:flex;flex-direction:column;gap:7px}
.field.full{grid-column:1/-1}
.field label{font-size:13px;font-weight:850;color:#344054}
.field input,.field select,.field textarea,input,select,textarea{
    border:1px solid #d5dce5;border-radius:11px;padding:12px 13px;background:#fff;outline:none
}
.field input:focus,.field select:focus,.field textarea:focus,input:focus,select:focus,textarea:focus{
    border-color:#68a7e9;box-shadow:0 0 0 4px rgba(8,116,222,.09)
}
textarea{min-height:130px;resize:vertical}
.error{color:#b42318;font-size:12px;font-weight:800}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse}
th,td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left}
th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}
.sidebar-layout,.page-shell{display:grid;grid-template-columns:250px 1fr;gap:22px}
.sidebar{align-self:start;position:sticky;top:96px;padding:13px;background:#fff;border:1px solid var(--line);border-radius:16px}
.sidebar-title{padding:8px 10px;font-size:11px;text-transform:uppercase;color:var(--muted);font-weight:900}
.sidebar a{display:block;padding:10px 11px;border-radius:10px;font-size:14px;font-weight:800;color:#415065}
.sidebar a:hover,.sidebar a.active{background:var(--blue-100);color:var(--blue-700)}
.metric strong{display:block;font-size:33px;letter-spacing:-1.4px}
.metric span,.metric small{color:var(--muted)}
.metric small{display:block;margin-top:5px}

/* Footer */
.site-footer{background:#151515;color:#a9a9a9;padding:50px 0 22px}
.footer-grid{display:flex;align-items:flex-start;justify-content:space-between;gap:30px}
.footer-brand .brand-word{color:#fff}
.footer-grid p{max-width:430px;margin:10px 0 0;color:#868686}
.footer-links{display:flex;gap:24px;flex-wrap:wrap;font-size:13px;font-weight:700}
.footer-links a:hover{color:#fff}
.footer-bottom{margin-top:34px;padding-top:20px;border-top:1px solid #2b2b2b;font-size:12px}
.scroll-top{
    position:fixed;right:20px;bottom:20px;z-index:40;width:42px;height:42px;border-radius:999px;
    display:grid;place-items:center;background:var(--orange-500);color:#fff;box-shadow:0 12px 28px rgba(242,101,0,.3)
}
.scroll-top svg{width:18px;height:18px}

@media(max-width:1080px){
    .job-card-grid,.benefit-grid{grid-template-columns:repeat(2,1fr)}
    .employer-wrap{grid-template-columns:1fr;gap:38px}
    .grid-4,.dashboard-grid{grid-template-columns:repeat(2,1fr)}
    .page-shell,.sidebar-layout{grid-template-columns:1fr}
    .sidebar{position:static}
}
@media(max-width:820px){
    .container{width:min(100% - 26px,var(--shell))}
    .mobile-toggle{display:grid}
    .nav{min-height:68px}
    .nav-links{
        display:none;position:absolute;left:13px;right:13px;top:76px;
        flex-direction:column;align-items:stretch;padding:13px;background:#fff;
        border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-md)
    }
    .nav-open .nav-links{display:flex}
    .nav-link,.nav-cta{margin:0;width:100%;justify-content:center;text-align:center}
    .hero-home{min-height:auto}
    .hero-home-inner{padding:68px 0 55px}
    .hero-home h1{letter-spacing:-2.5px}
    .job-search{grid-template-columns:1fr}
    .search-button{min-height:56px}
    .hero-stats{grid-template-columns:repeat(2,1fr)}
    .job-card-grid,.benefit-grid,.grid-3,.grid-4,.dashboard-grid,.form-grid{grid-template-columns:1fr}
    .field.full{grid-column:auto}
    .section-title h2,.career-cta h2,.employer-copy h2{letter-spacing:-1.2px}
    .footer-grid{flex-direction:column}
    .footer-links{gap:14px}
}
@media(max-width:520px){
    .hero-stats{grid-template-columns:1fr 1fr;gap:9px}
    .hero-stat strong{font-size:27px}
    .hero-subline{font-size:16px}
    .jobs-preview-section,.benefits-section,.employer-section,.career-cta{padding:64px 0}
}


/* =========================================================
   Fachify v4 UI corrections
   ========================================================= */

/* Hero occupies the complete viewport below the sticky header */
.hero-home{
    min-height:calc(100svh - 76px);
    height:auto;
}

/* Scroll-to-top is invisible until JS activates it */
.scroll-top{
    opacity:0;
    visibility:hidden;
    transform:translateY(12px);
    pointer-events:none;
    transition:opacity .2s ease,visibility .2s ease,transform .2s ease;
}
.scroll-top.is-visible{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
}

/* Registration / authentication */
.register-page{
    min-height:calc(100svh - 76px);
    padding:46px 0 70px;
    background:
        radial-gradient(circle at 12% 0%,rgba(8,116,222,.10),transparent 28%),
        radial-gradient(circle at 92% 5%,rgba(255,114,0,.08),transparent 24%),
        #f7f9fc;
}
.register-shell{
    display:grid;
    grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr);
    gap:28px;
    align-items:start;
}
.register-intro{
    position:sticky;
    top:106px;
    overflow:hidden;
    min-height:620px;
    padding:42px;
    border-radius:28px;
    color:#fff;
    background:
        linear-gradient(150deg,rgba(255,255,255,.04),rgba(255,255,255,0)),
        linear-gradient(145deg,#075fbd 0%,#064b91 48%,#063564 100%);
    box-shadow:0 30px 80px rgba(3,43,83,.16);
}
.register-intro::after{
    content:"";
    position:absolute;
    width:320px;height:320px;
    border-radius:999px;
    right:-160px;bottom:-120px;
    background:rgba(255,114,0,.18);
}
.register-intro .section-kicker{color:#ffc59d}
.register-intro h1{
    color:#fff;
    margin:10px 0 16px;
    font-size:clamp(38px,4vw,58px);
    line-height:1.02;
    letter-spacing:-2.5px;
}
.register-intro>p{
    max-width:560px;
    color:rgba(255,255,255,.78);
    font-size:17px;
    line-height:1.7;
}
.register-trust{
    display:grid;
    gap:12px;
    margin-top:34px;
}
.register-trust-item{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:15px 16px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:14px;
    background:rgba(255,255,255,.07);
    backdrop-filter:blur(8px);
}
.register-trust-icon{
    width:34px;height:34px;flex:none;
    display:grid;place-items:center;
    border-radius:10px;
    background:rgba(255,255,255,.12);
}
.register-trust-icon svg{width:18px;height:18px}
.register-trust-item strong{display:block;font-size:14px}
.register-trust-item span{display:block;margin-top:2px;color:rgba(255,255,255,.67);font-size:12px}

.register-card{
    padding:34px;
    border:1px solid var(--line);
    border-radius:24px;
    background:#fff;
    box-shadow:0 18px 55px rgba(15,23,42,.08);
}
.register-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}
.register-card h2{
    margin:5px 0 7px;
    font-size:34px;
    letter-spacing:-1.4px;
}
.register-card p{margin:0;color:var(--muted)}
.register-switch{
    display:inline-flex;
    gap:6px;
    padding:5px;
    border-radius:12px;
    background:#f1f4f8;
}
.register-switch a{
    min-width:88px;
    padding:8px 12px;
    border-radius:9px;
    text-align:center;
    font-size:12px;
    font-weight:900;
    color:#526070;
}
.register-switch a.active-employer{
    color:#fff;
    background:var(--blue-700);
    box-shadow:0 6px 16px rgba(7,91,184,.2);
}
.register-switch a.active-applicant{
    color:#fff;
    background:var(--orange-500);
    box-shadow:0 6px 16px rgba(242,101,0,.22);
}

.form-section{
    padding-top:22px;
    margin-top:22px;
    border-top:1px solid var(--line);
}
.form-section:first-of-type{
    padding-top:0;
    margin-top:0;
    border-top:0;
}
.form-section-title{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:16px;
    font-size:13px;
    font-weight:950;
    color:#253246;
    text-transform:uppercase;
    letter-spacing:.07em;
}
.form-section-index{
    width:27px;height:27px;
    display:grid;place-items:center;
    border-radius:8px;
    color:var(--blue-700);
    background:var(--blue-100);
    font-size:11px;
}
.form-section-index.orange{
    color:var(--orange-700);
    background:var(--orange-100);
}
.register-card .field input,
.register-card .field select,
.register-card .field textarea{
    min-height:48px;
    background:#fbfcfe;
}
.register-card .field input:focus,
.register-card .field select:focus,
.register-card .field textarea:focus{
    background:#fff;
}
.required-note{
    margin-top:6px;
    font-size:11px;
    color:var(--muted);
}
.consent-row{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:14px;
    border-radius:12px;
    background:#f8fafc;
}
.consent-row input{
    width:18px;height:18px;
    margin-top:1px;
    flex:none;
}
.consent-row span{
    color:#465467;
    font-size:13px;
}
.register-submit{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:24px;
}
.register-submit small{
    max-width:430px;
    color:var(--muted);
    font-size:11px;
}

@media(max-width:1050px){
    .register-shell{grid-template-columns:1fr}
    .register-intro{
        position:relative;
        top:auto;
        min-height:auto;
    }
}
@media(max-width:760px){
    .hero-home{min-height:calc(100svh - 68px)}
    .register-page{min-height:calc(100svh - 68px);padding:24px 0 46px}
    .register-intro,.register-card{padding:24px;border-radius:20px}
    .register-card-head{flex-direction:column}
    .register-switch{width:100%}
    .register-switch a{flex:1}
    .register-submit{align-items:stretch;flex-direction:column}
    .register-submit .btn{width:100%}
}


/* =========================================================
   Fachify v5 – global footer + employer dashboard
   ========================================================= */

/* Footer always remains at the visual end of the page */
html,body{min-height:100%}
body{
    min-height:100vh;
    min-height:100svh;
    display:flex;
    flex-direction:column;
}
main{flex:1 0 auto}
.site-footer{margin-top:auto;flex-shrink:0}

/* Employer dashboard */
.employer-dashboard{
    padding:42px 0 72px;
    background:#f4f6f9;
}
.dashboard-wrap{
    width:min(1280px,calc(100% - 48px));
    margin:0 auto;
}
.dashboard-welcome{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:26px;
}
.dashboard-welcome h1{
    margin:0;
    font-size:42px;
    line-height:1.05;
    letter-spacing:-1.8px;
    color:#262626;
}
.dashboard-welcome .company-name{
    margin-top:8px;
    color:var(--orange-600);
    font-size:21px;
    font-weight:800;
}
.dashboard-welcome p{
    margin:8px 0 0;
    color:var(--muted);
    font-size:14px;
}
.dashboard-top-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.dashboard-kpis{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    margin-bottom:22px;
}
.dashboard-kpi{
    position:relative;
    overflow:hidden;
    min-height:132px;
    padding:22px 24px;
    border-radius:16px;
    border:1px solid #e6e8eb;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.055);
}
.dashboard-kpi.primary{
    color:#fff;
    border-color:#075bb8;
    background:linear-gradient(135deg,#0869c9,#0756a8);
}
.dashboard-kpi.accent{
    color:#fff;
    border-color:#f26500;
    background:linear-gradient(135deg,#ff7300,#ef5b00);
}
.dashboard-kpi .kpi-value{
    display:block;
    font-size:38px;
    line-height:1;
    font-weight:950;
    letter-spacing:-1.6px;
}
.dashboard-kpi .kpi-label{
    display:block;
    margin-top:12px;
    font-size:13px;
    font-weight:800;
    color:#596575;
}
.dashboard-kpi.primary .kpi-label,
.dashboard-kpi.accent .kpi-label{
    color:rgba(255,255,255,.9);
}
.dashboard-kpi .kpi-icon{
    position:absolute;
    right:18px;
    bottom:14px;
    width:58px;
    height:58px;
    opacity:.08;
}
.dashboard-kpi.primary .kpi-icon,
.dashboard-kpi.accent .kpi-icon{opacity:.1}

.dashboard-shortcuts{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-bottom:22px;
}
.dashboard-shortcut{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:145px;
    padding:22px;
    border:1px solid #e7e9ec;
    border-radius:16px;
    background:#fff;
    box-shadow:0 7px 20px rgba(15,23,42,.045);
    text-align:center;
    transition:.18s ease;
}
.dashboard-shortcut:hover{
    transform:translateY(-2px);
    border-color:#d3dfec;
    box-shadow:0 14px 34px rgba(15,23,42,.08);
}
.dashboard-shortcut .shortcut-icon{
    width:46px;height:46px;
    display:grid;place-items:center;
    border-radius:13px;
    margin-bottom:13px;
    background:#f1f5fb;
    color:var(--blue-700);
}
.dashboard-shortcut .shortcut-icon.orange{
    background:var(--orange-100);
    color:var(--orange-600);
}
.dashboard-shortcut svg{width:24px;height:24px}
.dashboard-shortcut strong{
    font-size:16px;
    color:#242424;
}
.dashboard-shortcut span{
    margin-top:5px;
    font-size:12px;
    color:var(--muted);
}

.dashboard-panel{
    overflow:hidden;
    margin-bottom:22px;
    border:1px solid #e7e9ec;
    border-radius:17px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.045);
}
.dashboard-panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:20px 24px;
    border-bottom:1px solid #edf0f3;
}
.dashboard-panel-head h2{
    margin:0;
    font-size:22px;
    letter-spacing:-.7px;
}
.dashboard-table-wrap{overflow:auto}
.dashboard-table{
    width:100%;
    border-collapse:collapse;
}
.dashboard-table th{
    background:#f7f8fa;
    color:#4a5565;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.dashboard-table th,
.dashboard-table td{
    padding:14px 16px;
    border-bottom:1px solid #eef1f4;
    text-align:left;
    vertical-align:middle;
}
.dashboard-table tbody tr:last-child td{border-bottom:0}
.dashboard-table tbody tr:hover{background:#fbfcfd}
.dashboard-table .job-title{font-weight:900;color:#232323}
.status-pill{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 9px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
}
.status-pill.active{background:#eaf8ef;color:#198249}
.status-pill.draft{background:#eef3f8;color:#5a6878}
.status-pill.paused{background:#fff3df;color:#a15d00}
.status-pill.filled{background:#e8f1ff;color:#1765b3}
.status-pill.expired,.status-pill.archived{background:#f3f4f6;color:#667085}

.dashboard-actions-inline{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
}
.dashboard-mini-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:33px;
    padding:7px 10px;
    border:1px solid #dce1e7;
    border-radius:9px;
    background:#fff;
    color:#263343;
    font-size:11px;
    font-weight:900;
}
.dashboard-mini-btn.primary{
    border-color:var(--blue-700);
    background:var(--blue-700);
    color:#fff;
}
.dashboard-mini-btn:hover{filter:brightness(.97)}

.dashboard-tip{
    position:relative;
    overflow:hidden;
    padding:26px 28px;
    border-radius:17px;
    background:linear-gradient(135deg,#075eaf,#084b8a);
    color:#fff;
}
.dashboard-tip::after{
    content:"";
    position:absolute;
    width:260px;height:260px;
    right:-100px;top:-120px;
    border-radius:999px;
    background:rgba(255,255,255,.05);
}
.dashboard-tip h3{
    position:relative;
    z-index:1;
    margin:0 0 14px;
    font-size:20px;
}
.dashboard-tip ul{
    position:relative;
    z-index:1;
    display:grid;
    gap:8px;
    margin:0;
    padding-left:19px;
    color:rgba(255,255,255,.9);
    font-size:13px;
}

@media(max-width:1050px){
    .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
    .dashboard-shortcuts{grid-template-columns:1fr}
}
@media(max-width:720px){
    .dashboard-wrap{width:min(100% - 24px,1280px)}
    .dashboard-welcome{align-items:flex-start;flex-direction:column}
    .dashboard-welcome h1{font-size:34px}
    .dashboard-kpis{grid-template-columns:1fr}
    .dashboard-panel-head{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   Fachify v6 – role-specific dashboard navigation
   ========================================================= */

.nav-link.active{
    color:#fff;
    background:var(--blue-700);
    box-shadow:0 7px 18px rgba(7,91,184,.18);
}
.btn-outline{
    color:#222;
    background:#fff;
    border:1px solid #1f2937;
    box-shadow:none;
}
.btn-outline:hover{
    color:#fff;
    background:#1f2937;
}
.nav-logout{
    min-width:108px;
    margin-left:6px;
}
@media(max-width:820px){
    .nav-logout{
        width:100%;
        margin-left:0;
    }
}


/* =========================================================
   Fachify v7 – applicant dashboard + login
   ========================================================= */

.applicant-dashboard{
    padding:42px 0 72px;
    background:#f4f6f9;
}
.applicant-dashboard-wrap{
    width:min(1180px,calc(100% - 48px));
    margin:0 auto;
}
.applicant-hero{
    position:relative;
    overflow:hidden;
    padding:38px 42px;
    border-radius:22px;
    color:#fff;
    background:linear-gradient(135deg,#0968c7 0%,#0757a8 48%,#06447f 100%);
    box-shadow:0 20px 55px rgba(5,65,125,.14);
}
.applicant-hero::after{
    content:"";
    position:absolute;
    right:-140px;
    top:-150px;
    width:360px;
    height:360px;
    border-radius:999px;
    background:rgba(255,255,255,.05);
}
.applicant-hero h1{
    position:relative;
    z-index:1;
    margin:0;
    color:#fff;
    font-size:42px;
    line-height:1.05;
    letter-spacing:-1.8px;
}
.applicant-hero p{
    position:relative;
    z-index:1;
    margin:12px 0 0;
    color:rgba(255,255,255,.82);
    font-size:16px;
}
.applicant-quick-grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    margin-top:30px;
}
.applicant-quick{
    min-height:132px;
    padding:20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    border:1px solid rgba(255,255,255,.2);
    border-radius:15px;
    background:rgba(255,255,255,.10);
    color:#fff;
    transition:.18s ease;
}
.applicant-quick:hover{
    transform:translateY(-2px);
    background:rgba(255,255,255,.15);
}
.applicant-quick svg{
    width:34px;
    height:34px;
    margin-bottom:13px;
}
.applicant-quick strong{
    font-size:15px;
}

.applicant-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:18px;
    margin-top:22px;
}
.applicant-panel{
    border:1px solid #e6e9ed;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.045);
}
.applicant-panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:20px 22px;
    border-bottom:1px solid #edf0f3;
}
.applicant-panel-head h2{
    margin:0;
    font-size:22px;
    letter-spacing:-.7px;
}
.applicant-panel-body{padding:18px 22px}
.applicant-stat-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}
.applicant-stat{
    padding:16px;
    border-radius:14px;
    background:#f7f9fc;
    border:1px solid #edf0f4;
}
.applicant-stat strong{
    display:block;
    font-size:27px;
    letter-spacing:-1px;
    color:#1e293b;
}
.applicant-stat span{
    display:block;
    margin-top:4px;
    color:var(--muted);
    font-size:11px;
    font-weight:800;
}

.application-list{
    display:grid;
    gap:11px;
}
.application-card{
    display:grid;
    grid-template-columns:1fr auto;
    gap:14px;
    align-items:center;
    padding:16px;
    border:1px solid #e8ebef;
    border-radius:14px;
    background:#fff;
}
.application-card strong{display:block;font-size:15px}
.application-card span{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.application-status{
    padding:7px 10px;
    border-radius:999px;
    background:#e9f7ee;
    color:#187b45;
    font-size:11px;
    font-weight:900;
}
.profile-progress{
    height:10px;
    overflow:hidden;
    border-radius:999px;
    background:#e9edf2;
}
.profile-progress span{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,var(--blue-700),var(--orange-500));
}
.profile-score{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:14px;
    margin:18px 0 10px;
}
.profile-score strong{
    font-size:38px;
    line-height:1;
    letter-spacing:-1.5px;
}
.profile-score span{
    color:var(--muted);
    font-size:12px;
}
.profile-hint{
    margin:14px 0 0;
    color:var(--muted);
    font-size:13px;
}

/* Login */
.login-page{
    min-height:calc(100svh - 76px);
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(440px,.95fr);
    background:#fff;
}
.login-visual{
    position:relative;
    overflow:hidden;
    padding:70px;
    display:flex;
    align-items:flex-end;
    color:#fff;
    background:
        linear-gradient(145deg,rgba(2,27,57,.10),rgba(2,27,57,.35)),
        linear-gradient(135deg,#096acb 0%,#0757a8 50%,#06396a 100%);
}
.login-visual::before{
    content:"";
    position:absolute;
    width:520px;
    height:520px;
    border-radius:999px;
    top:-260px;
    left:-150px;
    background:rgba(255,255,255,.08);
}
.login-visual::after{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:999px;
    right:-190px;
    bottom:-180px;
    background:rgba(255,114,0,.18);
}
.login-copy{
    position:relative;
    z-index:1;
    max-width:720px;
}
.login-copy .section-kicker{color:#ffd0b0}
.login-copy h1{
    margin:10px 0 16px;
    color:#fff;
    font-size:clamp(44px,5vw,68px);
    line-height:1.02;
    letter-spacing:-2.8px;
}
.login-copy p{
    max-width:640px;
    margin:0;
    color:rgba(255,255,255,.8);
    font-size:18px;
    line-height:1.7;
}
.login-proof{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:30px;
}
.login-proof div{
    padding:15px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:14px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(8px);
}
.login-proof strong{display:block;font-size:22px}
.login-proof span{display:block;margin-top:3px;color:rgba(255,255,255,.68);font-size:11px}

.login-form-side{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:54px;
    background:#f8fafc;
}
.login-box{
    width:min(510px,100%);
}
.login-box .section-kicker{margin-bottom:8px}
.login-box h2{
    margin:0;
    font-size:38px;
    letter-spacing:-1.5px;
}
.login-box>p{
    margin:9px 0 22px;
    color:var(--muted);
}
.login-card{
    padding:28px;
    border:1px solid #e4e8ed;
    border-radius:20px;
    background:#fff;
    box-shadow:0 18px 48px rgba(15,23,42,.07);
}
.login-card .field{margin-bottom:15px}
.login-card .field input{
    min-height:50px;
    background:#fbfcfe;
}
.login-options{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-top:2px;
}
.login-remember{
    display:flex;
    align-items:center;
    gap:8px;
    color:#4b5563;
    font-size:12px;
    font-weight:700;
}
.login-remember input{width:16px;height:16px}
.login-actions{
    display:flex;
    gap:10px;
    align-items:center;
    margin-top:22px;
}
.login-actions .btn-primary{min-width:145px}
.login-register{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid #edf0f3;
    color:var(--muted);
    font-size:12px;
}
.login-register a{
    color:var(--blue-700);
    font-weight:900;
}

@media(max-width:1040px){
    .applicant-grid{grid-template-columns:1fr}
    .login-page{grid-template-columns:1fr}
    .login-visual{min-height:440px;padding:48px}
}
@media(max-width:760px){
    .applicant-dashboard-wrap{width:min(100% - 24px,1180px)}
    .applicant-hero{padding:28px 22px}
    .applicant-hero h1{font-size:34px}
    .applicant-quick-grid,.applicant-stat-grid,.login-proof{grid-template-columns:1fr}
    .login-visual{min-height:360px;padding:30px 22px}
    .login-form-side{padding:34px 20px}
    .login-actions,.login-options{align-items:stretch;flex-direction:column}
    .login-actions .btn{width:100%}
}


/* =========================================================
   Fachify v8 – standalone login
   ========================================================= */

.login-standalone-body{
    margin:0;
    min-height:100svh;
    display:block;
    background:#fff;
}
.login-page-standalone{
    min-height:100svh;
}
.login-logo{
    position:absolute;
    top:34px;
    left:46px;
    z-index:2;
    color:#fff;
    font-size:26px;
    font-weight:950;
    letter-spacing:-1.3px;
}
.login-logo span{
    color:#ff8a00;
}
.login-back{
    margin-top:18px;
    text-align:center;
}
.login-back a{
    color:#5e6b7a;
    font-size:12px;
    font-weight:800;
}
.login-back a:hover{
    color:var(--blue-700);
}

@media(max-width:1040px){
    .login-logo{
        top:24px;
        left:28px;
    }
}


/* =========================================================
   Fachify v14 – public jobs + applicant jobs redesign
   ========================================================= */

.jobs-page{
    padding:44px 0 72px;
    background:#f4f6f9;
}
.jobs-page .container{
    width:min(1380px,calc(100% - 48px));
}
.jobs-hero{
    position:relative;
    overflow:hidden;
    padding:38px 40px;
    border-radius:24px;
    color:#fff;
    background:linear-gradient(135deg,#0868c7 0%,#0757a9 50%,#063b70 100%);
    box-shadow:0 22px 58px rgba(5,62,118,.13);
    margin-bottom:22px;
}
.jobs-hero::after{
    content:"";
    position:absolute;
    width:360px;
    height:360px;
    right:-150px;
    top:-170px;
    border-radius:999px;
    background:rgba(255,255,255,.06);
}
.jobs-hero .section-kicker{
    position:relative;
    z-index:1;
    color:#ffd2b4;
}
.jobs-hero h1{
    position:relative;
    z-index:1;
    margin:8px 0 10px;
    color:#fff;
    font-size:clamp(38px,4vw,54px);
    letter-spacing:-2px;
}
.jobs-hero p{
    position:relative;
    z-index:1;
    max-width:760px;
    margin:0;
    color:rgba(255,255,255,.8);
    font-size:16px;
}
.jobs-search-panel{
    margin-bottom:22px;
    padding:20px;
    border:1px solid #e4e8ee;
    border-radius:18px;
    background:#fff;
    box-shadow:0 9px 28px rgba(15,23,42,.05);
}
.jobs-search-grid{
    display:grid;
    grid-template-columns:1fr 1fr auto;
    gap:12px;
    align-items:end;
}
.jobs-search-panel .field input{
    min-height:50px;
    background:#fbfcfe;
}
.jobs-search-panel .btn{
    min-height:50px;
    min-width:140px;
}
.jobs-result-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin:24px 0 14px;
}
.jobs-result-head h2{
    margin:0;
    font-size:24px;
    letter-spacing:-.8px;
}
.jobs-result-head span{
    color:var(--muted);
    font-size:12px;
}
.jobs-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.jobs-card{
    display:flex;
    flex-direction:column;
    min-height:310px;
    padding:22px;
    border:1px solid #e4e8ed;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.045);
    transition:.18s ease;
}
.jobs-card:hover{
    transform:translateY(-3px);
    border-color:#d3dfec;
    box-shadow:0 16px 38px rgba(15,23,42,.08);
}
.jobs-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}
.jobs-card h3{
    margin:16px 0 6px;
    font-size:20px;
    line-height:1.2;
}
.jobs-company{
    color:#556274;
    font-size:13px;
    font-weight:800;
}
.jobs-card-meta{
    display:grid;
    gap:8px;
    margin:18px 0;
}
.jobs-card-meta span{
    display:flex;
    align-items:center;
    gap:8px;
    color:#657286;
    font-size:12px;
}
.jobs-card-meta svg{
    width:16px;
    height:16px;
    color:var(--blue-700);
}
.jobs-card-description{
    color:#6b7280;
    font-size:13px;
    line-height:1.6;
}
.jobs-card-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:auto;
    padding-top:18px;
}
.jobs-match{
    padding:7px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:950;
}
.jobs-match.high{background:#e8f8ef;color:#198249}
.jobs-match.medium{background:#fff4df;color:#996200}
.jobs-match.low{background:#f0f2f5;color:#687587}
.jobs-match.none{background:#eef4fb;color:#396b9c}
.jobs-empty{
    grid-column:1/-1;
    padding:48px 30px;
    border:1px solid #e4e8ed;
    border-radius:18px;
    background:#fff;
    text-align:center;
}
.jobs-empty-icon{
    width:58px;
    height:58px;
    margin:0 auto 14px;
    display:grid;
    place-items:center;
    border-radius:16px;
    background:var(--orange-100);
    color:var(--orange-600);
}
.jobs-empty-icon svg{width:28px;height:28px}
.jobs-empty h3{
    margin:0 0 7px;
    font-size:21px;
}
.jobs-empty p{
    max-width:560px;
    margin:0 auto;
    color:var(--muted);
    font-size:13px;
}
.jobs-profile-alert{
    margin-bottom:18px;
    padding:14px 16px;
    border-radius:13px;
    background:#fff8eb;
    border:1px solid #ffe0aa;
    color:#77500d;
    font-size:13px;
}
.jobs-profile-alert strong{color:#5c3d08}

/* public job detail */
.job-detail-page{
    padding:44px 0 72px;
    background:#f4f6f9;
}
.job-detail-wrap{
    width:min(1100px,calc(100% - 48px));
    margin:0 auto;
}
.job-detail-hero{
    padding:34px;
    border-radius:22px;
    color:#fff;
    background:linear-gradient(135deg,#0868c7,#064579);
    box-shadow:0 18px 50px rgba(5,62,118,.12);
}
.job-detail-hero h1{
    margin:10px 0 8px;
    color:#fff;
    font-size:clamp(36px,4vw,50px);
    letter-spacing:-1.8px;
}
.job-detail-hero p{margin:0;color:rgba(255,255,255,.8)}
.job-detail-grid{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);
    gap:20px;
    margin-top:20px;
}
.job-detail-section{
    margin-bottom:18px;
}
.job-detail-section h2{
    font-size:22px;
    margin-bottom:12px;
}
.job-side-card{
    position:sticky;
    top:96px;
    align-self:start;
}
.job-facts{
    display:grid;
    gap:10px;
}
.job-fact{
    display:flex;
    justify-content:space-between;
    gap:14px;
    padding-bottom:9px;
    border-bottom:1px solid #edf0f3;
}
.job-fact span{color:var(--muted);font-size:11px}
.job-fact strong{font-size:11px;text-align:right}

@media(max-width:1050px){
    .jobs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .job-detail-grid{grid-template-columns:1fr}
    .job-side-card{position:static}
}
@media(max-width:760px){
    .jobs-page .container,
    .job-detail-wrap{
        width:min(100% - 24px,1380px);
    }
    .jobs-hero{padding:28px 22px}
    .jobs-search-grid,
    .jobs-grid{grid-template-columns:1fr}
    .jobs-search-panel .btn{width:100%}
    .jobs-result-head{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   Fachify v17 – already applied state
   ========================================================= */

.already-applied-box{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:12px;
    align-items:flex-start;
    margin-top:22px;
    padding:16px;
    border:1px solid #c9ead6;
    border-radius:14px;
    background:#edf9f2;
}
.already-applied-icon{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:#d7f2e2;
    color:#16844a;
}
.already-applied-icon svg{
    width:20px;
    height:20px;
}
.already-applied-box strong{
    display:block;
    color:#126d3d;
    font-size:14px;
}
.already-applied-box p{
    margin:5px 0 0;
    color:#355c48;
    font-size:12px;
}
.already-applied-box small{
    display:block;
    margin-top:4px;
    color:#688174;
    font-size:10px;
}
.already-applied-action{
    width:100%;
    margin-top:12px;
}


/* Fachify v18 – global language switch */
.language-switch{
    display:inline-flex;
    align-items:center;
    gap:3px;
    padding:4px;
    border-radius:10px;
    background:#f1f4f8;
}
.language-switch a{
    min-width:32px;
    padding:6px 8px;
    border-radius:7px;
    text-align:center;
    color:#596779;
    font-size:11px;
    font-weight:950;
}
.language-switch a.active{
    background:#fff;
    color:var(--blue-700);
    box-shadow:0 2px 8px rgba(15,23,42,.08);
}
@media(max-width:820px){
    .language-switch{width:100%;justify-content:center}
}

.login-language-switch{
    position:fixed;top:20px;right:20px;z-index:30;
    display:inline-flex;gap:3px;padding:4px;border-radius:10px;
    background:rgba(255,255,255,.94);
    box-shadow:0 8px 24px rgba(15,23,42,.12);
}
.login-language-switch a{
    min-width:32px;padding:6px 8px;border-radius:7px;text-align:center;
    color:#596779;font-size:11px;font-weight:950;
}
.login-language-switch a.active{
    background:var(--blue-700);color:#fff;
}

/* =========================================================
   Fachify v26 – Talent-Pool redesign
   ========================================================= */
.talent-page-v26{
    min-height:calc(100vh - 76px);
    padding:34px 0 72px;
    background:
        radial-gradient(circle at 85% 2%,rgba(255,114,0,.07),transparent 18%),
        linear-gradient(180deg,#fbfdff 0,#fff 260px);
}
.talent-hero{
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);
    gap:42px;
    align-items:center;
    margin-bottom:28px;
}
.talent-hero-copy h1{
    margin:6px 0 12px;
    font-size:clamp(42px,4.2vw,64px);
    line-height:1;
    letter-spacing:-2.7px;
    color:#071a35;
}
.talent-hero-copy p{
    max-width:690px;
    margin:0;
    color:#5e6f86;
    font-size:17px;
}
.talent-hero-side{
    position:relative;
    min-height:190px;
    display:flex;
    align-items:flex-start;
    justify-content:flex-end;
}
.talent-saved-btn{
    position:relative;
    z-index:4;
    min-height:48px;
    padding-inline:20px;
}
.talent-network{
    position:absolute;
    right:26px;
    bottom:0;
    width:330px;
    height:150px;
}
.talent-network-core,
.network-dot{
    position:absolute;
    z-index:2;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#fff;
    box-shadow:0 12px 30px rgba(7,91,184,.14);
}
.talent-network-core{
    left:136px;
    top:52px;
    width:72px;
    height:72px;
    color:var(--blue-700);
    border:7px solid #eef5ff;
}
.talent-network-core svg{width:30px;height:30px}
.network-dot{
    width:52px;height:52px;
    color:var(--blue-700);
    font-size:12px;font-weight:950;
    border:4px solid #eef5ff;
}
.dot-a{left:35px;top:30px}
.dot-b{right:12px;top:22px}
.dot-c{right:62px;bottom:0}
.network-line{
    position:absolute;
    z-index:1;
    height:1px;
    background:linear-gradient(90deg,rgba(7,91,184,.1),rgba(7,91,184,.35));
    transform-origin:left center;
}
.line-a{left:80px;top:60px;width:85px;transform:rotate(12deg)}
.line-b{left:200px;top:78px;width:85px;transform:rotate(-17deg)}
.line-c{left:198px;top:92px;width:68px;transform:rotate(22deg)}

.talent-filter-v26{
    padding:28px;
    border:1px solid #dce6f2;
    border-radius:20px;
    background:rgba(255,255,255,.96);
    box-shadow:0 16px 45px rgba(15,23,42,.07);
}
.talent-filter-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px 16px;
}
.talent-filter-grid .field.full{grid-column:1/-1}
.talent-filter-v26 label{
    display:block;
    margin-bottom:8px;
    color:#1a2940;
    font-size:12px;
    font-weight:900;
}
.talent-input-wrap{
    position:relative;
    display:flex;
    align-items:center;
    min-height:52px;
    border:1px solid #cfdbea;
    border-radius:12px;
    background:#fff;
    transition:border-color .18s ease,box-shadow .18s ease;
}
.talent-input-wrap:focus-within{
    border-color:#78aee8;
    box-shadow:0 0 0 4px rgba(7,91,184,.08);
}
.talent-input-wrap>svg{
    width:19px;height:19px;
    margin-left:15px;
    color:#718096;
    flex:none;
}
.talent-input-wrap input,
.talent-input-wrap select{
    width:100%;
    min-height:50px;
    padding:0 15px 0 12px;
    border:0;
    outline:0;
    background:transparent;
    color:#172033;
    font-size:14px;
}
.talent-input-wrap input::placeholder{color:#9aa7b8}
.talent-select-wrap select{cursor:pointer}
.talent-filter-actions{
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:18px;
}
.talent-reset{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:44px;
    color:#26354a;
    font-size:13px;
    font-weight:850;
}
.talent-reset svg{width:18px;height:18px;color:#64748b}
.talent-match-context{
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:16px;
    padding:12px 14px;
    border:1px solid #cfe1f6;
    border-radius:12px;
    background:#f3f8fe;
    color:#38536f;
    font-size:13px;
}
.talent-match-context svg{width:17px;height:17px;color:var(--blue-700)}
.talent-results-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:28px 0 12px;
}
.talent-results-head>div{
    display:flex;
    align-items:baseline;
    gap:6px;
}
.talent-results-head strong{
    color:#071a35;
    font-size:16px;
}
.talent-results-head span{
    color:#5f6f83;
    font-size:13px;
}
.talent-list{display:grid;gap:16px}
.talent-card-v26{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:0;
    overflow:hidden;
    border:1px solid #dce6f2;
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 32px rgba(15,23,42,.055);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.talent-card-v26:hover{
    transform:translateY(-2px);
    border-color:#c9d9ec;
    box-shadow:0 18px 45px rgba(15,23,42,.085);
}
.talent-card-main{
    display:flex;
    gap:22px;
    padding:26px 28px;
}
.talent-avatar-v26{
    position:relative;
    width:86px;height:86px;
    flex:none;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:linear-gradient(135deg,#edf5ff,#f7faff);
    color:#1459bc;
    font-size:28px;
    font-weight:950;
    letter-spacing:-1px;
}
.talent-avatar-v26 span{
    position:absolute;
    right:5px;bottom:5px;
    width:18px;height:18px;
    border:3px solid #fff;
    border-radius:999px;
    background:#19a765;
}
.talent-card-content{min-width:0;flex:1}
.talent-card-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
}
.talent-card-heading h3{
    margin:0 0 6px;
    color:#071a35;
    font-size:22px;
    line-height:1.15;
}
.talent-meta-row{
    display:flex;
    flex-wrap:wrap;
    gap:8px 18px;
}
.talent-meta-row span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#607086;
    font-size:13px;
}
.talent-meta-row svg{width:15px;height:15px;color:#6e7f94}
.talent-score{
    flex:none;
    display:inline-flex;
    align-items:center;
    padding:7px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:950;
}
.talent-score.high{background:#eaf9f1;color:#148550}
.talent-score.medium{background:#fff4df;color:#976000}
.talent-score.low{background:#f1f4f8;color:#667085}
.skill-cloud-v26{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:16px;
}
.skill-cloud-v26 span{
    padding:6px 10px;
    border:1px solid #e1e7ef;
    border-radius:999px;
    background:#f8fafc;
    color:#465568;
    font-size:11px;
    font-weight:800;
}
.talent-card-side{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:18px;
    padding:25px 28px;
    border-left:1px solid #edf1f5;
    background:linear-gradient(180deg,#fcfdff,#fafcff);
}
.profile-completeness-badge{
    display:inline-flex;
    align-items:center;
    align-self:flex-end;
    gap:7px;
    padding:8px 11px;
    border:1px solid #c7ead8;
    border-radius:10px;
    background:#effaf4;
    color:#16844a;
    font-size:11px;
    font-weight:950;
}
.profile-completeness-badge svg{width:17px;height:17px}
.talent-actions-v26{
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px;
    align-items:center;
}
.talent-actions-v26 form{margin:0}
.talent-save-btn,
.saved-indicator{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:10px 14px;
    border:1px solid #d5deea;
    border-radius:12px;
    background:#fff;
    color:#354358;
    font-size:13px;
    font-weight:900;
}
.talent-save-btn{cursor:pointer}
.talent-save-btn:hover{background:#f7f9fc}
.talent-save-btn svg,
.saved-indicator svg{width:17px;height:17px}
.talent-match-breakdown{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border-top:1px solid #edf1f5;
    background:#fbfcfe;
}
.talent-match-breakdown>div{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:11px 18px;
    border-right:1px solid #edf1f5;
    font-size:11px;
}
.talent-match-breakdown>div:last-child{border-right:0}
.talent-match-breakdown span{color:#788698}
.talent-match-breakdown b{color:#1d2d44}
.talent-empty{
    padding:48px 30px;
    border:1px solid #dce6f2;
    border-radius:20px;
    background:#fff;
    text-align:center;
}
.talent-empty-icon{
    width:56px;height:56px;
    display:grid;
    place-items:center;
    margin:0 auto 14px;
    border-radius:16px;
    background:#edf5ff;
    color:var(--blue-700);
}
.talent-empty-icon svg{width:26px;height:26px}
.talent-empty h3{margin:0;font-size:17px}
.talent-pagination{margin-top:22px}

@media(max-width:1050px){
    .talent-hero{grid-template-columns:1fr}
    .talent-hero-side{min-height:72px}
    .talent-network{display:none}
    .talent-card-v26{grid-template-columns:1fr}
    .talent-card-side{
        border-left:0;
        border-top:1px solid #edf1f5;
    }
    .profile-completeness-badge{align-self:flex-start}
}
@media(max-width:760px){
    .talent-page-v26{padding-top:24px}
    .talent-page-v26 .container{width:min(100% - 24px,var(--shell))}
    .talent-filter-grid{grid-template-columns:1fr}
    .talent-filter-v26{padding:20px}
    .talent-card-main{padding:20px;gap:14px}
    .talent-avatar-v26{width:64px;height:64px;font-size:21px}
    .talent-card-heading{display:block}
    .talent-score{margin-top:10px}
    .talent-card-side{padding:20px}
    .talent-actions-v26{grid-template-columns:1fr}
    .talent-actions-v26 .btn,
    .talent-actions-v26 form,
    .talent-save-btn,
    .saved-indicator{width:100%}
    .talent-match-breakdown{grid-template-columns:1fr 1fr}
    .talent-match-breakdown>div:nth-child(2){border-right:0}
    .talent-match-breakdown>div:nth-child(-n+2){border-bottom:1px solid #edf1f5}
}
@media(max-width:520px){
    .talent-hero-copy h1{font-size:40px}
    .talent-meta-row{display:grid;gap:6px}
    .talent-filter-actions{align-items:stretch;flex-direction:column}
    .talent-filter-actions .btn{width:100%}
    .talent-reset{justify-content:center}
    .talent-card-main{display:block}
    .talent-avatar-v26{margin-bottom:14px}
    .talent-match-breakdown{grid-template-columns:1fr}
    .talent-match-breakdown>div{
        border-right:0;
        border-bottom:1px solid #edf1f5;
    }
}
