/* ── Find Employers Page ─────────────────────────────────────────────── */

/* ── Hero ────────────────────────────────────────────────────────────── */
.fe-hero {
    background: linear-gradient(135deg, #0b1430 0%, #0f2550 60%, #0d1e40 100%);
    padding: 56px 0 44px;
    position: relative;
    overflow: hidden;
}
.fe-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(182,50,62,.16) 0%, transparent 55%),
        radial-gradient(ellipse at 5% 80%, rgba(99,102,241,.1) 0%, transparent 50%);
    pointer-events: none;
}
.fe-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.fe-hero-inner {
    position: relative; z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.fe-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(182,50,62,.18); border: 1px solid rgba(182,50,62,.3);
    color: #f87171; font-size: 11.5px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.fe-hero h1 {
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 900; color: #fff;
    line-height: 1.1; letter-spacing: -.5px;
    margin: 0 0 12px;
}
.fe-hero h1 span { color: #f87171; }
.fe-hero-sub {
    font-size: 16px; color: rgba(255,255,255,.65);
    line-height: 1.6; margin: 0 0 28px;
}
.fe-search-bar {
    display: flex; gap: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
    max-width: 640px;
    margin: 0 auto;
}
.fe-search-bar input {
    flex: 1; border: none; outline: none;
    padding: 14px 18px;
    font-size: 15px; color: #1a2035;
    background: transparent;
}
.fe-search-bar input::placeholder { color: #94a3b8; }
.fe-search-bar button {
    padding: 14px 28px;
    background: #b6323e; color: #fff;
    border: none; font-size: 15px; font-weight: 800;
    cursor: pointer; transition: background .15s;
    white-space: nowrap;
}
.fe-search-bar button:hover { background: #8f2832; }

/* ── Stats bar ───────────────────────────────────────────────────────── */
.fe-stats-bar {
    background: #fff;
    border-bottom: 1px solid #e8ecf4;
    padding: 14px 20px;
}
.fe-stats-inner {
    max-width: 1300px; margin: 0 auto;
    display: flex; align-items: center; gap: 24px;
    font-size: 13px; color: #64748b;
}
.fe-stats-inner strong { color: #1a2035; font-weight: 700; }
.fe-active-filter {
    display: inline-flex; align-items: center; gap: 5px;
    background: #eff3ff; color: #3b52cc;
    border: 1px solid #c8d0f0;
    border-radius: 999px; padding: 3px 10px 3px 12px;
    font-size: 12px; font-weight: 600;
}
.fe-active-filter a { color: inherit; text-decoration: none; font-weight: 700; margin-left: 2px; }
.fe-active-filter a:hover { color: #b6323e; }

/* ── Layout ──────────────────────────────────────────────────────────── */
.fe-layout {
    max-width: 1300px; margin: 0 auto;
    padding: 32px 20px 60px;
    display: grid;
    grid-template-columns: 256px minmax(0,1fr);
    gap: 28px;
    align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────────────────── */
.fe-sidebar {
    position: sticky;
    top: 88px;
}
.fe-filter-panel {
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15,29,70,.06);
}
.fe-filter-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px 14px;
    border-bottom: 1px solid #f0f4f8;
}
.fe-filter-panel-title {
    display: flex; align-items: center; gap: 7px;
    font-size: 16px; font-weight: 800; color: #1a2035;
}
.fe-panel-clear {
    font-size: 12.5px; font-weight: 600; color: #b6323e;
    text-decoration: none; transition: opacity .15s;
}
.fe-panel-clear:hover { opacity: .75; }

/* Keyword search inside sidebar */
.fe-search-field {
    display: flex; align-items: center; gap: 10px;
    margin: 14px 18px;
    padding: 9px 12px;
    border: 1.5px solid #e4e8f0;
    border-radius: 10px;
    transition: border-color .15s;
}
.fe-search-field:focus-within { border-color: #111b3f; }
.fe-search-field svg { color: #94a3b8; flex-shrink: 0; }
.fe-search-field input {
    flex: 1; border: none; outline: none;
    font-size: 13.5px; color: #1a2035; background: transparent;
}
.fe-search-field input::placeholder { color: #b0bac9; }

/* Accordion sections */
.fe-accordion {
    border-top: 1px solid #f0f4f8;
}
.fe-accordion-head {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 18px;
    background: none; border: none; cursor: pointer;
    font-size: 14.5px; font-weight: 700; color: #1a2035;
    text-align: left; transition: background .12s;
}
.fe-accordion-head:hover { background: #f8fafc; }
.fe-acc-arrow {
    flex-shrink: 0; transition: transform .2s;
    color: #94a3b8;
}
.fe-accordion.is-open .fe-acc-arrow { transform: rotate(180deg); }
.fe-accordion-body { display: none; padding: 4px 0 12px; }
.fe-accordion.is-open .fe-accordion-body { display: block; }

/* Search within filter */
.fe-filter-search {
    margin: 0 18px 8px;
    padding: 7px 10px;
    border: 1.5px solid #e4e8f0;
    border-radius: 8px;
}
.fe-filter-search input {
    width: 100%; border: none; outline: none;
    font-size: 12.5px; color: #1a2035; background: transparent;
}
.fe-filter-search input::placeholder { color: #b0bac9; }

/* Radio options */
.fe-radio-list {
    display: flex; flex-direction: column;
    padding: 0 10px;
    max-height: 280px; overflow-y: auto;
}
.fe-radio-list::-webkit-scrollbar { width: 3px; }
.fe-radio-list::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 3px; }

.fe-radio-opt {
    display: flex; align-items: center; gap: 9px;
    padding: 7px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .1s;
}
.fe-radio-opt:hover { background: #f8fafc; }
.fe-radio-opt.is-active { background: #eff3ff; }
.fe-radio-opt.is-hidden { display: none; }
.fe-radio-opt input[type="radio"] {
    accent-color: #111b3f;
    width: 16px; height: 16px;
    flex-shrink: 0; cursor: pointer;
}
.fe-opt-label {
    flex: 1; font-size: 13.5px; color: #374151; font-weight: 500;
}
.fe-radio-opt.is-active .fe-opt-label { color: #111b3f; font-weight: 700; }
.fe-opt-count {
    font-size: 11.5px; font-weight: 600; color: #94a3b8;
    background: #f1f5f9; border-radius: 999px;
    padding: 1px 7px; flex-shrink: 0;
}

/* Stars rating row */
.fe-rating-opt { gap: 6px; }
.fe-stars { display: flex; align-items: center; gap: 1px; flex-shrink: 0; }

/* Filter reset link */
.fe-filter-reset {
    display: block; margin: 8px 18px 0;
    font-size: 12px; color: #94a3b8;
    text-decoration: none;
}
.fe-filter-reset:hover { color: #b6323e; }

/* Clear Filter button */
.fe-clear-filter-btn {
    display: block; margin: 14px 18px 18px;
    padding: 10px 0; text-align: center;
    background: #f1f5f9; color: #64748b;
    border-radius: 10px;
    font-size: 13.5px; font-weight: 700;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.fe-clear-filter-btn:hover { background: #fee2e2; color: #b6323e; }

/* ── Main area ───────────────────────────────────────────────────────── */
.fe-main {}
.fe-result-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    margin-bottom: 20px;
}
.fe-result-count { font-size: 13.5px; color: #64748b; }
.fe-result-count strong { color: #1a2035; font-weight: 700; }

/* ── Company Grid ────────────────────────────────────────────────────── */
.fe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}
.fe-co-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1.5px solid #e8ecf4;
    border-radius: 16px;
    padding: 22px;
    text-decoration: none;
    transition: box-shadow .18s, border-color .18s, transform .18s;
    position: relative;
    overflow: hidden;
}
.fe-co-card:hover {
    box-shadow: 0 8px 28px rgba(15,29,70,.11);
    border-color: #b6c0e0;
    transform: translateY(-3px);
}
.fe-co-card-top {
    display: flex; align-items: flex-start;
    gap: 14px; margin-bottom: 14px;
}
.fe-co-logo {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #111b3f, #1e3a8a);
    display: grid; place-items: center;
    flex-shrink: 0; overflow: hidden;
    border: 1px solid #e8ecf4;
}
.fe-co-logo img {
    width: 100%; height: 100%;
    object-fit: contain;
    background: #fff;
}
.fe-co-logo span {
    color: #fff; font-size: 18px; font-weight: 900;
    letter-spacing: -.5px;
}
.fe-co-header { flex: 1; min-width: 0; }
.fe-co-name {
    font-size: 15px; font-weight: 800;
    color: #1a2035; margin: 0 0 4px;
    line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fe-co-industry {
    display: inline-block;
    font-size: 11.5px; font-weight: 700;
    color: #b6323e;
    background: rgba(182,50,62,.07);
    padding: 2px 8px;
    border-radius: 999px;
}
.fe-co-excerpt {
    font-size: 13px; color: #64748b;
    line-height: 1.6; margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fe-co-footer {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 8px; flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}
.fe-co-size {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; color: #94a3b8; font-weight: 500;
}
.fe-co-jobs {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 600;
    color: #94a3b8;
    background: #f8fafc;
    border: 1px solid #e8ecf4;
    padding: 4px 10px; border-radius: 999px;
}
.fe-co-jobs.has-jobs {
    color: #059669;
    background: #f0fdf4;
    border-color: #a7f3d0;
}
.fe-co-card-accent {
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #111b3f, #1e3a8a);
    opacity: 0;
    transition: opacity .18s;
}
.fe-co-card:hover .fe-co-card-accent { opacity: 1; }

/* ── Empty state ─────────────────────────────────────────────────────── */
.fe-empty {
    text-align: center; padding: 80px 20px;
    color: #64748b;
}
.fe-empty-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: #f8fafc; border: 2px dashed #e2e8f0;
    display: grid; place-items: center;
    font-size: 28px; margin: 0 auto 18px;
}
.fe-empty h2 { font-size: 18px; font-weight: 800; color: #1a2035; margin: 0 0 8px; }
.fe-empty p  { font-size: 14px; margin: 0 0 20px; }
.fe-empty a  {
    display: inline-flex; align-items: center;
    padding: 10px 22px;
    background: #111b3f; color: #fff;
    border-radius: 8px; font-size: 13.5px; font-weight: 700;
    text-decoration: none; transition: background .15s;
}
.fe-empty a:hover { background: #b6323e; }

/* ── Pagination ──────────────────────────────────────────────────────── */
.fe-pagination {
    display: flex; align-items: center;
    justify-content: center; gap: 6px;
    flex-wrap: wrap;
}
.fe-pag-btn {
    min-width: 38px; height: 38px;
    display: grid; place-items: center;
    border: 1.5px solid #e8ecf4;
    border-radius: 9px;
    background: #fff; color: #475569;
    font-size: 13.5px; font-weight: 600;
    text-decoration: none; padding: 0 10px;
    transition: all .15s;
}
.fe-pag-btn:hover { border-color: #111b3f; color: #111b3f; background: #f0f3ff; }
.fe-pag-btn.is-active {
    background: #111b3f; border-color: #111b3f;
    color: #fff;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .fe-layout { grid-template-columns: 1fr; padding-top: 24px; }
    .fe-sidebar { position: static; }
    .fe-radio-list { max-height: 200px; }
}
@media (max-width: 640px) {
    .fe-hero { padding: 44px 0 36px; }
    .fe-hero h1 { font-size: 26px; }
    .fe-grid { grid-template-columns: 1fr; }
}
