﻿/* =========================================================
   jobs.css — styles specific to the /jobs listing & details
   pages. Loaded after blog.css, which still defines the base
   .job-card / .job-pill / .job-meta / .job-view rules; this
   file adds the tab bar and the wider, richer card layout.
   ========================================================= */

/* ---------- tabs (Open To Apply / Hiring Done / Previous Jobs) ---------- */
.jobs-tabs-wrap {
    max-width: 900px;
    margin: 0 auto 22px;
    overflow-x: auto;                /*venkat*/
}

.jobs-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border-radius: 100px;
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
}

.jobs-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 100px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

    .jobs-tab:hover {
        color: var(--heading);
    }

    .jobs-tab.is-active {
        background: var(--card-bg);
        color: var(--heading);
        box-shadow: var(--shadow-soft);
    }

.jobs-tab-count {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 100px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    background: var(--muted);
}

.jobs-tab.is-active .jobs-tab-count {
    background: var(--green);
}

.jobs-tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0554f;
    display: inline-block;
}

/* ---------- listing grid (wider than blog.css's default, 2 columns) ---------- */
.job-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
}

@media (max-width: 720px) {
    .job-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- card additions: ref code header + richer meta pills ---------- */
.job-card {
    padding: 22px 24px 20px;
}

.job-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.job-ref {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--muted);
}

.job-card .job-title {
    min-height: 2.6em;
}

.job-card .job-meta {
    row-gap: 10px;
    column-gap: 16px;
}

.job-card .job-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 0;
    padding: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
}

    .job-card .job-pill .ji {
        font-style: normal;
        font-size: 0.9rem;
        line-height: 1;
    }

.job-card .job-view {
    margin-top: 18px;
    align-self: flex-end;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--pill-bg);
}
