/**
 * job_opportunities.css — Chaltakhali R.G.B.C. Institution Recruitment & Careers
 * Dedicated stylesheet for pages/job_opportunities.php
 */

/* Hero Banner */
.career-hero-banner {
    background: linear-gradient(135deg, #091a3e 0%, #0c3164 50%, #1e40af 100%);
    padding: 3.5rem 0 3rem 0;
    position: relative;
    overflow: hidden;
}

.career-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Sub-nav Pills */
.career-subnav-pills .nav-link {
    border-radius: 50rem;
    padding: 0.5rem 1.25rem;
    font-weight: 700;
    font-size: 0.88rem;
    color: #475569;
    transition: all 0.25s ease;
}

.career-subnav-pills .nav-link:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.career-subnav-pills .nav-link.active {
    background-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

/* Job Vacancy Card */
.job-card {
    border-radius: 20px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
    border-color: #cbd5e1;
}

.job-dept-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-info-item {
    font-size: 0.85rem;
    color: #475569;
}

.job-info-item i {
    width: 20px;
    color: #0284c7;
}

/* Department Filter Pills */
.filter-pill-btn {
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1.1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.filter-pill-btn:hover {
    background-color: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

.filter-pill-btn.active {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Live Search Input Focus */
.job-search-input:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 0.25rem rgba(2, 132, 199, 0.15);
}
