/**
 * JobVisitors — Listings CSS
 * Styles for listing cards, filter sidebar, detail page, company page.
 * 
 * @package JobVisitors
 * @since 1.0.0
 */

/* ═══════════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════════ */
.jv-page-header {
    background: var(--dark-bg, #0F172A);
    padding: 52px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.jv-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,184,166,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.jv-page-header__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    color: #F1F5F9;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}
.jv-page-header__desc {
    font-size: 15px;
    color: #94A3B8;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════
   LISTING LAYOUT
   ═══════════════════════════════════════════ */
.jv-listing-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 32px 0 60px;
}

/* ═══════════════════════════════════════════
   SIDEBAR FILTERS
   ═══════════════════════════════════════════ */
.jv-sidebar {
    position: sticky;
    top: 92px;
    height: fit-content;
    z-index: 10;
}
.jv-sidebar__card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    transition: border-color 0.3s;
}
.jv-sidebar__title {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}
.jv-filter-group {
    margin-bottom: 18px;
}
.jv-filter-group label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.jv-input,
.jv-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    font-family: 'Inter', 'DM Sans', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.jv-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.jv-input:focus,
.jv-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}
.jv-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.jv-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-sec);
    cursor: pointer;
}
.jv-checkbox-item input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Mobile filter button */
.jv-mobile-filter-btn {
    display: none;
}

/* Sidebar overlay (mobile) */
.jv-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
}
.jv-sidebar-overlay.active {
    display: block;
}

/* ═══════════════════════════════════════════
   RESULTS BAR
   ═══════════════════════════════════════════ */
.jv-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}
.jv-results-bar__right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.jv-results-count {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
}
.jv-sort-select {
    padding: 8px 32px 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-size: 13px;
    font-family: 'Space Grotesk', sans-serif;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

/* ═══════════════════════════════════════════
   LISTING GRID
   ═══════════════════════════════════════════ */
.jv-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
}

/* Responsive card grid on listing pages */
.jv-listing-results .jv-listing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ═══════════════════════════════════════════
   LISTING CARD
   ═══════════════════════════════════════════ */
.jv-listing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 22px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
}
.jv-listing-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
[data-theme="dark"] .jv-listing-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.jv-listing-card--featured {
    border-color: rgba(245,158,11,0.3);
    background: linear-gradient(135deg, var(--card) 0%, rgba(245,158,11,0.03) 100%);
}
.jv-listing-card--expired {
    opacity: 0.6;
}
.jv-listing-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 24px;
}
.jv-listing-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}
.jv-listing-card__info {
    display: flex;
    gap: 14px;
    align-items: center;
}
.jv-listing-card__logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}
.jv-listing-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    background: #fff;
}
.jv-listing-card__logo--letter {
    background: rgba(20,184,166,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
}
.jv-listing-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
    line-height: 1.3;
}
.jv-listing-card__company {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    z-index: 2;
}
.jv-listing-card__company:hover {
    text-decoration: underline;
}
.jv-listing-card__right {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

/* Badge */
.jv-badge--featured {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: linear-gradient(135deg, #F59E0B, #F97316);
    color: #fff;
    white-space: nowrap;
}

/* Bookmark button */
.jv-bookmark-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.jv-bookmark-btn:hover {
    color: var(--primary);
    background: rgba(20,184,166,0.1);
}
.jv-bookmark-btn.saved {
    color: var(--primary);
}
.jv-bookmark-btn.saved svg {
    fill: var(--primary);
}

/* Meta */
.jv-listing-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}
.jv-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
}
.jv-meta-item svg {
    opacity: 0.6;
    flex-shrink: 0;
}

/* Tags */
.jv-listing-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.jv-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.jv-tag--primary {
    background: rgba(20,184,166,0.1);
    color: var(--primary);
}
.jv-tag--outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.jv-tag--success {
    background: rgba(16,185,129,0.1);
    color: #10B981;
}

/* PPO badge */
.jv-listing-card__ppo {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #10B981;
}

