/* =============================================================================
   JOB LISTING PRO — Stylesheet
   Clean, modern design with subtle depth and refined typography
   ============================================================================= */
:root {
    --jlp-primary: #0e7490;
    --jlp-primary-light: #ecfeff;
    --jlp-primary-dark: #164e63;
    --jlp-accent: #06b6d4;
    --jlp-accent-glow: rgba(6, 182, 212, 0.15);
    --jlp-bg: #f8fafc;
    --jlp-surface: #ffffff;
    --jlp-text: #0f172a;
    --jlp-text-muted: #64748b;
    --jlp-text-light: #94a3b8;
    --jlp-border: #e2e8f0;
    --jlp-border-light: #f1f5f9;
    --jlp-success: #059669;
    --jlp-warning: #d97706;
    --jlp-danger: #dc2626;
    --jlp-featured-bg: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    --jlp-featured-border: #f59e0b;
    --jlp-radius: 16px;
    --jlp-radius-sm: 10px;
    --jlp-radius-xs: 6px;
    --jlp-shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --jlp-shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --jlp-shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --jlp-shadow-hover: 0 20px 50px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);
    --jlp-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
.jlp-wrapper *,
.jlp-single * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.jlp-wrapper,
.jlp-single {
    font-family: var(--jlp-font);
    color: var(--jlp-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =============================================================================
   LISTING PAGE
   ============================================================================= */

.jlp-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* Header */
.jlp-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 48px 0 32px;
    position: relative;
}

.jlp-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--jlp-accent), var(--jlp-primary));
    border-radius: 3px;
}

.jlp-title {
    font-family: var(--jlp-font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--jlp-text);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.2;
}

.jlp-subtitle {
    font-size: 1.05rem;
    color: var(--jlp-text-muted);
    font-weight: 400;
}

/* Filters */
.jlp-filters {
    background: var(--jlp-surface);
    border-radius: var(--jlp-radius);
    border: 1px solid var(--jlp-border);
    box-shadow: var(--jlp-shadow-sm);
    padding: 20px;
    margin-bottom: 32px;
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
}

.jlp-search-wrap {
    position: relative;
    flex: 1;
    min-width: 100%;
}

.jlp-search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--jlp-text-light);
    pointer-events: none;
    transition: color var(--jlp-transition);
}

.jlp-search-wrap:focus-within .jlp-search-icon {
    color: var(--jlp-primary);
}

.jlp-search-input {
    width: 100%;
    height: 100%;
    padding: 0 16px 0 42px;
    min-height: 46px;
    border: 1.5px solid var(--jlp-border);
    border-radius: var(--jlp-radius-sm);
    font-family: var(--jlp-font);
    font-size: 0.9rem;
    background: var(--jlp-bg);
    color: var(--jlp-text);
    transition: var(--jlp-transition);
    outline: none;
}

.jlp-search-input:focus {
    border-color: var(--jlp-primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--jlp-accent-glow);
}

.jlp-search-input::placeholder {
    color: var(--jlp-text-light);
}

/* Divider */
.jlp-filters__divider {
    display: none;
}

/* Filter selects */
.jlp-filter-select {
    height: 46px;
    padding: 0 36px 0 14px;
    border: 1.5px solid var(--jlp-border);
    border-radius: var(--jlp-radius-sm);
    font-family: var(--jlp-font);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--jlp-text-muted);
    background: var(--jlp-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: var(--jlp-transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    white-space: nowrap;
    max-width: 32%;
}

.jlp-filter-select:hover {
    border-color: #cbd5e1;
    background-color: #fff;
}

.jlp-filter-select:focus {
    border-color: var(--jlp-primary);
    color: var(--jlp-text);
    background-color: #fff;
    box-shadow: 0 0 0 3px var(--jlp-accent-glow);
}

.jlp-filter-select.jlp-filter--active {
    border-color: var(--jlp-primary);
    color: var(--jlp-primary-dark);
    background-color: var(--jlp-primary-light);
    font-weight: 600;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* Clear button */
.jlp-filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 46px;
    padding: 0 16px;
    border: 1.5px solid var(--jlp-border);
    border-radius: var(--jlp-radius-sm);
    background: var(--jlp-surface);
    color: var(--jlp-text-muted);
    font-family: var(--jlp-font);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--jlp-transition);
    white-space: nowrap;
}

.jlp-filter-clear:hover {
    background: #fef2f2;
    color: var(--jlp-danger);
    border-color: #fecaca;
}

