/* ==========================================================================
   FIND JOBS PAGE
   ========================================================================== */
.fj-page { background: #FFFFFF; }

/* Hero */
.fj-hero {
    position: relative;
    background: linear-gradient(120deg, #F7E4EE 0%, #FCEFF6 45%, #F3E9F5 100%);
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 34px;
    overflow: hidden;
    padding: 30px 0 42px;
}
.fj-hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}
.fj-hero-copy { flex: 1 1 auto; max-width: 900px; }
.fj-hero-title {
    font-family: 'Playfair Display', 'Poppins', serif;
    font-size: 40px;
    font-weight: 800;
    color: #2D0C1E;
    margin: 0 0 10px;
}
.fj-hero-title span {
    background: linear-gradient(90deg, #C05680, #8E2A59);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.fj-hero-title i { color: #C99A46; font-size: 24px; }
.fj-hero-sub { color: #6E5C66; font-size: 15px; margin-bottom: 22px; }

.fj-hero-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 14px 34px rgba(142, 42, 89, 0.10);
    max-width: 820px;
}
.fj-hs-field {
    display: flex; align-items: center; gap: 10px;
    flex: 1 1 0; min-width: 0; padding: 0 14px;
}
.fj-hs-field.fj-hs-loc { border-left: 1px solid #EEE0E8; flex: 0 0 34%; }
.fj-hs-field i { color: #C05680; font-size: 15px; }
.fj-hs-field input { border: 0; outline: 0; width: 100%; font-size: 14px; color: #2D0C1E; background: transparent; height: 44px; }
.fj-hs-field input::placeholder { color: #9A8A93; }
.fj-hs-ai {
    border: 0; border-radius: 12px; padding: 12px 18px; white-space: nowrap;
    background: #FCE3EE; color: #B23A6D; font-weight: 700; font-size: 14px;
}
.fj-hs-ai i { margin-right: 4px; }
.fj-hs-submit {
    border: 0; border-radius: 12px; padding: 12px 24px; white-space: nowrap;
    background: linear-gradient(135deg, #4A1436 0%, #7A1E4C 100%);
    color: #FFFFFF; font-weight: 700; font-size: 14px;
}

.fj-hero-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; max-width: 900px; }
.fj-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: #FFFFFF; border: 1px solid #F0DEE8; border-radius: 14px;
    padding: 10px 16px; font-size: 13px; font-weight: 600; color: #3A2230;
    text-decoration: none; transition: all 0.25s ease;
}
.fj-chip-ic {
    width: 26px; height: 26px; border-radius: 8px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 12px;
    background: #FBEAF2; color: #B23A6D;
}
.fj-chip:hover { border-color: #C05680; color: #8E2A59; }
.fj-chip.active { background: linear-gradient(135deg, #5A1740, #8E2A59); color: #fff; border-color: transparent; }
.fj-chip.active .fj-chip-ic { background: rgba(255,255,255,0.2); color: #fff; }

.fj-hero-art { flex: 0 0 300px; align-self: flex-end; }
.fj-hero-art img { width: 100%; max-width: 320px; display: block; }

/* Body */
.fj-body { padding: 34px 0 70px; }

/* Filters */
.fj-filters {
    background: #FFFFFF; border: 1px solid #F1E5EC; border-radius: 18px;
    padding: 20px; box-shadow: 0 8px 24px rgba(142, 42, 89, 0.05);
    position: sticky; top: 90px;
}
.fj-filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.fj-filters-head h5 { font-weight: 700; color: #2D0C1E; margin: 0; font-size: 18px; }
.fj-clear { color: #C05680; font-size: 13px; font-weight: 600; text-decoration: none; }
.fj-facet { border-top: 1px solid #F3E9EF; padding: 14px 0 8px; }
.fj-facet-head {
    width: 100%; background: 0; border: 0; padding: 0 0 6px; display: flex;
    justify-content: space-between; align-items: center; font-weight: 700;
    color: #2D0C1E; font-size: 14px;
}
.fj-facet-head i { color: #B98BA4; font-size: 12px; transition: transform 0.25s ease; }
.fj-facet.collapsed .fj-facet-head i { transform: rotate(180deg); }
.fj-facet-body { max-height: 320px; overflow: auto; padding-top: 6px; }
.fj-facet.collapsed .fj-facet-body { display: none; }
.fj-facet-body::-webkit-scrollbar { width: 5px; }
.fj-facet-body::-webkit-scrollbar-thumb { background: #EAD5E0; border-radius: 4px; }

.fj-check { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; }
.fj-check input { display: none; }
.fj-check-box {
    width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #D9C4CF;
    flex: 0 0 18px; position: relative; transition: all 0.2s ease;
}
.fj-check input:checked + .fj-check-box {
    background: linear-gradient(135deg, #8E2A59, #C05680); border-color: transparent;
}
.fj-check input:checked + .fj-check-box::after {
    content: ''; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 10px;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.fj-check-label { flex: 1; font-size: 13.5px; color: #4A3B44; }
.fj-count { font-size: 12px; color: #A796A0; font-weight: 600; }
.fj-loc-input { display: flex; align-items: center; gap: 8px; border: 1px solid #EEDDE7; border-radius: 10px; padding: 8px 12px; }
.fj-loc-input i { color: #C05680; font-size: 13px; }
.fj-loc-input input { border: 0; outline: 0; width: 100%; font-size: 13px; }
.fj-apply-filters {
    width: 100%; margin-top: 16px; border: 0; border-radius: 12px; padding: 12px;
    background: linear-gradient(135deg, #8E2A59, #C05680); color: #fff; font-weight: 700; font-size: 14px;
}

/* Results bar */
.fj-results-bar { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.fj-results-count { font-size: 24px; font-weight: 800; color: #2D0C1E; margin: 0; }
.fj-results-count span { color: #C05680; }
.fj-results-sub { color: #8A7A83; font-size: 13px; margin: 2px 0 0; }
.fj-results-tools { display: flex; align-items: center; gap: 12px; }
.fj-sort-label { color: #6E5C66; font-size: 13px; margin: 0; }
.fj-sort select {
    border: 1px solid #EAD9E2; border-radius: 10px; padding: 8px 30px 8px 12px; font-size: 13px;
    color: #2D0C1E; background: #fff; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23C05680' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center; cursor: pointer;
}
.fj-view-toggle { display: flex; border: 1px solid #EAD9E2; border-radius: 10px; overflow: hidden; }
.fj-view-toggle button { border: 0; background: #fff; color: #B08CA0; padding: 8px 11px; font-size: 14px; }
.fj-view-toggle button.active { background: linear-gradient(135deg, #8E2A59, #C05680); color: #fff; }

/* Job cards */
.fj-jobs-list { display: flex; flex-direction: column; gap: 18px; }
.fj-card {
    position: relative; background: #FFFFFF; border: 1px solid #F1E4EB; border-radius: 18px;
    padding: 20px 22px; box-shadow: 0 8px 24px rgba(142, 42, 89, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.fj-card:hover { box-shadow: 0 16px 36px rgba(142, 42, 89, 0.12); border-color: #EBC7D9; transform: translateY(-2px); }
.fj-bookmark { position: absolute; top: 16px; right: 16px; border: 0; background: 0; color: #D98BB0; font-size: 16px; }
.fj-card-main { display: flex; gap: 18px; align-items: flex-start; }
.fj-card-logo { flex: 0 0 92px; }
.fj-card-logo img { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; background: #F6EEF2; border: 1px solid #F1E4EB; }
.fj-card-info { flex: 1 1 auto; min-width: 0; }
.fj-ai-badge {
    display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700;
    color: #B23A6D; background: linear-gradient(90deg, #FCE3EE, #F7E7F0); padding: 4px 10px; border-radius: 20px; margin-bottom: 8px;
}
.fj-job-title { font-size: 19px; font-weight: 700; color: #1F1620; margin: 0 0 3px; }
.fj-company { display: inline-flex; align-items: center; gap: 6px; color: #8E2A59; font-weight: 600; font-size: 14px; text-decoration: none; }
.fj-company i { color: #C05680; font-size: 13px; }
.fj-rating { margin-top: 6px; font-size: 13px; color: #4A3B44; font-weight: 600; }
.fj-rating i { color: #F5B740; }
.fj-rating span { color: #9A8A93; font-weight: 500; }
.fj-card-meta { flex: 0 0 200px; }
.fj-salary { font-size: 20px; font-weight: 800; color: #17935B; }
.fj-salary small { font-size: 12px; font-weight: 500; color: #8A7A83; }
.fj-meta-row { display: flex; align-items: center; gap: 7px; color: #5C4C55; font-size: 13px; margin-top: 6px; }
.fj-meta-row i { color: #C05680; font-size: 12px; width: 14px; }
.fj-type-badge { display: inline-block; margin-top: 10px; background: #F3E4EC; color: #8E2A59; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; padding: 5px 12px; border-radius: 8px; }
.fj-card-benefits { flex: 0 0 210px; }
.fj-benefits-title { font-size: 13px; font-weight: 700; color: #2D0C1E; }
.fj-benefit-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fj-benefit { display: inline-flex; align-items: center; gap: 5px; background: #F8F1F5; color: #6B5A63; font-size: 11.5px; padding: 5px 10px; border-radius: 8px; }
.fj-benefit i { color: #B07C96; }
.fj-card-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid #F3E9EF; margin-top: 16px; padding-top: 14px; }
.fj-posted { color: #9A8A93; font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.fj-posted i { color: #B08CA0; }
.fj-dot { color: #D6C3CE; }
.fj-actions { display: flex; align-items: center; gap: 10px; }
.fj-act { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #EAD9E2; background: #fff; color: #5C4C55; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 10px; cursor: pointer; text-decoration: none; }
.fj-act:hover { border-color: #C05680; color: #8E2A59; }
.fj-apply { border: 0; color: #fff !important; background: linear-gradient(135deg, #8E2A59, #C05680); }
.fj-apply:hover { color: #fff !important; box-shadow: 0 8px 18px rgba(142, 42, 89, 0.3); }

/* Grid view */
.fj-jobs-list.is-grid { display: grid; grid-template-columns: 1fr 1fr; }
.fj-jobs-list.is-grid .fj-card-main { flex-wrap: wrap; }
.fj-jobs-list.is-grid .fj-card-meta,
.fj-jobs-list.is-grid .fj-card-benefits { flex-basis: 100%; }

/* Empty + pagination */
.fj-empty { text-align: center; padding: 60px 20px; color: #8A7A83; }
.fj-empty i { font-size: 40px; color: #E0C4D2; margin-bottom: 14px; }
.fj-empty p { margin-bottom: 16px; }
.fj-pagination { margin-top: 28px; }
.fj-pagination .pagination { justify-content: center; gap: 6px; flex-wrap: wrap; }
.fj-pagination .page-link { border: 1px solid #EAD9E2; color: #8E2A59; border-radius: 10px !important; margin: 0 2px; }
.fj-pagination .page-item.active .page-link { background: linear-gradient(135deg, #8E2A59, #C05680); border-color: transparent; color: #fff; }

@media (max-width: 1199.98px) {
    .fj-card-main { flex-wrap: wrap; }
    .fj-card-meta, .fj-card-benefits { flex-basis: 45%; margin-top: 6px; }
    .fj-hero-art { flex-basis: 240px; }
    .fj-filters { position: static; }
}
@media (max-width: 991.98px) {
    .fj-hero-art { display: none; }
    .fj-jobs-list.is-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .fj-hero-title { font-size: 30px; }
    .fj-hero-search { flex-wrap: wrap; }
    .fj-hs-field.fj-hs-loc { border-left: 0; flex-basis: 100%; }
    .fj-hs-ai, .fj-hs-submit { flex: 1; }
    .fj-card-meta, .fj-card-benefits { flex-basis: 100%; }
    .fj-actions { width: 100%; flex-wrap: wrap; }
    .fj-act { flex: 1; justify-content: center; }
}
