
/* --- Job Portal Professional Styles --- */
:root {
    --job-bg: #f4f7fa;
    --job-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --job-primary: #1e3a8a;
    --job-accent: #f97316;
}

.job-portal-page {
    background-color: var(--job-bg);
    font-family: 'Inter', sans-serif;
}

/* Professional Hero */
.job-hero {
    background: #0f172a;
    padding: 80px 0 120px;
    text-align: center;
    color: white;
    position: relative;
}

.job-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.job-hero p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Enterprise Search Bar */
.job-search-container {
    max-width: 1100px;
    margin: -50px auto 0;
    background: white;
    display: flex;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.job-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-right: 1px solid #e2e8f0;
}

.job-search-field:last-of-type {
    border-right: none;
}

.job-search-field i {
    color: #64748b;
    margin-right: 12px;
    font-size: 1.1rem;
}

.job-search-field input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
}

.job-search-btn {
    background: var(--job-accent);
    color: white;
    border: none;
    padding: 0 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s;
}

.job-search-btn:hover {
    background: #ea580c;
}

/* Professional Layout */
.job-main-layout {
    display: flex;
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 80px;
}

.job-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.filter-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 130px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 800;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #334155;
    cursor: pointer;
    font-weight: 500;
}

.filter-option input {
    accent-color: var(--job-accent);
    width: 16px;
    height: 16px;
}

/* Job Listing Area */
.job-listing-area {
    flex: 1;
}

.job-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    transition: 0.2s;
    display: flex;
    gap: 20px;
}

.job-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.job-card-logo {
    width: 56px;
    height: 56px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1px solid #f1f5f9;
}

.job-card-content {
    flex: 1;
}

.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.job-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.job-card-company {
    font-size: 0.9rem;
    color: var(--job-accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.job-card-tags {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.job-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
}

.job-tag.full-time { background: #dcfce7; color: #15803d; }
.job-tag.internship { background: #eff6ff; color: #2563eb; }
.job-tag.remote { background: #fef3c7; color: #92400e; }
.job-tag.contract { background: #f3f4f6; color: #374151; }
.job-tag.part-time { background: #fae8ff; color: #a21caf; }

.job-card-description {
    line-height: 1.6;
    margin: 15px 0;
}

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

.job-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.job-card-actions {
    display: flex;
    gap: 10px;
}

.btn-apply {
    background: #0f172a;
    color: white;
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s;
}

.btn-apply:hover {
    background: var(--job-accent);
}

/* Mobile Filter Trigger */
.mobile-filter-trigger {
    display: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
}

.mobile-filter-header {
    display: none !important;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .job-main-layout {
        flex-direction: column;
    }

    .mobile-filter-trigger {
        display: flex;
    }

    .job-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100% !important;
        height: 100%;
        background: rgba(15, 23, 42, 0.5);
        z-index: 1000;
        transition: 0.3s;
        padding: 0;
        visibility: hidden;
    }

    .job-sidebar.active {
        left: 0;
        visibility: visible;
    }

    .filter-card {
        width: 80%;
        height: 100%;
        border-radius: 0;
        position: relative;
        top: 0;
        overflow-y: auto;
    }

    .mobile-filter-header {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .job-hero {
        padding: 60px 20px 100px;
    }
    .job-search-container {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
    }
    .job-search-field {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .job-search-btn {
        padding: 15px;
        margin: 5px;
    }
    .job-card {
        flex-direction: column;
        text-align: left;
    }
    .job-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .job-card-actions {
        display: flex;
        gap: 10px;
        width: 100%;
    }
    .btn-apply {
        flex: 1;
        text-align: center;
        padding: 12px 10px;
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 800;
    }
}