/* Deadline warning */
.jv-listing-card__deadline {
    margin-top: 10px;
    font-size: 12px;
    color: #F59E0B;
    font-weight: 500;
}

/* Expired */
.jv-listing-card__closed {
    margin-top: 10px;
    font-size: 12px;
    color: #EF4444;
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   LOADER / EMPTY STATE / LOAD MORE
   ═══════════════════════════════════════════ */
.jv-loader {
    text-align: center;
    padding: 48px 0;
    color: var(--text-muted);
    font-size: 14px;
}
.jv-loader__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: jvSpin 0.8s linear infinite;
    margin: 0 auto 12px;
}
@keyframes jvSpin {
    to { transform: rotate(360deg); }
}
.jv-empty-state {
    text-align: center;
    padding: 60px 24px;
}
.jv-empty-state__icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.jv-empty-state h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.jv-empty-state p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}
.jv-load-more {
    text-align: center;
    padding: 32px 0 16px;
}

/* ═══════════════════════════════════════════
   DETAIL PAGE
   ═══════════════════════════════════════════ */
.jv-detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    padding: 32px 0 60px;
}
.jv-detail-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
}
.jv-detail-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.jv-detail-logo {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
}
.jv-detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: #fff;
}
.jv-detail-logo--letter {
    background: rgba(20,184,166,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
}
.jv-detail-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.2;
}
.jv-detail-company {
    font-size: 15px;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}
.jv-detail-company:hover {
    text-decoration: underline;
}
.jv-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}
.jv-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.jv-detail-expired-banner {
    background: rgba(239,68,68,0.1);
    color: #EF4444;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}
.jv-detail-content {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-sec);
}
.jv-detail-content h2,
.jv-detail-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 28px 0 12px;
    color: var(--text);
}
.jv-detail-content h2 { font-size: 20px; }
.jv-detail-content h3 { font-size: 17px; }
.jv-detail-content ul,
.jv-detail-content ol {
    padding-left: 20px;
    margin: 12px 0;
}
.jv-detail-content li {
    margin-bottom: 8px;
}
.jv-detail-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.jv-detail-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
}
.jv-detail-section p {
    font-size: 15px;
    color: var(--text-sec);
    line-height: 1.7;
}
.jv-detail-company-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}
.jv-detail-company-link:hover {
    text-decoration: underline;
}

/* Detail Sidebar */
.jv-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.jv-detail-sidebar__card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
}
.jv-detail-sidebar__title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* Match Score */
.jv-match-score {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(20,184,166,0.08);
    border-radius: 14px;
    margin-bottom: 16px;
}
.jv-match-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
}
.jv-match-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.jv-match-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* Overview List */
.jv-overview-list {}
.jv-overview-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.jv-overview-row:last-child {
    border-bottom: none;
}
.jv-overview-label {
    color: var(--text-muted);
}
.jv-overview-value {
    font-weight: 500;
    color: var(--text);
}

/* Similar Jobs */
.jv-similar-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: color 0.2s;
}
.jv-similar-item:last-child {
    border-bottom: none;
}
.jv-similar-item:hover .jv-similar-title {
    color: var(--primary);
}
.jv-similar-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 3px;
    transition: color 0.2s;
}
.jv-similar-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   COMPANY PROFILE
   ═══════════════════════════════════════════ */
.jv-company-hero {
    background: linear-gradient(160deg, #0B1120 0%, #1A2744 50%, #0F172A 100%);
    padding: 60px 24px 44px;
    text-align: center;
    color: #fff;
}
.jv-company-hero__logo {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    margin: 0 auto 16px;
    overflow: hidden;
}
.jv-company-hero__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.jv-company-hero__logo--letter {
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
}
.jv-company-hero__name {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.jv-company-hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: 16px;
}
.jv-star {
    color: #475569;
    font-size: 18px;
}
.jv-star--filled {
    color: #F59E0B;
}
.jv-company-hero__rating-num {
    font-weight: 600;
    margin-left: 8px;
    font-size: 15px;
}
.jv-company-hero__rating-count {
    color: #94A3B8;
    font-size: 13px;
    margin-left: 4px;
}
.jv-company-hero__meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #94A3B8;
}

