.market-list-container { padding: 30px 0; background: #f8fafc; }
.filter-sidebar { background: #fff; padding: 24px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); position: sticky; top: 30px; max-height: calc(100vh - 60px); overflow-y: auto; border: 1px solid #edf2f7; }
.filter-group { border-bottom: 1px solid #f1f5f9; padding-bottom: 24px; margin-bottom: 24px; }
.filter-group:last-child { border-bottom: none; }
.filter-title { font-weight: 800; font-size: 0.7rem; color: #94a3b8; display: block; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1.2px; }
.ow_checkbox_group li { display: flex;flex-direction: row-reverse; margin-bottom: 12px !important; padding-left: 0 !important; width: 100% !important; float: none !important; }
.ow_checkbox_group li.filter-hidden { display: none !important; }
.cursor-pointer { cursor: pointer; }
.form-check { padding-left: 0; display: flex; align-items: center; justify-content: space-between; }
.filter-checkbox { width: 18px; height: 18px; cursor: pointer; order: 2; }
.form-check-label { order: 1; cursor: pointer; font-weight: 600; color: #475569; flex-grow: 1; }
.form-check-label .count { font-weight: 400; color: #94a3b8; margin-left: 4px; font-size: 0.8rem; }
@media (min-width: 992px) {
    #modal-filter-list .ow_checkbox_group { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 15px 40px !important; padding: 10px 20px !important; }
    #modal-filter-list .ow_checkbox_group li { margin-bottom: 0 !important; border-bottom: 1px solid #f8fafc; padding-bottom: 8px !important; }
}

@media (max-width: 991.98px) { .ow_checkbox_group.clearfix { display: inline-grid; grid-template-columns: 1fr; width: 100%; } }
.hover-lift { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important; }
.market-role-card-link { display: block; color: inherit; text-decoration: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.market-role-card { background: #ffffff; border: 1px solid #f1f5f9 !important; border-radius: 12px !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.market-role-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12) !important; border-color: #e0e7ff !important; }

/* Header Section */
.card-header-section { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.role-title { font-size: 1.4rem; font-weight: 700; color: #0f172a; margin: 0; line-height: 1.3; flex: 1; }
.badge-group { display: flex; gap: 8px; flex-shrink: 0; margin-left: 12px; }
.badge-live { background: #dcfce7; color: #16a34a; font-size: 0.65rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-fresh { background: #fef3c7; color: #d97706; font-size: 0.65rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.badge-views { background: #f1f5f9; color: #64748b; font-size: 0.65rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.badge-views i { font-size: 0.6rem; }

/* Meta Info Row */
.meta-info-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; }
.meta-item { display: flex; align-items: center; gap: 6px; color: #64748b; font-size: 0.875rem; font-weight: 500; }
.meta-item i { color: #6366f1; width: 16px; text-align: center; }
.meta-item.salary-avg { color: #6366f1; font-weight: 700; }

/* Skills Pills */
.skills-row { display: none !important; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.skill-pill { background: #eef2ff; color: #4f46e5; font-size: 0.75rem; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 1px solid #e0e7ff; transition: all 0.2s; }
.market-role-card:hover .skill-pill { background: #ddd6fe; border-color: #c7d2fe; }

/* Companies Row */
.companies-row { display: flex; align-items: flex-start; gap: 8px; color: #475569; font-size: 0.8rem; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #f1f5f9; line-height: 1.6; }
.companies-row i { color: #94a3b8; margin-top: 3px; flex-shrink: 0; }
.companies-content { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; max-height: 3.2rem; }
.hiring-label { font-weight: 400; margin-right: 4px; }
.company-name { font-weight: 600; color: #334155; font-size: 12px; letter-spacing: .25px; }
.more-companies { color: #6366f1; font-weight: 600; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 24px; }
.stat-item { text-align: left; }
.stat-item:nth-child(2) { text-align: center; }
.stat-item:last-child { text-align: right; }
.stat-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 700; color: #94a3b8; margin-bottom: 6px; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: #0f172a; line-height: 1.2; }
.stat-value.primary { color: #6366f1; }
.stat-suffix { font-size: 0.7rem; font-weight: 400; color: #94a3b8; margin-left: 4px; }

/* View Details Button */
.view-details-btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); color: white; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 0.875rem; transition: all 0.3s; border: none; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); white-space: nowrap; cursor: pointer; }
.view-details-btn:hover { transform: translateX(4px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4); }
.market-role-card:hover .view-details-btn i { transform: translateX(4px); transition: transform 0.3s; }

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr 1fr auto; gap: 16px; }
    .role-title { font-size: 1.2rem; }
}

@media (max-width: 576px) {
    .card-header-section { flex-direction: column; align-items: flex-start; }
    .badge-group { flex-direction: row; margin-left: 0; margin-top: 8px; align-self: flex-end; }
    .meta-info-row { gap: 12px; }
    .stat-value { font-size: 1.3rem; }
    .role-title { font-size: 1.5rem; }
    .view-details-btn { padding: 8px 16px; font-size: 0.8rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-item { text-align: left; }
    .stat-item:nth-child(2) { text-align: right; }
    .stat-item:last-child { grid-column: 1 / -1; display: flex; justify-content: flex-end; text-align: right; margin-top: 8px; }
    .stat-item.text-md-start, .stat-item.text-end { text-align: inherit; }
}

/* Pagination Styling */
.ow_paging { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; padding: 20px !important; margin: 30px 0 !important; }
.ow_paging a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; background-color: #f0f0f0; color: #333; transition: all 0.2s ease; border: 1px solid #e2e8f0; }
.ow_paging a:hover { background-color: #e2e8f0; transform: scale(1.05); }
.ow_paging a.active { background-color: #6366f1; color: white; border-color: #6366f1; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); }
.ow_paging span { color: #999; padding: 8px 4px; }