/* Active filter pills */
.jlp-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    padding-top: 4px;
}

.jlp-active-filters:empty {
    display: none;
}

.jlp-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 12px;
    background: var(--jlp-primary-light);
    color: var(--jlp-primary-dark);
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    animation: jlpPillIn 0.2s ease both;
}

@keyframes jlpPillIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.jlp-filter-pill__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(14, 116, 144, 0.12);
    cursor: pointer;
    transition: var(--jlp-transition);
    border: none;
    padding: 0;
    color: var(--jlp-primary);
}

.jlp-filter-pill__remove:hover {
    background: var(--jlp-primary);
    color: #fff;
}

/* Grid */
.jlp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.jlp-wrapper[data-columns="2"] .jlp-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* =============================================================================
   JOB CARDS
   ============================================================================= */

.jlp-card {
    background: var(--jlp-surface);
    border-radius: var(--jlp-radius);
    border: 1px solid var(--jlp-border);
    display: flex;
    flex-direction: column;
    transition: var(--jlp-transition);
    box-shadow: var(--jlp-shadow-sm);
    overflow: hidden;
    position: relative;
    animation: jlpCardIn 0.5s ease both;
}

@keyframes jlpCardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jlp-card:nth-child(1) { animation-delay: 0s; }
.jlp-card:nth-child(2) { animation-delay: 0.06s; }
.jlp-card:nth-child(3) { animation-delay: 0.12s; }
.jlp-card:nth-child(4) { animation-delay: 0.18s; }
.jlp-card:nth-child(5) { animation-delay: 0.24s; }
.jlp-card:nth-child(6) { animation-delay: 0.3s; }
.jlp-card:nth-child(7) { animation-delay: 0.36s; }
.jlp-card:nth-child(8) { animation-delay: 0.42s; }
.jlp-card:nth-child(9) { animation-delay: 0.48s; }

.jlp-card:hover {
    box-shadow: var(--jlp-shadow-hover);
    transform: translateY(-4px);
    border-color: var(--jlp-accent);
}

/* Featured card */
.jlp-card--featured {
    background: var(--jlp-featured-bg);
    border-color: var(--jlp-featured-border);
}

.jlp-card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
}

/* Card Top */
.jlp-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 20px 0;
    gap: 8px;
}

.jlp-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.jlp-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.jlp-badge--type {
    color: var(--badge-color, var(--jlp-primary));
    background: color-mix(in srgb, var(--badge-color, var(--jlp-primary)) 12%, white);
}

.jlp-badge--featured {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.jlp-badge--urgent {
    background: #fef2f2;
    color: var(--jlp-danger);
    animation: jlpPulse 2s ease-in-out infinite;
}

@keyframes jlpPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.jlp-card__closing-soon {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--jlp-danger);
    background: #fef2f2;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Card Body */
.jlp-card__body {
    padding: 16px 20px 8px;
    flex-grow: 0;
}

.jlp-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.jlp-card__title a {
    color: var(--jlp-text);
    text-decoration: none;
    transition: var(--jlp-transition);
}

.jlp-card__title a:hover {
    color: var(--jlp-primary);
}

.jlp-card__location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--jlp-text-muted);
    margin-bottom: 10px;
}

.jlp-card__location svg {
    flex-shrink: 0;
    color: var(--jlp-accent);
}

.jlp-card__excerpt {
    font-size: 0.875rem;
    color: var(--jlp-text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* Card Meta */
.jlp-card__meta {
    padding: 12px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex-grow: 1;
}

.jlp-card__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.jlp-card__meta-item svg {
    flex-shrink: 0;
    color: var(--jlp-accent);
    margin-top: 1px;
}

.jlp-card__meta-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--jlp-text-light);
    font-weight: 500;
    margin-bottom: 1px;
}

.jlp-card__meta-value {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--jlp-text);
    line-height: 1.3;
}

/* Card Footer */
.jlp-card__footer {
    padding: 16px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--jlp-border-light);
    margin-top: auto;
}

.jlp-card__posted {
    font-size: 0.78rem;
    color: var(--jlp-text-light);
}

/* Buttons */
.jlp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--jlp-radius-sm);
    font-family: var(--jlp-font);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--jlp-transition);
    border: none;
    white-space: nowrap;
}

.jlp-btn--primary {
    background: var(--jlp-primary);
    color: #fff;
}

