/* EzzyFinda — styles for views/jobs/index.blade.php (moved from inline <style>) */

/* ── Hero ───────────────────────────────────────────────────── */
.jb-hero {
    position: relative;
    background: linear-gradient(135deg, var(--ef-blue-dark) 0%, var(--ef-blue) 60%, #1e4db7 100%);
    padding: 4rem 0 3rem;
    overflow: hidden;
}

.jb-hero::before {
    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.03'%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");
}

.jb-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.85);
    border: 1px solid rgba(255,255,255,.2);
    padding: .35rem 1rem; border-radius: 99px;
    font-size: .78rem; font-weight: 600; letter-spacing: .05em;
    margin-bottom: 1.25rem;
}

.jb-hero-title {
    font-family: 'Jost', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: .75rem;
}

.jb-hero-accent { color: #F59E0B; }

.jb-hero-sub {
    color: rgba(255,255,255,.7);
    font-size: .95rem;
    margin-bottom: 2rem;
}

/* Search bar */
.jb-search-bar {
    display: flex; align-items: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.jb-search-field {
    flex: 1; display: flex; align-items: center;
    padding: 0 1.25rem;
    min-height: 58px;
}

.jb-search-icon { color: var(--ef-muted); font-size: 1rem; flex-shrink: 0; margin-right: .5rem; }

.jb-search-input {
    flex: 1; border: none; outline: none;
    font-family: 'Jost', sans-serif;
    font-size: .95rem; color: var(--ef-text);
    background: transparent;
}

.jb-search-select {
    flex: 1; border: none; outline: none;
    font-family: 'Jost', sans-serif;
    font-size: .95rem; color: var(--ef-text);
    background: transparent; cursor: pointer;
}

.jb-search-divider { width: 1px; height: 30px; background: var(--ef-border); flex-shrink: 0; }

.jb-search-btn {
    display: flex; align-items: center;
    background: var(--ef-orange); color: #fff;
    border: none; padding: 0 2rem;
    font-family: 'Jost', sans-serif;
    font-size: .95rem; font-weight: 700;
    height: 58px; cursor: pointer;
    transition: background .15s; white-space: nowrap;
}

.jb-search-btn:hover { background: #E05E00; }

/* Quick filters */
.jb-quick-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }

.jb-quick-tag {
    padding: .35rem 1rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 99px;
    color: rgba(255,255,255,.8);
    font-size: .8rem; font-weight: 600;
    text-decoration: none;
    transition: all .15s;
    backdrop-filter: blur(4px);
}

.jb-quick-tag:hover, .jb-quick-tag.active {
    background: rgba(255,255,255,.18);
    color: #fff;
    border-color: rgba(255,255,255,.5);
}

/* ── Section title ──────────────────────────────────────────── */
.jb-section-title {
    font-family: 'Jost', sans-serif;
    font-size: 1.1rem; font-weight: 800;
    color: var(--ef-text); margin: 0;
    display: flex; align-items: center; gap: 8px;
}

.jb-link-more {
    font-size: .85rem; font-weight: 600;
    color: var(--ef-blue); text-decoration: none;
    display: flex; align-items: center; gap: 4px;
    transition: gap .15s;
}

.jb-link-more:hover { gap: 8px; }

/* ── Featured cards ─────────────────────────────────────────── */
.jb-featured-card {
    display: block;
    background: #fff;
    border: 1.5px solid var(--ef-border);
    border-radius: 16px;
    padding: 1.25rem;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    height: 100%;
}

.jb-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(13,59,140,.12);
    border-color: var(--ef-blue);
}

.jb-featured-badge {
    display: inline-flex; align-items: center; gap: 3px;
    background: #FEF3C7; color: #D97706;
    font-size: .62rem; font-weight: 700;
    padding: .15rem .5rem; border-radius: 99px;
    margin-bottom: 4px;
}

.jb-featured-title {
    font-family: 'Jost', sans-serif;
    font-size: .95rem; font-weight: 800;
    color: var(--ef-text); margin: 0;
    line-height: 1.3;
}

.jb-featured-salary {
    font-size: .82rem; font-weight: 700;
    color: var(--ef-blue);
}

/* ── Company logo ───────────────────────────────────────────── */
.jb-company-logo {
    width: 42px; height: 42px;
    border-radius: 10px;
    border: 1.5px solid var(--ef-border);
    overflow: hidden;
    background: var(--ef-surface);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-weight: 800; font-size: .85rem;
    color: var(--ef-blue);
}

.jb-company-logo img { width: 100%; height: 100%; object-fit: cover; }

.jb-company-logo--lg { width: 54px; height: 54px; border-radius: 13px; font-size: 1rem; }

.jb-company-name { font-size: .75rem; color: var(--ef-muted); font-weight: 600; }

/* ── Filter panel ───────────────────────────────────────────── */
.jb-filter-panel {
    background: #fff;
    border: 1px solid var(--ef-border);
    border-radius: 14px;
    overflow: hidden;
    position: sticky; top: calc(var(--navbar-h) + 1rem);
}

.jb-filter-header {
    padding: .9rem 1.1rem;
    border-bottom: 1px solid var(--ef-border);
    background: var(--ef-surface);
    display: flex; align-items: center; justify-content: space-between;
}

.jb-filter-group {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--ef-border);
}

