/* ═══════════════════════════════════════════════════════════
   SA JobHunter — Stylesheet
   Aesthetic: GOV.UK meets LinkedIn — clean, high-trust
   ═══════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────── */
:root {
    --primary:     #1B4332;
    --primary-light:#2D6A4F;
    --primary-dark: #143526;
    --accent:      #F4A261;
    --accent-hover:#E8933A;
    --bg:          #F8F7F4;
    --surface:     #FFFFFF;
    --text:        #1A1A1A;
    --text-muted:  #6B7280;
    --text-light:  #9CA3AF;
    --success:     #2D6A4F;
    --warning:     #E9A825;
    --danger:      #C0392B;
    --border:      #E5E7EB;
    --border-light:#F3F4F6;
    --shadow-sm:   0 1px 2px rgba(0,0,0,0.05);
    --shadow:      0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:   0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --radius-sm:   4px;
    --radius:      8px;
    --radius-lg:   12px;
    --radius-full: 9999px;
    --font-body:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading:'Syne', 'DM Sans', sans-serif;
    --nav-height:  64px;
    --sidebar-width:280px;
    --mobile-nav:  56px;
}

/* ─── Reset / Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

img { max-width: 100%; display: block; }

/* ─── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--text); }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 0.75rem; }

.text-muted { color: var(--text-muted); }
.text-small { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* ─── Layout ────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.page-content {
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 2rem;
    min-height: calc(100vh - var(--nav-height));
}

.layout-sidebar {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 1.5rem;
    align-items: start;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* ─── Header / Nav ──────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: var(--primary);
    color: #fff;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.nav-logo span { color: var(--accent); }

.nav-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.nav-search input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    outline: none;
    transition: background 0.2s;
}

.nav-search input::placeholder { color: rgba(255,255,255,0.6); }
.nav-search input:focus { background: rgba(255,255,255,0.25); }

.nav-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.15); }

.nav-cta {
    background: var(--accent) !important;
    color: var(--text) !important;
    font-weight: 600;
    padding: 0.4rem 1rem !important;
    border-radius: var(--radius-full) !important;
}

.nav-cta:hover { background: var(--accent-hover) !important; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1.4;
}

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

.btn-accent { background: var(--accent); color: var(--text); }
.btn-accent:hover { background: var(--accent-hover); }

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

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #A93226; color: #fff; }

.btn-sm { padding: 0.3rem 0.75rem; font-size: 0.8rem; }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ─── Forms ─────────────────────────────────────────────── */
.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text);
    background: var(--surface);
    transition: border-color 0.2s;
}

.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,67,50,0.1); }
.form-control::placeholder { color: var(--text-light); }

textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 0.25rem; }
.form-hint { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.25rem; }

/* ─── Cards ─────────────────────────────────────────────── */
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.card:hover { box-shadow: var(--shadow-md); }
.card-body { padding: 1.25rem; }

/* ─── Job Card ──────────────────────────────────────────── */
.job-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--success);
    padding: 1.25rem;
    transition: box-shadow 0.2s, transform 0.15s;
    position: relative;
}

.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.job-card.trust-suspicious { border-left-color: var(--warning); }
.job-card.trust-flagged { border-left-color: var(--danger); }

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.job-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}

.job-card-title a { color: inherit; }
.job-card-title a:hover { color: var(--primary); }

.job-card-company {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

.job-card-salary {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.job-card-time { font-size: 0.8rem; color: var(--text-light); }

.job-card-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

/* ─── Badges & Pills ────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.badge-safe { background: #DEF7EC; color: #03543F; }
.badge-suspicious { background: #FEF3C7; color: #92400E; }
.badge-flagged { background: #FEE2E2; color: #991B1B; }

.badge-province { background: #DBEAFE; color: #1E40AF; }
.badge-sector { background: #F3E8FF; color: #6B21A8; }
.badge-contract { background: #E0E7FF; color: #3730A3; }

.pill {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 500;
    background: var(--border-light);
    color: var(--text-muted);
}

/* ─── Trust Badge (Large) ───────────────────────────────── */
.trust-badge-lg {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
}

.trust-badge-lg.safe { background: #DEF7EC; color: #03543F; }
.trust-badge-lg.suspicious { background: #FEF3C7; color: #92400E; }
.trust-badge-lg.flagged { background: #FEE2E2; color: #991B1B; }

/* ─── Filter Sidebar ────────────────────────────────────── */
.filter-sidebar {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 1.25rem;
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
}

.filter-section { margin-bottom: 1.25rem; }
.filter-section:last-child { margin-bottom: 0; }

.filter-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font-size: 0.875rem;
    cursor: pointer;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    accent-color: var(--primary);
}

.filter-toggle-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.filter-toggle {
    padding: 0.3rem 0.7rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    cursor: pointer;
    background: none;
    color: var(--text-muted);
    transition: all 0.2s;
}

.filter-toggle.active,
.filter-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(27,67,50,0.05);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

/* ─── Hero Section ──────────────────────────────────────── */
.hero {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    margin: calc(-1 * var(--nav-height) - 1.5rem) -1rem 1.5rem;
    padding-top: calc(var(--nav-height) + 2.5rem);
}

.hero h1 { color: #fff; font-size: 2.25rem; margin-bottom: 0.5rem; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 1.5rem; }

.hero-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 0.5rem;
}

.hero-search input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    background: #fff;
    color: var(--text);
}

.hero-search input:focus { outline: 2px solid var(--accent); }

.hero-search select {
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    min-width: 140px;
}

.hero-stat {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.hero-stat strong { color: var(--accent); }

/* ─── Job List ──────────────────────────────────────────── */
.job-list { display: flex; flex-direction: column; gap: 0.75rem; }

.job-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.job-list-header h2 { font-size: 1.1rem; }
.job-list-count { font-size: 0.875rem; color: var(--text-muted); }

.load-more {
    text-align: center;
    padding: 1.5rem 0;
}

/* ─── Mobile Filter Drawer ──────────────────────────────── */
.filter-drawer-toggle {
    display: none;
    width: 100%;
    margin-bottom: 1rem;
}

.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 200;
}

.filter-overlay.active { display: block; }

/* ─── Application Tracker (Kanban) ──────────────────────── */
.kanban {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    min-height: 400px;
}

.kanban-column {
    flex: 0 0 220px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    border: 2px dashed transparent;
    transition: border-color 0.2s;
}

.kanban-column.drag-over { border-color: var(--primary); background: rgba(27,67,50,0.03); }

.kanban-column-header {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kanban-count {
    background: var(--border);
    color: var(--text-muted);
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-full);
}

.kanban-cards { display: flex; flex-direction: column; gap: 0.5rem; min-height: 60px; }

.kanban-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 0.75rem;
    box-shadow: var(--shadow-sm);
    cursor: grab;
    transition: box-shadow 0.2s;
    border: 1px solid var(--border-light);
    font-size: 0.85rem;
}

.kanban-card:active { cursor: grabbing; }
.kanban-card.dragging { opacity: 0.5; }
.kanban-card:hover { box-shadow: var(--shadow); }

.kanban-card-title { font-weight: 600; margin-bottom: 0.25rem; }
.kanban-card-company { color: var(--text-muted); font-size: 0.8rem; }

/* ─── Tabs ──────────────────────────────────────────────── */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.5rem;
}

.tab {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ─── AI Responder ──────────────────────────────────────── */
.ai-output {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-height: 200px;
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: pre-wrap;
}

.ai-output .cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--primary);
    animation: blink 1s infinite;
    vertical-align: text-bottom;
}

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