/* Tabs */
.jv-tabs-bar {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.jv-tab-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 22px;
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.jv-tab-btn:hover {
    color: var(--primary);
}
.jv-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.jv-tab-content {
    display: none;
}
.jv-tab-content.active {
    display: block;
}

/* Reviews */
.jv-company-rating-summary {
    margin-bottom: 32px;
}
.jv-rating-big {
    text-align: center;
}
.jv-rating-big__num {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.jv-rating-big__stars {
    margin: 8px 0;
}
.jv-rating-big__count {
    font-size: 14px;
    color: var(--text-muted);
}
.jv-review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 14px;
}
.jv-review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.jv-review-card__stars {
    display: flex;
    gap: 2px;
}
.jv-review-card__date {
    font-size: 13px;
    color: var(--text-muted);
}
.jv-review-card__title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text);
}
.jv-review-card__text {
    font-size: 14px;
    color: var(--text-sec);
    margin-bottom: 6px;
    line-height: 1.6;
}
.jv-pros-label { color: #10B981; font-weight: 600; }
.jv-cons-label { color: #EF4444; font-weight: 600; }

/* Company Content */
.jv-company-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-sec);
}

/* ═══════════════════════════════════════════
   BUTTONS (listing-specific)
   ═══════════════════════════════════════════ */
.jv-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 11px 24px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}
.jv-btn--primary { background: var(--primary); color: #fff; }
.jv-btn--primary:hover { background: #0D9488; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(20,184,166,0.25); }
.jv-btn--outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.jv-btn--outline:hover { background: rgba(20,184,166,0.08); }
.jv-btn--ghost { background: transparent; color: var(--text-sec); }
.jv-btn--ghost:hover { color: var(--primary); background: rgba(20,184,166,0.08); }
.jv-btn--sm { padding: 8px 16px; font-size: 13px; border-radius: 10px; }
.jv-btn--lg { padding: 14px 28px; font-size: 15px; }
.jv-btn--full { width: 100%; }
.jv-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ═══════════════════════════════════════════
   SECTION
   ═══════════════════════════════════════════ */
.jv-section {
    padding: 40px 0;
}
.jv-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.jv-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .jv-listing-layout {
        grid-template-columns: 1fr;
    }
    .jv-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 300px;
        z-index: 100;
        overflow-y: auto;
        background: var(--bg);
        padding: 20px;
    }
    .jv-sidebar.open {
        display: block;
    }
    .jv-mobile-filter-btn {
        display: inline-flex;
    }
    .jv-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .jv-listing-grid {
        grid-template-columns: 1fr;
    }
    .jv-detail-header {
        flex-direction: column;
    }
    .jv-detail-card {
        padding: 24px 18px;
    }
    .jv-listing-card {
        padding: 18px;
    }
    .jv-listing-card__meta {
        gap: 10px;
    }
    .jv-company-hero {
        padding: 40px 16px 32px;
    }
    .jv-company-hero__name {
        font-size: 24px;
    }
    .jv-company-hero__meta {
        gap: 12px;
    }
}

/* Final responsive and visual overrides */
.jv-page-header--browse {
    padding-top: 64px;
    padding-bottom: 40px;
}

.jv-page-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #C7D2FE;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.jv-overview-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

.jv-overview-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #E2E8F0;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

.jv-overview-chip strong {
    color: #FFFFFF;
    font-size: 15px;
}

.jv-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jv-chip-option {
    position: relative;
    cursor: pointer;
}

.jv-chip-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jv-chip-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-sec);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.jv-chip-option input:checked + span,
.jv-chip-option:hover span {
    border-color: rgba(20,184,166,0.24);
    background: rgba(20,184,166,0.1);
    color: var(--primary);
}

.jv-listing-results {
    min-width: 0;
}

.jv-sidebar__card,
.jv-detail-card,
.jv-detail-sidebar__card {
    box-shadow: 0 16px 40px rgba(15,23,42,0.05);
}

