/* =========================================================
   PCDS JOB PORTAL
   https://www.pcds.in/job/
   ========================================================= */

.job-hub,
.job-detail {
    background:
        radial-gradient(circle at 8% 0%, rgba(14,165,233,.10), transparent 30%),
        radial-gradient(circle at 94% 4%, rgba(249,115,22,.08), transparent 30%),
        #f5f7fb;
}

/* ---------- JOB HERO ---------- */

.job-hub .inner-hero,
.job-detail .inner-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 15%, rgba(56,189,248,.26), transparent 28%),
        radial-gradient(circle at 10% 85%, rgba(249,115,22,.18), transparent 30%),
        linear-gradient(135deg, #07152a 0%, #0b3b63 52%, #075985 100%);
    color: #fff;
    padding: 76px 0 72px;
}

.job-hub .inner-hero::after,
.job-detail .inner-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -100px;
    bottom: -190px;
    border-radius: 50%;
    border: 70px solid rgba(255,255,255,.035);
}

.job-hub .inner-hero .container,
.job-detail .inner-hero .container {
    position: relative;
    z-index: 2;
}

.job-hub .inner-hero span,
.job-detail .inner-hero span {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    color: #bae6fd;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 15px;
}

.job-hub .inner-hero h1,
.job-detail .inner-hero h1 {
    max-width: 900px;
    color: #fff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -1.6px;
    margin: 0 0 18px;
}

.job-hub .inner-hero p,
.job-detail .inner-hero p {
    max-width: 850px;
    color: #dbeafe;
    line-height: 1.75;
    font-size: 18px;
    margin: 0;
}


/* ---------- JOB SEARCH ---------- */

.job-tools {
    margin-top: 28px;
}

.job-search {
    width: 100%;
    max-width: 700px;
    height: 58px;
    padding: 0 20px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 18px;
    font-family: inherit;
    font-size: 16px;
    color: #0f172a;
    outline: none;
    box-shadow: 0 15px 40px rgba(0,0,0,.18);
    transition: .2s ease;
}

.job-search:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(0,0,0,.24);
}


/* ---------- MAIN JOB SECTION ---------- */

.job-hub .section {
    padding: 64px 0 76px;
}

.job-hub .section-kicker {
    display: inline-block;
    color: #0284c7;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .09em;
    margin-bottom: 10px;
}

.job-hub .section > .container > h2 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 44px);
}

.job-hub .section > .container > p {
    color: #64748b;
    margin-bottom: 28px;
    font-size: 16px;
}


/* ---------- GRID ---------- */

.job-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px;
}


/* ---------- JOB CARD ---------- */

.job-card {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,.98);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 25px;
    box-shadow:
        0 14px 35px rgba(15,23,42,.06),
        0 2px 5px rgba(15,23,42,.03);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.job-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,#0284c7,#38bdf8,#f59e0b);
    opacity: .8;
}

.job-card:hover {
    transform: translateY(-5px);
    border-color: #bae6fd;
    box-shadow: 0 22px 45px rgba(15,23,42,.11);
}

.job-card h2 {
    font-size: 23px;
    line-height: 1.28;
    margin: 13px 0 10px;
}

.job-card h2 a {
    color: #0f172a;
    text-decoration: none;
}

.job-card h2 a:hover {
    color: #0369a1;
}

.job-card p {
    color: #475569;
    line-height: 1.72;
    margin: 0;
}


/* ---------- BADGES ---------- */

.job-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 17px 0 5px;
}

.job-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #075985;
    font-size: 12px;
    font-weight: 800;
}


/* ---------- BUTTONS ---------- */

.job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.job-btn,
.job-detail .apply {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 43px;
    padding: 11px 17px;
    border-radius: 999px;
    background: linear-gradient(135deg,#0369a1,#0ea5e9);
    color: #fff !important;
    font-weight: 850;
    text-decoration: none;
    transition: .2s ease;
    box-shadow: 0 7px 16px rgba(2,132,199,.18);
}

.job-btn:hover,
.job-detail .apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(2,132,199,.28);
}

.job-btn.alt {
    background: #eff6ff;
    color: #075985 !important;
    border: 1px solid #bfdbfe;
    box-shadow: none;
}


/* =========================================================
   JOB DETAIL
   ========================================================= */

.job-detail .section {
    padding: 58px 0 76px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 345px;
    gap: 28px;
    align-items: start;
}

.job-detail .panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 14px 35px rgba(15,23,42,.07);
}

.job-detail article.panel h2 {
    color: #0f172a;
    font-size: 24px;
    margin: 30px 0 12px;
}

.job-detail article.panel h2:first-child {
    margin-top: 0;
}

.job-detail .panel p,
.job-detail .panel li {
    color: #475569;
    line-height: 1.78;
}

.job-detail .panel ul {
    padding-left: 22px;
}

.job-detail .panel li {
    margin-bottom: 8px;
}


/* ---------- DETAIL SIDEBAR ---------- */

.job-detail aside.panel {
    position: sticky;
    top: 120px;
}

.job-detail aside.panel h2 {
    margin-top: 0;
    color: #0f172a;
}

.meta-grid {
    display: grid;
    gap: 10px;
    margin: 18px 0 22px;
}

.meta {
    padding: 13px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
}

.meta span {
    display: block;
    color: #64748b;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .06em;
}

.meta strong {
    display: block;
    color: #0f172a;
    margin-top: 5px;
}


/* ---------- SKILLS ---------- */

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill {
    display: inline-flex;
    padding: 8px 11px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 13px;
    font-weight: 800;
}

.job-detail .back {
    display: inline-flex;
    margin-top: 16px;
    color: #0369a1;
    font-weight: 800;
    text-decoration: none;
}


/* ---------- EMPTY SEARCH ---------- */

.empty {
    display: none;
    padding: 30px;
    margin-top: 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    color: #64748b;
}


/* ---------- MOBILE ---------- */

@media (max-width: 900px) {

    .job-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .job-detail aside.panel {
        position: static;
    }

    .job-hub .inner-hero,
    .job-detail .inner-hero {
        padding: 55px 0;
    }
}

@media (max-width: 600px) {

    .job-hub .inner-hero h1,
    .job-detail .inner-hero h1 {
        font-size: 35px;
    }

    .job-card,
    .job-detail .panel {
        padding: 20px;
        border-radius: 20px;
    }

    .job-actions {
        flex-direction: column;
    }

    .job-btn,
    .job-detail .apply {
        width: 100%;
    }
}