.ai-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* ─── Toast Notifications ───────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.toast {
    background: var(--text);
    color: #fff;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
}

@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-10px); } }

/* ─── Modal ─────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 500;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-header h3 { margin: 0; }

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.25rem;
}

/* ─── Pricing Card ──────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
}

.pricing-card.featured { border-color: var(--accent); }

.pricing-card h3 { margin-bottom: 0.5rem; }

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0 0.25rem;
}

.pricing-period { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.pricing-features li::before { content: '\2713'; color: var(--success); font-weight: 700; }
.pricing-features li.disabled { color: var(--text-light); }
.pricing-features li.disabled::before { content: '\2717'; color: var(--text-light); }

/* ─── Footer ────────────────────────────────────────────── */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
    margin-top: 3rem;
    font-size: 0.85rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer a { color: rgba(255,255,255,0.85); }
.footer a:hover { color: #fff; }

.footer-links { display: flex; gap: 1.5rem; }

/* ─── Mobile Bottom Nav ─────────────────────────────────── */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--mobile-nav);
    background: var(--surface);
    border-top: 1px solid var(--border);
    z-index: 100;
}

.mobile-nav-inner {
    display: flex;
    height: 100%;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-nav-item.active { color: var(--primary); }
.mobile-nav-item:hover { color: var(--primary); }
.mobile-nav-icon { font-size: 1.25rem; }

/* ─── Alert / Message Boxes ─────────────────────────────── */
.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.alert-success { background: #DEF7EC; color: #03543F; }
.alert-warning { background: #FEF3C7; color: #92400E; }
.alert-danger { background: #FEE2E2; color: #991B1B; }
.alert-info { background: #DBEAFE; color: #1E40AF; }

/* ─── Empty State ───────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { color: var(--text); margin-bottom: 0.5rem; }

/* ─── Skeleton Loading ──────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, var(--border-light) 25%, #e5e7eb 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.skeleton-title { height: 1.2rem; width: 70%; margin-bottom: 0.5rem; }
.skeleton-text { height: 0.9rem; width: 90%; margin-bottom: 0.4rem; }
.skeleton-badge { height: 1.5rem; width: 80px; border-radius: var(--radius-full); }

/* ─── Utilities ─────────────────────────────────────────── */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .layout-sidebar {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: fixed;
        top: 0; left: -100%; bottom: 0;
        width: 85%;
        max-width: 320px;
        z-index: 250;
        border-radius: 0;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
    }

    .filter-sidebar.open { left: 0; }

    .filter-drawer-toggle { display: flex; }

    .nav-search { display: none; }

    .nav-links { gap: 0.25rem; }
    .nav-links .hide-mobile { display: none; }

    .hero h1 { font-size: 1.75rem; }

    .hero-search { flex-direction: column; }
    .hero-search select { min-width: auto; }

    .mobile-nav { display: block; }

    .page-content { padding-bottom: calc(var(--mobile-nav) + 1rem); }
    .footer { margin-bottom: var(--mobile-nav); }

    .pricing-grid { grid-template-columns: 1fr; }

    .kanban { gap: 0.75rem; }
    .kanban-column { flex: 0 0 200px; }
}

@media (max-width: 480px) {
    .container { padding: 0 0.75rem; }
    .job-card { padding: 1rem; }
    .hero { padding-left: 0.75rem; padding-right: 0.75rem; }
    h1 { font-size: 1.5rem; }
}