[data-theme="dark"] .jv-sidebar__card,
[data-theme="dark"] .jv-detail-card,
[data-theme="dark"] .jv-detail-sidebar__card {
    box-shadow: 0 16px 40px rgba(2,6,23,0.34);
}

.jv-results-bar {
    margin-bottom: 20px;
}

.jv-results-bar__right {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.jv-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jv-badge--soft {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(59,130,246,0.08);
    color: #2563EB;
    white-space: nowrap;
}

.jv-listing-card {
    overflow: hidden;
}

.jv-listing-card__top {
    gap: 14px;
}

.jv-listing-card__info {
    align-items: flex-start;
    min-width: 0;
    flex: 1;
}

.jv-listing-card__info > div {
    min-width: 0;
}

.jv-listing-card__logo {
    border: 1px solid rgba(148,163,184,0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(241,245,249,0.9));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

[data-theme="dark"] .jv-listing-card__logo {
    background: linear-gradient(180deg, rgba(30,41,59,0.98), rgba(15,23,42,0.98));
}

.jv-listing-card__logo--letter {
    letter-spacing: 0.05em;
}

.jv-listing-card__title,
.jv-detail-title {
    word-break: break-word;
}

.jv-listing-card__company {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.jv-listing-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    position: relative;
    z-index: 2;
}

.jv-listing-card__posted {
    font-size: 12px;
    color: var(--text-muted);
}

.jv-listing-card__apply {
    position: relative;
    z-index: 2;
    min-width: 104px;
}

.jv-detail-header {
    align-items: flex-start;
}

.jv-detail-header__text {
    min-width: 0;
}

.jv-detail-logo {
    border: 1px solid rgba(148,163,184,0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(241,245,249,0.94));
}

[data-theme="dark"] .jv-detail-logo {
    background: linear-gradient(180deg, rgba(30,41,59,0.98), rgba(15,23,42,0.98));
}

.jv-detail-tags,
.jv-listing-card__tags,
.jv-detail-meta,
.jv-listing-card__meta {
    row-gap: 10px;
}

.jv-detail-content {
    color: var(--text-sec);
    line-height: 1.8;
}

.jv-detail-content > * + * {
    margin-top: 1em;
}

.jv-detail-content ul,
.jv-detail-content ol {
    padding-left: 20px;
}

.jv-empty-state__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(20,184,166,0.08);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .jv-page-header--browse {
        padding-top: 44px;
    }

    .jv-sidebar {
        width: min(92vw, 340px);
        box-shadow: 0 24px 60px rgba(15,23,42,0.16);
    }

    .jv-sidebar__card {
        padding: 22px 18px;
    }
}

@media (max-width: 768px) {
    .jv-page-header {
        padding-left: 0;
        padding-right: 0;
    }

    .jv-overview-chips {
        justify-content: flex-start;
    }

    .jv-results-bar {
        align-items: stretch;
    }

    .jv-results-bar__right {
        width: 100%;
        justify-content: space-between;
    }

    .jv-sort-select {
        flex: 1;
        min-width: 160px;
    }

    .jv-listing-card__top {
        flex-direction: column;
    }

    .jv-listing-card__right {
        width: 100%;
        justify-content: space-between;
    }

    .jv-detail-card,
    .jv-detail-sidebar__card {
        padding: 24px 20px;
    }
}

@media (max-width: 600px) {
    .jv-page-header__title {
        font-size: clamp(24px, 8vw, 32px);
    }

    .jv-overview-chip {
        width: 100%;
        justify-content: center;
    }

    .jv-choice-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jv-results-bar__right {
        flex-direction: column;
        align-items: stretch;
    }

    .jv-mobile-filter-btn,
    .jv-sort-select {
        width: 100%;
    }

    .jv-listing-card__info {
        gap: 12px;
    }

    .jv-listing-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .jv-listing-card__apply {
        width: 100%;
    }

    .jv-detail-header {
        gap: 16px;
    }
}
