﻿/* Extracted from legacy/includes/inline_styles.php. Keep file order in that include unless deliberately changing the cascade. */
.jobs-explorer{display:grid;grid-template-columns:330px 1fr;gap:32px;align-items:start}.filter-panel{position:sticky;top:96px;padding:20px;background:#fff}.filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.filter-head h3{font-size:22px;line-height:1.2;font-weight:900;color:#141022}.filter-count{border-radius:999px;background:#ede9fe;color:#6d28d9;padding:5px 10px;font-size:12px;font-weight:900}.filter-block{overflow:hidden;border:1px solid #ede9fe;border-radius:14px;background:#f8fafc;margin-bottom:10px}.filter-block summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:0 18px;color:#334155;font-size:16px;font-weight:800;cursor:pointer;list-style:none}.filter-block summary::-webkit-details-marker{display:none}.filter-block summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:.2s}.filter-block[open] summary::after{transform:rotate(225deg)}.filter-body{padding:10px 18px 18px}.filter-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}.check-list{display:grid;gap:0;max-height:320px;overflow:auto}.check-item{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:46px;padding:0 26px 0 8px;color:#475569;font-size:15px;font-weight:500;cursor:pointer}.check-item input{position:absolute;opacity:0;pointer-events:none}.check-item input:checked + span::after{content:"\2713";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:18px;font-weight:900;color:#6d28d9}.jobs-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.jobs-toolbar .search{margin:0;flex:1;box-shadow:none}.sort-row{display:flex;align-items:center;gap:10px}.jobs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.empty-state{padding:36px;text-align:center}.filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.job-detail-layout{display:grid;grid-template-columns:minmax(260px,360px) 1fr;gap:28px;align-items:start}.job-detail-main{padding:32px}.job-detail-title{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:24px}.job-rich-text{color:#475569;line-height:1.8}.job-rich-text p{margin:0 0 14px}.job-rich-text ul,.job-rich-text ol{margin:0 0 16px 22px;padding:0}.job-rich-text blockquote{margin:16px 0;border-left:4px solid #ddd6fe;padding-left:16px;color:#334155}.job-rich-text h3,.job-rich-text h4{margin:20px 0 10px;color:#141022}.editor-wrap{overflow:hidden;border:1px solid #ede9fe;border-radius:16px;background:#fff}.editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid #ede9fe;background:#f8fafc;padding:8px}.editor-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border:1px solid transparent;border-radius:10px;background:#fff;color:#334155;font-weight:950;cursor:pointer}.editor-toolbar button:hover{border-color:#ddd6fe;background:#f5f3ff;color:#6d28d9}.rich-editor{min-height:190px;padding:14px 16px;color:#334155;line-height:1.65;outline:none}.rich-editor:focus{box-shadow:0 0 0 4px #ede9fe inset}.rich-editor:empty:before{content:attr(data-placeholder);color:#94a3b8}.rich-editor ul,.rich-editor ol{margin:8px 0 8px 22px;padding:0}.rich-editor-source{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}.quill-editor-wrap{padding:0}.quill-editor-wrap .ql-toolbar.ql-snow{border:0;border-bottom:1px solid #ede9fe;background:#f8fafc}.quill-editor-wrap .ql-container.ql-snow{border:0;font-family:inherit}.quill-editor-wrap .ql-editor{min-height:260px;color:#334155;line-height:1.75}.quill-editor-wrap .ql-editor.ql-blank::before{color:#94a3b8;font-style:normal}.quill-editor-wrap .ql-editor h2,.quill-editor-wrap .ql-editor h3{color:#141022}.quill-editor-wrap .ql-editor blockquote{border-left:4px solid #ddd6fe;color:#334155}.quill-editor-wrap.is-invalid{box-shadow:0 0 0 4px #fee2e2 inset}@media(max-width:1024px){.jobs-explorer,.job-detail-layout{grid-template-columns:1fr}.filter-panel{position:static}.jobs-toolbar{align-items:stretch;flex-direction:column}.jobs-grid{grid-template-columns:1fr}.job-detail-title{flex-direction:column}.job-detail-main{padding:24px}}
.job-action-panel{position:sticky;top:104px;display:grid;gap:14px;align-self:start}.job-action-panel .job-top{margin-bottom:0}.job-side-facts{display:grid;gap:8px}.job-side-facts div,.job-match-card,.job-applied-note{border:1px solid #ede9fe;border-radius:14px;background:#faf8ff;padding:12px}.job-side-facts span,.company-snapshot-grid span{display:block;margin-bottom:4px;color:#6d28d9;font-size:12px;font-weight:950}.job-side-facts strong{display:block}.job-applied-note{display:grid;gap:4px}.job-applied-note span{color:#64748b;font-size:13px;font-weight:900}.job-match-card{display:grid;gap:10px}.job-match-card .overview-panel-head{margin-bottom:0}.job-match-card h3{font-size:16px}.job-match-list{display:grid;gap:8px}.job-match-list span{border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:9px 10px;color:#64748b;font-size:12px;font-weight:950}.job-match-list span.ok{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.job-section-card{border:1px solid #ede9fe;border-radius:20px;background:#fff;padding:20px;margin-top:18px}.job-section-card:first-of-type{margin-top:0}.job-detail-main>.job-section-card:first-of-type{margin-top:0}.job-detail-hero,.job-detail-title{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:24px}.match-skill-grid,.company-snapshot-grid,.similar-job-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.company-snapshot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.company-snapshot-grid div{border:1px solid #ede9fe;border-radius:14px;background:#faf8ff;padding:14px}.tag.good{background:#dcfce7;color:#166534}.apply-card{margin-top:18px;background:#f8fafc}.similar-job-card{display:grid;gap:6px;border:1px solid #ede9fe;border-radius:16px;background:#faf8ff;padding:14px;transition:.2s}.similar-job-card:hover{border-color:#c4b5fd;background:#f5f3ff}.similar-job-card span,.similar-job-card em{color:#64748b;font-size:13px;font-style:normal;font-weight:800}body.theme-dark .job-side-facts div,body.theme-dark .job-match-card,body.theme-dark .job-applied-note,body.theme-dark .job-section-card,body.theme-dark .company-snapshot-grid div,body.theme-dark .similar-job-card,body.theme-dark .apply-card,body.theme-dark .job-match-list span{border-color:#382a66;background:#171331;color:#e5e7eb}@media(max-width:1024px){.job-action-panel{position:static}.match-skill-grid,.company-snapshot-grid,.similar-job-grid{grid-template-columns:1fr}.job-detail-hero,.job-detail-title{flex-direction:column}}
@media(max-width:1180px){.wrap{padding-left:20px;padding-right:20px}.hero-grid{gap:30px}.jobs-explorer{grid-template-columns:280px 1fr;gap:22px}.grid3,.jobs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.section .grid.grid3:has(.job-card),.jobs-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;gap:28px!important;align-items:stretch!important}
.section .grid.grid3:has(.job-card)>.job-card,.jobs-grid>.job-card{width:100%!important;max-width:none!important;margin:0!important;transform:none!important;align-self:stretch!important}
.job-card{display:flex!important;flex-direction:column!important}
.job-card .tags{margin-top:auto!important;padding-top:18px}
.job-card .btn{width:100%!important}
@media(min-width:1100px){.section .grid.grid3:has(.job-card){grid-template-columns:repeat(3,minmax(0,1fr))!important}.jobs-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.section .grid.grid3:has(.job-card),.jobs-grid{grid-template-columns:1fr!important}}
.jobs-explorer{grid-template-columns:minmax(280px,410px) minmax(0,1fr)!important;align-items:start!important}
.jobs-explorer>main{display:block!important;min-width:0!important;width:100%!important}
.jobs-list-grid{display:grid!important;grid-template-columns:repeat(2,minmax(320px,1fr))!important;gap:28px!important;align-items:stretch!important;justify-items:stretch!important;width:100%!important;margin:0!important;padding:0!important}
.jobs-list-slot{display:flex!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important}
.jobs-list-slot .job-card{display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;min-width:0!important;height:100%!important;margin:0!important;transform:none!important}
.jobs-list-slot .job-card:hover{transform:translateY(-4px)!important}
.jobs-list-slot .job-card .tags{margin-top:auto!important;padding-top:18px!important}
.jobs-list-slot .job-card .btn{width:100%!important}
@media(max-width:1180px){.jobs-explorer{grid-template-columns:1fr!important}.jobs-list-grid{grid-template-columns:repeat(2,minmax(280px,1fr))!important}}
@media(max-width:760px){.jobs-list-grid{grid-template-columns:1fr!important}}
.jobs-sort-form{flex-wrap:nowrap!important;gap:10px!important}
.jobs-sort-label{color:#667085;font-size:14px;font-weight:900;white-space:nowrap}
.jobs-sort-select{min-width:190px!important}
.job-share-card{display:grid;gap:14px;margin-top:24px;border-top:1px solid #e8e4f6;padding-top:18px}
.job-share-actions{display:flex;flex-wrap:wrap;gap:10px}
.job-share-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-width:138px;white-space:nowrap}
.job-share-btn svg{width:19px;height:19px;fill:currentColor;flex:0 0 auto}
.job-share-btn.whatsapp{border-color:#86efac!important;color:#128c7e!important;background:#f0fdf4!important}
.job-share-btn.telegram{border-color:#c4b5fd!important;color:#229ed9!important;background:#f5f3ff!important}
.job-share-btn.copy{border-color:#e0e7ff!important;color:#141022!important;background:#fff!important}
body.theme-dark .job-share-btn.copy{border-color:#382a66!important;color:#e5e7eb!important;background:#171331!important}
.filter-panel{border-radius:20px!important;padding:20px!important;background:#fff!important}.filter-head h3{font-size:28px!important;letter-spacing:-.02em}.filter-block{border:0!important;border-radius:16px!important;background:#f5f5f5!important;margin-bottom:10px!important}.filter-block[open]{background:#f7f7f7!important}.filter-block summary{min-height:64px!important;padding:0 20px!important;color:#000!important;font-size:20px!important;font-weight:900!important}.filter-body{padding:0 20px 20px!important}.filter-range{align-items:end!important}.filter-range .label{grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:10px!important;color:#000!important;font-size:13px!important}.filter-range .input{min-height:38px!important;border-color:#e5e7eb!important;border-radius:999px!important;padding:8px 14px!important}.filter-actions{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;gap:10px!important;margin-top:20px!important}.filter-actions .btn{border-radius:16px!important}.filter-actions .btn:first-child{background:#6d28d9!important}.filter-actions .btn.outline{border-color:#e5e7eb!important;color:#98a2b3!important}.check-list{max-height:260px!important}.check-item{min-height:42px!important;border-radius:12px!important}.check-item:hover{background:#fff!important}body.theme-dark .filter-panel,body.theme-dark .filter-block{border-color:#382a66!important;background:#171331!important}body.theme-dark .filter-block summary,body.theme-dark .filter-range .label{color:#e5e7eb!important}body.theme-dark .check-item:hover{background:#141022!important}
.salary-range-filter{display:grid;gap:18px}.salary-range-values{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center}.salary-range-values span{display:flex;align-items:center;gap:8px;min-width:0;color:#000;font-size:13px;font-weight:800}.salary-range-values input{display:block;min-width:0;width:100%;border:1px solid #e5e7eb;border-radius:999px;background:#fff;padding:9px 13px;color:#171331;font-size:14px;font-weight:500;line-height:1.2;font-family:inherit}.salary-range-values input:focus{outline:none;border-color:#6d28d9;box-shadow:0 0 0 3px rgba(109,40,217,.15)}.salary-range-slider{position:relative;height:42px;margin:0 2px}.salary-range-track,.salary-range-fill{position:absolute;left:0;right:0;top:18px;height:6px;border-radius:999px}.salary-range-track{background:#e0e7ff}.salary-range-fill{right:auto;background:#6d28d9}.salary-range-slider input[type=range]{position:absolute;left:0;top:0;width:100%;height:42px;margin:0;background:transparent;pointer-events:none;appearance:none;-webkit-appearance:none}.salary-range-slider input[type=range]::-webkit-slider-thumb{width:34px;height:34px;border:3px solid #6d28d9;border-radius:999px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.18);cursor:pointer;pointer-events:auto;appearance:none;-webkit-appearance:none}.salary-range-slider input[type=range]::-moz-range-thumb{width:28px;height:28px;border:3px solid #6d28d9;border-radius:999px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.18);cursor:pointer;pointer-events:auto}.salary-range-slider input[type=range]::-webkit-slider-runnable-track{height:6px;background:transparent}.salary-range-slider input[type=range]::-moz-range-track{height:6px;background:transparent}body.theme-dark .salary-range-values span{color:#e5e7eb}body.theme-dark .salary-range-values input{border-color:#382a66;background:#141022;color:#e5e7eb}body.theme-dark .salary-range-track{background:#382a66}body.theme-dark .salary-range-fill{background:#a78bfa}body.theme-dark .salary-range-slider input[type=range]::-webkit-slider-thumb{border-color:#a78bfa;background:#171331}body.theme-dark .salary-range-slider input[type=range]::-moz-range-thumb{border-color:#a78bfa;background:#171331}
.filter-actions .btn:first-child{background:#6d28d9!important;background:linear-gradient(135deg,#6d28d9,#8b5cf6)!important}.salary-range-fill{background:#6d28d9!important;background:linear-gradient(90deg,#6d28d9,#8b5cf6)!important}.salary-range-slider input[type=range]::-webkit-slider-thumb{border-color:#6d28d9!important}.salary-range-slider input[type=range]::-moz-range-thumb{border-color:#6d28d9!important}.salary-range-track{background:#e0e7ff!important}.salary-range-values input{border-color:#e0e7ff!important}body.theme-dark .salary-range-fill{background:#a78bfa!important}body.theme-dark .salary-range-slider input[type=range]::-webkit-slider-thumb{border-color:#a78bfa!important}body.theme-dark .salary-range-slider input[type=range]::-moz-range-thumb{border-color:#a78bfa!important}
.salary-range-slider input[data-salary-min-range]{z-index:3}.salary-range-slider input[data-salary-max-range]{z-index:4}.salary-range-slider input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 5px rgba(139,92,246,.18),0 2px 8px rgba(15,23,42,.18)}.salary-range-slider input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 5px rgba(139,92,246,.18),0 2px 8px rgba(15,23,42,.18)}
.jobs-sort-control{display:inline-grid;grid-template-columns:auto minmax(160px,1fr);align-items:center;gap:8px;border:1px solid #e0e7ff;border-radius:999px;background:#fff;padding:6px 12px;color:#6d28d9}.jobs-sort-control svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.jobs-sort-control .jobs-sort-select{min-width:0!important;border:0!important;background:transparent!important;padding:6px 26px 6px 0!important;color:#6d28d9!important;font-weight:900!important;box-shadow:none!important;outline:0!important}.jobs-sort-control:focus-within{border-color:#a5b4fc;box-shadow:0 0 0 4px rgba(139,92,246,.14)}body.theme-dark .jobs-sort-control{border-color:#382a66;background:#171331;color:#a78bfa}body.theme-dark .jobs-sort-control .jobs-sort-select{color:#ddd6fe!important}
.jobs-sort-menu{position:relative;display:inline-grid;grid-template-columns:auto minmax(170px,1fr);align-items:center;gap:8px;border:1px solid #e0e7ff;border-radius:999px;background:#fff;padding:6px 8px 6px 12px;color:#6d28d9}.jobs-sort-menu svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.jobs-sort-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;border:0;background:transparent;color:#6d28d9;font-weight:900;cursor:pointer;text-align:left}.jobs-sort-trigger:after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:.18s}.jobs-sort-menu.is-open .jobs-sort-trigger:after{transform:rotate(225deg)}.jobs-sort-options{position:absolute;right:0;top:calc(100% + 8px);z-index:30;display:none;min-width:100%;border:1px solid #e0e7ff;border-radius:16px;background:#fff;padding:8px;box-shadow:0 18px 38px rgba(16,24,40,.12)}.jobs-sort-menu.is-open .jobs-sort-options{display:grid}.jobs-sort-options button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;border:0;border-radius:12px;background:transparent;padding:0 12px;color:#334155;font-weight:850;text-align:left;white-space:nowrap;cursor:pointer}.jobs-sort-options button:hover,.jobs-sort-options button[aria-selected="true"]{background:#eef2ff;color:#6d28d9}.jobs-sort-options button[aria-selected="true"]:after{content:"✓";font-weight:950}.jobs-sort-menu:focus-within{border-color:#a5b4fc;box-shadow:0 0 0 4px rgba(139,92,246,.14)}body.theme-dark .jobs-sort-menu,body.theme-dark .jobs-sort-options{border-color:#382a66;background:#171331;color:#a78bfa}body.theme-dark .jobs-sort-trigger{color:#ddd6fe}body.theme-dark .jobs-sort-options button{color:#e5e7eb}body.theme-dark .jobs-sort-options button:hover,body.theme-dark .jobs-sort-options button[aria-selected="true"]{background:#251c47;color:#ddd6fe}

/* Heart save buttons */
.save-icon-btn,.job-card .save-icon-btn,.jobs-list-slot .job-card .save-icon-btn{position:relative!important;width:46px!important;min-width:46px!important;height:46px!important;padding:0!important;border:1px solid #c7d2fe!important;border-radius:14px!important;background:#fff!important;color:#4f46e5!important;box-shadow:none!important}
.save-icon-btn:before{content:"♡";display:block;font-size:25px;line-height:1;font-weight:950;color:currentColor}
.save-icon-btn:hover{border-color:#4f46e5!important;background:#eef2ff!important;transform:translateY(-1px)}
.save-icon-btn.is-saved{border-color:#4f46e5!important;background:#eef2ff!important;color:#4f46e5!important}
.save-icon-btn.is-saved:before{content:"♥";color:#4f46e5}
.save-icon-btn.is-saved:hover{background:#e0e7ff!important}
.job-action-panel form .save-icon-btn{width:46px!important}
body.theme-dark .save-icon-btn{border-color:#382a66!important;background:#171331!important;color:#ddd6fe!important}
body.theme-dark .save-icon-btn:hover{border-color:#a78bfa!important;background:#251c47!important}
body.theme-dark .save-icon-btn.is-saved{border-color:#a78bfa!important;background:#251c47!important;color:#c4b5fd!important}

/* ═══════════════════════════════════════════════════════════════
   JOBS PAGE DESIGN UPGRADE
   Company avatars, type chips, match card polish, detail sections.
═══════════════════════════════════════════════════════════════ */

/* ── Company avatar ─────────────────────────────────────── */
.job-co-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    font-size: 19px;
    font-weight: 950;
    letter-spacing: -.02em;
    flex: 0 0 auto;
    box-shadow: 0 6px 16px rgba(0,0,0,.14);
}

/* ── Status badge colors ─────────────────────────────────── */
.job-status-badge.open {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}
.job-status-badge.expired,.job-status-badge.closed,
.job-status-badge.paused,.job-status-badge.draft {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
}

/* ── Company name in card ────────────────────────────────── */
.job-company-name {
    margin: .3rem 0 0;
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
}

/* ── Job card footer ─────────────────────────────────────── */
.job-card-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 24px;
}
.jobs-list-slot .job-card .job-card-footer {
    margin-top: auto;
    padding-top: 18px;
}

/* ── Type-filter quick chips ─────────────────────────────── */
.jobs-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.jobs-type-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid #ddd6fe;
    border-radius: 999px;
    background: #fff;
    padding: 7px 14px;
    color: #475569;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.jobs-type-chip:hover {
    border-color: #c4b5fd;
    background: #eef2ff;
    color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79,70,229,.08);
}
.jobs-type-chip.active {
    border-color: #4f46e5;
    background: linear-gradient(135deg,#4f46e5,#8b5cf6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79,70,229,.22);
}
.jobs-type-chip .chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 950;
    background: rgba(255,255,255,.25);
}
.jobs-type-chip:not(.active) .chip-count {
    background: #eef2ff;
    color: #4f46e5;
}

/* ── Empty state ─────────────────────────────────────────── */
.empty-state {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 52px 28px !important;
    border: 1.5px dashed #c7d2fe !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg,#faf8ff,#fff) !important;
}
.empty-state h3 {
    margin-bottom: 10px !important;
    color: #4f46e5 !important;
}
.empty-state p {
    max-width: 480px;
    color: #64748b !important;
    line-height: 1.7;
}

/* ── Smart match card redesign ───────────────────────────── */
.smart-match-card {
    display: grid !important;
    grid-template-columns: 54px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
    border: 1px solid #ddd6fe !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg,#f4f1ff,#fff) !important;
    padding: 12px !important;
    margin-top: 14px;
    box-shadow: none !important;
}
.smart-match-card.high {
    border-color: #bbf7d0 !important;
    background: linear-gradient(135deg,#f0fdf4,#fff) !important;
}
.smart-match-card.medium {
    border-color: #fde68a !important;
    background: linear-gradient(135deg,#fffbeb,#fff) !important;
}
.smart-match-card.low {
    border-color: #fecdd3 !important;
    background: linear-gradient(135deg,#fff1f2,#fff) !important;
}
.smart-match-card.empty {
    border-color: #e2e8f0 !important;
    background: #f8fafc !important;
}
.smart-match-score {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.85) !important;
    box-shadow: 0 2px 8px rgba(16,24,40,.07) !important;
}
.smart-match-score strong {
    font-size: 16px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    color: #4f46e5 !important;
}
.smart-match-card.high .smart-match-score strong { color: #15803d !important; }
.smart-match-card.medium .smart-match-score strong { color: #92400e !important; }
.smart-match-card.low .smart-match-score strong { color: #9f1239 !important; }
.smart-match-score span {
    font-size: 10px !important;
    font-weight: 900 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    margin-top: 2px !important;
}
.smart-match-copy strong {
    display: block;
    font-size: 13px;
    color: #141022;
    line-height: 1.3;
}
.smart-match-copy span {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.4;
}

/* ── Job detail — section cards ──────────────────────────── */
.job-section-card {
    border-color: #ddd6fe !important;
    border-radius: 18px !important;
    padding: 22px !important;
    box-shadow: 0 4px 14px rgba(16,24,40,.04) !important;
}

/* ── Info grid in detail ─────────────────────────────────── */
.info-grid .info {
    border: 1px solid #ddd6fe !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg,#faf8ff,#fff) !important;
    box-shadow: none !important;
}
.info-grid .info .tiny.muted {
    font-size: 11px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    color: #4f46e5 !important;
    margin-bottom: 5px !important;
}
.info-grid .info strong {
    font-size: 15px;
    color: #141022;
}

/* ── Company snapshot ────────────────────────────────────── */
.company-snapshot-grid div {
    border: 1px solid #ddd6fe !important;
    border-radius: 12px !important;
    background: #faf8ff !important;
    padding: 14px !important;
}
.company-snapshot-grid span {
    color: #4f46e5 !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    margin-bottom: 5px !important;
}
.company-snapshot-grid strong {
    font-size: 15px;
    color: #141022;
    font-weight: 900;
}

/* ── Apply section ───────────────────────────────────────── */
.apply-card {
    background: linear-gradient(135deg,#f4f1ff,#fff) !important;
    border: 1px solid #ddd6fe !important;
}

/* ── Similar jobs ────────────────────────────────────────── */
.similar-job-card {
    border-color: #ddd6fe !important;
    background: #faf8ff !important;
    border-radius: 14px !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
.similar-job-card:hover {
    border-color: #c4b5fd !important;
    background: #eef2ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(16,24,40,.07) !important;
}
.similar-job-card strong { color: #4f46e5; font-size: 14px; line-height: 1.3; }

/* ── Match list items ────────────────────────────────────── */
.job-match-list span {
    border-color: #ddd6fe !important;
    background: #faf8ff !important;
    color: #475569 !important;
    border-radius: 10px !important;
}
.job-match-list span.ok {
    border-color: #bbf7d0 !important;
    background: #f0fdf4 !important;
    color: #15803d !important;
}

/* ── Applied note ────────────────────────────────────────── */
.job-applied-note {
    border-color: #ddd6fe !important;
    background: linear-gradient(135deg,#f4f1ff,#fff) !important;
}

/* ── Filter panel improvements ───────────────────────────── */
.filter-head h3 { color: #141022; }
.check-item { border-radius: 10px !important; }
.check-item:hover { background: #f4f1ff !important; color: #4f46e5 !important; }
.check-item input:checked + span { color: #4f46e5 !important; }
.check-item input:checked + span::after { color: #4f46e5 !important; }

/* ── Jobs toolbar improvement ────────────────────────────── */
.jobs-toolbar > p { font-size: 14px; font-weight: 700; color: #64748b; }

/* ═══════════════════════════════════════════════════════
   DARK MODE
═══════════════════════════════════════════════════════ */
body.theme-dark .job-co-avatar { box-shadow: 0 6px 16px rgba(0,0,0,.3); }
body.theme-dark .job-company-name { color: #94a3b8; }
body.theme-dark .job-status-badge.open {
    background: #052e16 !important;
    color: #bbf7d0 !important;
    border-color: #14532d !important;
}
body.theme-dark .jobs-type-chip {
    border-color: #382a66;
    background: #141022;
    color: #cbd5e1;
}
body.theme-dark .jobs-type-chip:hover {
    background: #251c47;
    color: #ddd6fe;
    border-color: #5a4a9e;
}
body.theme-dark .jobs-type-chip.active {
    background: linear-gradient(135deg,#4338ca,#8b5cf6);
    border-color: #4338ca;
}
body.theme-dark .jobs-type-chip:not(.active) .chip-count {
    background: #251c47;
    color: #ddd6fe;
}
body.theme-dark .empty-state {
    border-color: #382a66 !important;
    background: linear-gradient(135deg,#141022,#171331) !important;
}
body.theme-dark .empty-state h3 { color: #c4b5fd !important; }
body.theme-dark .empty-state p { color: #94a3b8 !important; }
body.theme-dark .smart-match-card {
    border-color: #382a66 !important;
    background: linear-gradient(135deg,#141022,#171331) !important;
}
body.theme-dark .smart-match-card.high {
    border-color: #14532d !important;
    background: linear-gradient(135deg,#052e16,#171331) !important;
}
body.theme-dark .smart-match-card.medium {
    border-color: #451a03 !important;
    background: linear-gradient(135deg,#1c1200,#171331) !important;
}
body.theme-dark .smart-match-card.low {
    border-color: #7f1d1d !important;
    background: linear-gradient(135deg,#1f0708,#171331) !important;
}
body.theme-dark .smart-match-score {
    background: rgba(15,23,42,.8) !important;
    box-shadow: none !important;
}
body.theme-dark .smart-match-copy strong { color: #e5e7eb; }
body.theme-dark .smart-match-copy span { color: #94a3b8; }
body.theme-dark .info-grid .info {
    border-color: #382a66 !important;
    background: linear-gradient(135deg,#141022,#171331) !important;
}
body.theme-dark .info-grid .info .tiny.muted { color: #c4b5fd !important; }
body.theme-dark .info-grid .info strong { color: #e5e7eb !important; }
body.theme-dark .company-snapshot-grid div {
    border-color: #382a66 !important;
    background: #141022 !important;
}
body.theme-dark .company-snapshot-grid span { color: #c4b5fd !important; }
body.theme-dark .company-snapshot-grid strong { color: #e5e7eb !important; }
body.theme-dark .apply-card {
    background: linear-gradient(135deg,#141022,#171331) !important;
    border-color: #382a66 !important;
}
body.theme-dark .similar-job-card {
    border-color: #382a66 !important;
    background: #141022 !important;
}
body.theme-dark .similar-job-card:hover {
    border-color: #5a4a9e !important;
    background: #251c47 !important;
}
body.theme-dark .similar-job-card strong { color: #c4b5fd !important; }
body.theme-dark .job-applied-note {
    border-color: #382a66 !important;
    background: linear-gradient(135deg,#251a4d,#141022) !important;
}
body.theme-dark .job-match-list span {
    border-color: #382a66 !important;
    background: #141022 !important;
    color: #cbd5e1 !important;
}
body.theme-dark .job-match-list span.ok {
    border-color: #14532d !important;
    background: #052e16 !important;
    color: #bbf7d0 !important;
}
body.theme-dark .job-section-card {
    border-color: #382a66 !important;
    background: #171331 !important;
    box-shadow: none !important;
}
body.theme-dark .check-item:hover { background: #251c47 !important; color: #ddd6fe !important; }
body.theme-dark .check-item input:checked + span { color: #c4b5fd !important; }
body.theme-dark .check-item input:checked + span::after { color: #c4b5fd !important; }

/* ── Smart match skill pills (job card) ─────────────────── */
.smart-match-card .smart-match-pills {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}
.smp-ok, .smp-miss {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}
.smp-ok { background: #dcfce7; color: #15803d; }
.smp-ok::before { content: "✓ "; }
.smp-miss { background: #fef3c7; color: #92400e; }
.smp-miss::before { content: "✗ "; }

/* ── Job detail skill breakdown ──────────────────────────── */
.match-skill-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid #ede9fe;
    margin-top: 6px;
}
.msb-ok, .msb-miss {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}
.msb-ok { border: 1px solid #bbf7d0; background: #f0fdf4; color: #15803d; }
.msb-ok::before { content: "✓"; font-size: 11px; }
.msb-miss { border: 1px solid #fde68a; background: #fffbeb; color: #92400e; }
.msb-miss::before { content: "✗"; font-size: 11px; }

body.theme-dark .smp-ok { background: #052e16; color: #4ade80; }
body.theme-dark .smp-miss { background: #1c1408; color: #fbbf24; }
body.theme-dark .match-skill-breakdown { border-color: #382a66; }
body.theme-dark .msb-ok { border-color: #052e16; background: #0a1f0e; color: #4ade80; }
body.theme-dark .msb-miss { border-color: #451a03; background: #1c1408; color: #fbbf24; }