.jb-filter-group:last-child { border-bottom: none; }

.jb-filter-label {
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--ef-muted); margin-bottom: .6rem;
}

.jb-filter-option {
    display: flex; align-items: center; gap: 8px;
    font-size: .875rem; color: var(--ef-text);
    cursor: pointer; padding: .2rem 0;
    transition: color .1s;
}

.jb-filter-option:hover { color: var(--ef-blue); }

.jb-filter-option input { accent-color: var(--ef-blue); }

/* ── Job cards ──────────────────────────────────────────────── */
.jb-card {
    display: block;
    background: #fff;
    border: 1.5px solid var(--ef-border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: .85rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.jb-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(13,59,140,.1);
    border-color: var(--ef-blue);
}

.jb-card:hover .jb-card-apply-hint { opacity: 1; transform: translateX(0); }

.jb-card-ribbon {
    position: absolute; top: 0; right: 1.25rem;
    background: #D97706; color: #fff;
    font-size: .65rem; font-weight: 700;
    padding: .15rem .5rem; border-radius: 0 0 6px 6px;
}

.jb-card-company { font-size: .8rem; color: var(--ef-muted); font-weight: 600; margin-bottom: 2px; }

.jb-card-title {
    font-family: 'Jost', sans-serif;
    font-size: 1.05rem; font-weight: 800;
    color: var(--ef-text); margin: 0;
    line-height: 1.25;
}

.jb-card-salary { font-weight: 700; color: var(--ef-blue); font-size: .9rem; white-space: nowrap; }

.jb-card-snippet { font-size: .83rem; color: var(--ef-muted); line-height: 1.6; margin: 0; }

.jb-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 1rem; padding-top: .75rem;
    border-top: 1px solid var(--ef-border);
}

.jb-card-apply-hint {
    font-size: .82rem; font-weight: 700;
    color: var(--ef-blue);
    display: flex; align-items: center; gap: 4px;
    opacity: 0; transform: translateX(-6px);
    transition: all .2s;
}

/* ── Pills ──────────────────────────────────────────────────── */
.jb-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: .22rem .65rem; border-radius: 99px;
    font-size: .72rem; font-weight: 600;
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    color: var(--ef-text);
    white-space: nowrap;
}

.jb-pill-type    { background: #EEF2FF; color: #4F46E5; border-color: #C7D2FE; }

.jb-pill-remote  { background: #D1FAE5; color: #065F46; border-color: #6EE7B7; }

.jb-pill-hybrid  { background: #EDE9FE; color: #5B21B6; border-color: #C4B5FD; }

.jb-pill-cat     { background: var(--ef-blue-pale); color: var(--ef-blue); border-color: #BFDBFE; }

.jb-pill-urgent  { background: #FEE2E2; color: #DC2626; border-color: #FECACA; }

/* ── Skill tags ─────────────────────────────────────────────── */
.jb-skill-tag {
    display: inline-block;
    padding: .18rem .55rem;
    border-radius: 6px;
    font-size: .7rem; font-weight: 600;
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    color: var(--ef-muted);
}

/* ── Empty state ────────────────────────────────────────────── */
.jb-empty-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--ef-surface);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
    font-size: 2rem; color: var(--ef-muted); opacity: .4;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .jb-search-bar { flex-direction: column; border-radius: 14px; }
    .jb-search-field { width: 100%; border-bottom: 1px solid var(--ef-border); }
    .jb-search-divider { display: none; }
    .jb-search-btn { width: 100%; justify-content: center; border-radius: 0 0 12px 12px; }
    .jb-card { padding: 1rem; }
    .jb-filter-panel { position: static; margin-bottom: 1rem; }
}