.jlp-btn--primary:hover {
    background: var(--jlp-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 116, 144, 0.3);
    color: #fff;
    text-decoration: none;
}

.jlp-btn--primary svg {
    transition: transform 0.2s ease;
}

.jlp-btn--primary:hover svg {
    transform: translateX(3px);
}

.jlp-btn--large {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--jlp-radius-sm);
}

.jlp-btn--outline {
    background: transparent;
    color: var(--jlp-primary);
    border: 1.5px solid var(--jlp-primary);
}

.jlp-btn--outline:hover {
    background: var(--jlp-primary);
    color: #fff;
    text-decoration: none;
}

/* No Results */
.jlp-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    color: var(--jlp-text-muted);
}

.jlp-no-results svg {
    color: var(--jlp-text-light);
    margin-bottom: 16px;
}

.jlp-no-results h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--jlp-text);
}

/* Pagination */
.jlp-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    min-height: 42px;
}

.jlp-pagination:empty {
    display: none;
}

.jlp-pagination ul,
.jlp-ajax-pages {
    display: flex;
    list-style: none;
    gap: 6px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.jlp-pagination li a,
.jlp-pagination li span,
.jlp-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--jlp-radius-sm);
    font-family: var(--jlp-font);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--jlp-text);
    background: var(--jlp-surface);
    border: 1px solid var(--jlp-border);
    transition: var(--jlp-transition);
    cursor: pointer;
    line-height: 1;
}

.jlp-pagination li a:hover,
.jlp-page-btn:hover {
    border-color: var(--jlp-accent);
    color: var(--jlp-primary);
    background: var(--jlp-primary-light);
}

.jlp-pagination li .current,
.jlp-page-btn--active,
.jlp-page-btn--active:hover {
    background: var(--jlp-primary);
    color: #fff;
    border-color: var(--jlp-primary);
    cursor: default;
}

.jlp-page-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 42px;
    color: var(--jlp-text-light);
    font-size: 1rem;
    letter-spacing: 2px;
}

/* =============================================================================
   SINGLE JOB DETAIL PAGE
   ============================================================================= */

.jlp-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
    font-family: var(--jlp-font);
}

/* Breadcrumb */
.jlp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--jlp-text-muted);
    padding: 24px 0;
}

.jlp-breadcrumb a {
    color: var(--jlp-primary);
    text-decoration: none;
    transition: var(--jlp-transition);
}

.jlp-breadcrumb a:hover {
    color: var(--jlp-primary-dark);
}

.jlp-breadcrumb svg {
    color: var(--jlp-text-light);
    flex-shrink: 0;
}

/* Hero / Top Banner */
.jlp-detail-hero {
    background: linear-gradient(135deg, var(--jlp-primary-dark) 0%, var(--jlp-primary) 50%, var(--jlp-accent) 100%);
    border-radius: var(--jlp-radius);
    padding: 48px 48px 40px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.jlp-detail-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.jlp-detail-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.jlp-detail-hero > * {
    position: relative;
    z-index: 1;
}

.jlp-detail-hero__badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.jlp-detail-hero .jlp-badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
    backdrop-filter: blur(8px);
    font-size: 0.75rem;
}

.jlp-detail-hero .jlp-badge--urgent {
    background: rgba(220, 38, 38, 0.3);
    animation: jlpPulse 2s ease-in-out infinite;
}

.jlp-detail-hero__title {
    font-family: var(--jlp-font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.jlp-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

.jlp-detail-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.jlp-detail-hero__meta-item svg {
    opacity: 0.8;
}

/* Two Column Layout */
.jlp-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/* Main Content */
.jlp-detail-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.jlp-detail-section {
    background: var(--jlp-surface);
    border-radius: var(--jlp-radius);
    border: 1px solid var(--jlp-border);
    padding: 32px;
    box-shadow: var(--jlp-shadow-sm);
}

.jlp-detail-section__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--jlp-border-light);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--jlp-text);
    letter-spacing: -0.01em;
}

.jlp-detail-section__title svg {
    color: var(--jlp-accent);
}

.jlp-detail-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--jlp-text);
}

.jlp-detail-content p {
    margin-bottom: 16px;
}

.jlp-detail-content ul,
.jlp-detail-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.jlp-detail-content li {
    margin-bottom: 8px;
}

.jlp-detail-content h2,
.jlp-detail-content h3,
.jlp-detail-content h4 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--jlp-text);
}

/* Sidebar */
.jlp-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 32px;
}

