/* =====================================================================
   DEVMIXA JOBS — LISTING + SINGLE JOB PAGE
   Design tokens (--primary / --accent / etc.) header.css me already
   defined hain (:root block) — yahan reuse hi kiye ja rahe hain, taaki
   poore site se visual consistency bani rahe.
===================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================================
   HERO
===================================================================== */
.jobs-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 70px 0 60px;
    text-align: center;
    color: #ffffff;
}

.jobs-hero-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.jobs-hero-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 auto 32px;
}

/* =====================================================================
   SEARCH FORM
===================================================================== */
.jobs-search-form {
    display: flex;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto;
    background: #ffffff;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.jobs-search-form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 14.5px;
    font-family: inherit;
    color: #0f172a;
    background: #f8fbff;
    border-radius: 10px;
}

.jobs-search-form input::placeholder {
    color: #94a3b8;
}

.jobs-search-form button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 14.5px;
    padding: 12px 22px;
    border-radius: 10px;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.jobs-search-form button:hover {
    background: var(--accent-dark);
}

/* =====================================================================
   LISTING GRID
===================================================================== */
.jobs-listing {
    padding: 56px 0 72px;
    background: #f8fbff;
}

.jobs-listing-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 26px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.job-card {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e6edec;
    border-radius: 18px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(13, 79, 79, 0.12);
    border-color: var(--primary);
}

.job-card-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-card-image-placeholder {
    color: var(--primary);
    font-size: 22px;
}

.job-card-body {
    flex: 1;
    min-width: 0;
}

.job-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 14px;
}

.job-card-meta span {
    font-size: 12.5px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.job-card-meta i {
    color: var(--accent);
    font-size: 11px;
}

.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #eef2f1;
}

.job-card-salary {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
}

.job-card-cta {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.job-card:hover .job-card-cta {
    gap: 9px;
}

.jobs-empty {
    text-align: center;
    padding: 70px 20px;
    color: #64748b;
    font-size: 16px;
}

.jobs-empty .job-apply-btn {
    display: inline-flex;
    margin-top: 20px;
}

/* =====================================================================
   PAGINATION
===================================================================== */
.jobs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 44px;
}

.jobs-page-link {
    padding: 10px 20px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s ease;
}

.jobs-page-link:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.jobs-page-current {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 600;
}

/* =====================================================================
   SINGLE JOB PAGE
===================================================================== */
.job-single {
    padding: 48px 0 80px;
    background: #f8fbff;
}

.job-single-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

.job-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.job-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.job-breadcrumb .sep {
    margin: 0 8px;
    color: #cbd5e1;
}

.job-single-header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e6edec;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
}

.job-single-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--primary-light);
    flex-shrink: 0;
}

.job-single-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.job-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.job-single-meta span {
    font-size: 13.5px;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.job-single-meta i {
    color: var(--accent);
}

.job-single-content {
    background: #ffffff;
    border: 1px solid #e6edec;
    border-radius: 20px;
    padding: 30px;
    line-height: 1.85;
    color: #334155;
    font-size: 15.5px;
}

.job-single-content p {
    margin-bottom: 16px;
}

.job-single-content ul,
.job-single-content ol {
    margin: 0 0 16px 22px;
}

/* =====================================================================
   EXTRA SECTIONS (Responsibilities / Qualifications / Benefits /
   Education / Skills) -- grid layout + accent-bar headings + arrow
   bullets + tag-pill skills (tech-job-board style).
===================================================================== */
.job-extra-card {
    background: #ffffff;
    border: 1px solid #e6edec;
    border-radius: 20px;
    padding: 30px;
    margin-top: 24px;
}

.job-extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.job-extra-block {
    border-left: 3px solid var(--accent);
    padding-left: 16px;
}

.job-extra-block.job-extra-full {
    grid-column: 1 / -1;
}

.job-extra-block h3 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 12px;
}

.job-extra-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.job-extra-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 9px;
    line-height: 1.6;
    color: #475569;
    font-size: 14px;
}

.job-extra-list li:last-child {
    margin-bottom: 0;
}

.job-extra-list li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
}

.job-extra-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-extra-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
}

@media (max-width: 700px) {
    .job-extra-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   FAQ
===================================================================== */
.job-faq {
    background: #ffffff;
    border: 1px solid #e6edec;
    border-radius: 20px;
    padding: 30px;
    margin-top: 24px;
}

.job-faq h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
}

.job-faq-item {
    padding: 16px 0;
    border-top: 1px solid #eef2f1;
}

.job-faq-item:first-of-type {
    border-top: none;
    padding-top: 0;
}

.job-faq-item h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.job-faq-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

/* =====================================================================
   SIDEBAR
===================================================================== */
.job-details-card,
.job-similar-card {
    background: #ffffff;
    border: 1px solid #e6edec;
    border-radius: 20px;
    padding: 26px;
    margin-bottom: 20px;
}

.job-details-card h3,
.job-similar-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
}

.job-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid #eef2f1;
    font-size: 13.5px;
}

.job-detail-row:first-of-type {
    border-top: none;
    padding-top: 0;
}

.job-detail-row strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    font-weight: 600;
}

.job-detail-row strong i {
    color: var(--accent);
    width: 14px;
}

.job-detail-row span {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}

.job-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    padding: 15px 20px;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 14px 30px rgba(255, 107, 74, 0.32);
    transition: 0.25s ease;
}

.job-apply-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.job-similar-item {
    display: block;
    padding: 12px 0;
    border-top: 1px solid #eef2f1;
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.job-similar-item:first-of-type {
    border-top: none;
    padding-top: 0;
}

.job-similar-item:hover {
    color: var(--primary);
}

/* =====================================================================
   RESPONSIVE
===================================================================== */
@media (max-width: 992px) {

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 600px) {

    .jobs-hero {
        padding: 50px 0 40px;
    }

    .jobs-hero-title {
        font-size: 30px;
    }

    .jobs-search-form {
        flex-direction: column;
        border-radius: 18px;
    }

    .jobs-search-form button {
        justify-content: center;
    }

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

    .job-single-header {
        flex-direction: column;
        text-align: left;
    }

    .job-detail-row {
        flex-direction: column;
        gap: 4px;
    }

    .job-detail-row span {
        text-align: left;
    }
}