.jlp-sidebar-card {
    background: var(--jlp-surface);
    border-radius: var(--jlp-radius);
    border: 1px solid var(--jlp-border);
    padding: 28px;
    box-shadow: var(--jlp-shadow-sm);
}

.jlp-sidebar-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--jlp-text);
    letter-spacing: -0.01em;
}

/* Job Summary Table */
.jlp-summary-table {
    width: 100%;
}

.jlp-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--jlp-border-light);
    gap: 12px;
}

.jlp-summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.jlp-summary-row:first-child {
    padding-top: 0;
}

.jlp-summary-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--jlp-text-muted);
    font-weight: 500;
    min-width: 120px;
    flex-shrink: 0;
}

.jlp-summary-label svg {
    color: #ff9700;
    flex-shrink: 0;
}

.jlp-summary-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--jlp-text);
    text-align: right;
}

.jlp-summary-value--salary {
    color: var(--jlp-success);
    font-size: 1rem;
}

/* Deadline Warning */
.jlp-deadline-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--jlp-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 16px;
}

.jlp-deadline-alert--warning {
    background: #fffbeb;
    color: var(--jlp-warning);
    border: 1px solid #fde68a;
}

.jlp-deadline-alert--danger {
    background: #fef2f2;
    color: var(--jlp-danger);
    border: 1px solid #fecaca;
}

.jlp-deadline-alert--expired {
    background: #f1f5f9;
    color: var(--jlp-text-muted);
    border: 1px solid var(--jlp-border);
}

/* Apply CTA */
.jlp-apply-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.jlp-apply-cta .jlp-btn {
    justify-content: center;
    width: 100%;
}

/* Share */
.jlp-share-links {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.jlp-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--jlp-radius-xs);
    background: var(--jlp-bg);
    color: var(--jlp-text-muted);
    border: 1px solid var(--jlp-border);
    text-decoration: none;
    transition: var(--jlp-transition);
    cursor: pointer;
}

.jlp-share-btn:hover {
    background: var(--jlp-primary);
    color: #fff;
    border-color: var(--jlp-primary);
}

/* Qualifications Tags */
.jlp-qual-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jlp-qual-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: var(--jlp-primary-light);
    color: var(--jlp-primary);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
}

/* Related Jobs */
.jlp-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.jlp-related-card {
    padding: 18px;
    border-radius: var(--jlp-radius-sm);
    border: 1px solid var(--jlp-border);
    transition: var(--jlp-transition);
    text-decoration: none;
    display: block;
    background: var(--jlp-bg);
}

.jlp-related-card:hover {
    border-color: var(--jlp-accent);
    box-shadow: var(--jlp-shadow-md);
    text-decoration: none;
}

.jlp-related-card__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--jlp-text);
    margin-bottom: 6px;
    line-height: 1.35;
}

.jlp-related-card__meta {
    font-size: 0.78rem;
    color: var(--jlp-text-muted);
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
    .jlp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .jlp-detail-layout {
        grid-template-columns: 1fr 340px;
    }
}

@media (max-width: 768px) {
    .jlp-wrapper {
        padding: 24px 16px 60px;
    }
	.jlp-filter-select{
		width: 100%;
		max-width: 100%;
	}
    .jlp-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .jlp-filters {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
    }
    .jlp-filters__divider { display: none; }
    .jlp-search-wrap { min-width: 0; }
    .jlp-filter-select { width: 100%; min-width: 0; }
    .jlp-detail-layout {
        grid-template-columns: 1fr;
    }
    .jlp-detail-sidebar {
        position: static;
    }
    .jlp-detail-hero {
        padding: 28px 24px;
    }
    .jlp-detail-section {
        padding: 24px;
    }
    .jlp-card__meta {
        grid-template-columns: 1fr;
    }
    .jlp-header {
        padding: 24px 0 24px;
    }
    .jlp-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .jlp-card__footer {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    .jlp-detail-hero__meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* =============================================================================
   LOADING STATE
   ============================================================================= */

.jlp-loading {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 60px;
}

.jlp-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--jlp-border);
    border-top-color: var(--jlp-accent);
    border-radius: 50%;
    animation: jlpSpin 0.8s linear infinite;
}

@keyframes jlpSpin {
    to { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
    .jlp-filters,
    .jlp-pagination,
    .jlp-share-links,
    .jlp-apply-cta {
        display: none !important;
    }
    .jlp-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
