/* NLnest Theme — Modern 2026 Apple-Style Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --orange: #FF6B00;
    --orange-hover: #e55f00;
    --orange-light: #fff4ec;
    --orange-mid: #ffe0cc;
    --navy: #1B2A4A;
    --navy-dark: #131f37;
    --navy-light: #2a3f6a;

    /* Gray Scale */
    --gray-50: #f8f9fb;
    --gray-100: #f1f3f7;
    --gray-200: #e4e8ef;
    --gray-300: #d0d7e3;
    --gray-400: #a8b2c4;
    --gray-500: #6b7a99;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #0f1623;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.09), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-orange: 0 4px 20px rgba(255,107,0,0.25);
    --shadow-navy: 0 4px 20px rgba(27,42,74,0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ── */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-700);
    background-color: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

footer { margin-top: auto; }

a { color: var(--orange); transition: color var(--transition); }
a:hover { color: var(--orange-hover); }

/* ── Navbar ── */
.bg-navy {
    background-color: var(--navy) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.82);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.text-orange { color: var(--orange) !important; }
.text-navy { color: var(--navy) !important; }

/* ── Buttons ── */
.btn-orange {
    background: linear-gradient(135deg, #FF7A1A 0%, #FF6B00 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.5rem 1.25rem;
    box-shadow: var(--shadow-orange);
    transition: all var(--transition);
    letter-spacing: -0.01em;
}
.btn-orange:hover, .btn-orange:focus {
    background: linear-gradient(135deg, #FF8C35 0%, #FF7A1A 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255,107,0,0.35);
}
.btn-orange:active {
    transform: translateY(0);
    box-shadow: var(--shadow-orange);
}
.btn-outline-orange {
    border: 1.5px solid var(--orange);
    color: var(--orange);
    background: transparent;
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.5rem 1.25rem;
    transition: all var(--transition);
}
.btn-outline-orange:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-orange);
}
.btn-navy {
    background: linear-gradient(135deg, #2a3f6a 0%, #1B2A4A 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.5rem 1.25rem;
    box-shadow: var(--shadow-navy);
    transition: all var(--transition);
}
.btn-navy:hover {
    background: linear-gradient(135deg, #344e82 0%, #2a3f6a 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(27,42,74,0.35);
}
.bg-orange { background-color: var(--orange) !important; }
.bg-orange-light { background-color: var(--orange-light) !important; }

/* ── Hero Section ── */
/* ── Hero V2 (Apple-like) ── */
.hero-v2 {
    background: linear-gradient(160deg, #0d1b2e 0%, var(--navy) 40%, #1a3155 70%, #162744 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    text-align: center;
}
.hero-v2-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-v2-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.hero-v2-glow--1 {
    width: 600px; height: 600px;
    top: -30%; right: -10%;
    background: radial-gradient(circle, rgba(255,107,0,0.14) 0%, transparent 70%);
}
.hero-v2-glow--2 {
    width: 400px; height: 400px;
    bottom: -20%; left: -5%;
    background: radial-gradient(circle, rgba(100,160,255,0.08) 0%, transparent 70%);
}
.hero-v2 .container { position: relative; z-index: 1; }
.hero-v2-inner { max-width: 780px; margin: 0 auto; }

.hero-v2-badge {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.85);
}
.hero-v2-title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 18px;
}
.hero-v2-sub {
    font-size: 1.15rem;
    opacity: 0.7;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Search bar — glass pill */
.hero-v2-search {
    margin-bottom: 32px;
    position: relative;
    z-index: 10;
}
.hero-v2-search-inner {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    gap: 0;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-v2-search-inner:focus-within {
    border-color: rgba(255,107,0,0.5);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.12), 0 8px 32px rgba(0,0,0,0.2);
}
.hero-v2-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.hero-v2-field i {
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
    flex-shrink: 0;
}
.hero-v2-field input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    width: 100%;
    padding: 10px 0;
}
.hero-v2-field input::placeholder { color: rgba(255,255,255,0.4); }
.hero-v2-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
    margin: 0 16px;
}
.hero-v2-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.hero-v2-btn:hover {
    background: #e05e00;
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(255,107,0,0.35);
}
.hero-v2-btn:active { transform: scale(0.98); }
.hero-v2-btn i { font-size: 1.1rem; }

/* Trust chips */
.hero-v2-trust {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hero-v2-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.hero-v2-chip i { font-size: 0.85rem; color: var(--orange); }

/* Hero city SearchableSelect — glass override */
/* City field + trigger: inline in the search bar */
.hero-v2-field--keyword { flex: 1.6; }
.hero-v2-field--city { position: static; flex: 0.6; }
.hero-v2-city-select { flex: 1; min-width: 0; }
.hero-v2-city-select.searchable-select { position: static; }
.hero-v2-city-select .searchable-select-trigger {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 0;
    min-height: auto;
    font-size: 0.95rem;
    gap: 6px;
    border-radius: 0;
}
.hero-v2-city-select .searchable-select-trigger:hover { border-color: transparent; }
.hero-v2-city-select .searchable-select-trigger .ss-text { color: #fff; }
.hero-v2-city-select .searchable-select-trigger .ss-placeholder { color: rgba(255,255,255,0.4); }
.hero-v2-city-select .searchable-select-trigger .ss-arrow { display: none; }

/* Dropdown: positioned relative to .hero-v2-search (the form), not the field */
.hero-v2-city-select .searchable-select-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 340px;
    max-height: 320px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(16,28,48,0.97);
    backdrop-filter: blur(24px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.45);
    z-index: 1060;
}
.hero-v2-city-select .searchable-select-search {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-v2-city-select .searchable-select-search input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    width: 100%;
}
.hero-v2-city-select .searchable-select-search input::placeholder { color: rgba(255,255,255,0.35); }
.hero-v2-city-select .searchable-select-search input:focus { border-color: var(--orange); outline: none; }
.hero-v2-city-select .searchable-select-list { max-height: 240px; overflow-y: auto; }
.hero-v2-city-select .searchable-select-item {
    color: rgba(255,255,255,0.8);
    padding: 10px 16px;
    font-size: 0.9rem;
}
.hero-v2-city-select .searchable-select-item:hover,
.hero-v2-city-select .searchable-select-item.highlighted { background: rgba(255,107,0,0.15); color: #fff; }
.hero-v2-city-select .searchable-select-item.selected { background: rgba(255,107,0,0.2); color: #fff; font-weight: 600; }
.hero-v2-city-select .searchable-select-empty { color: rgba(255,255,255,0.35); padding: 16px; text-align: center; }

/* Hero responsive */
@media (max-width: 767.98px) {
    .hero-v2 { padding: 70px 0 50px; }
    .hero-v2-title { font-size: 2rem; letter-spacing: -0.02em; }
    .hero-v2-sub { font-size: 0.95rem; margin-bottom: 28px; }
    .hero-v2-search-inner {
        flex-direction: column;
        border-radius: 20px;
        padding: 12px;
        gap: 0;
    }
    .hero-v2-field { width: 100%; padding: 6px 8px; }
    .hero-v2-field--city { padding-left: 8px; }
    .hero-v2-city-icon { position: static; transform: none; }
    .hero-v2-divider { width: 100%; height: 1px; margin: 4px 0; }
    .hero-v2-btn {
        width: 100%;
        justify-content: center;
        border-radius: 14px;
        padding: 14px;
        margin-top: 4px;
        margin-left: 0;
    }
    .hero-v2-chip { font-size: 0.72rem; padding: 5px 12px; }
    .hero-v2-city-select .searchable-select-dropdown {
        left: 0;
        right: 0;
        transform: none;
        width: auto;
        border-radius: 14px;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-v2-title { font-size: 2.6rem; }
    .hero-v2-field--city { max-width: 200px; }
}

/* ── Cards ── */
.job-card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    background: #fff;
}
.row .col-md-6 .job-card,
.row .col-lg-3 .job-card { height: 100%; }
.job-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.job-card .card-body { padding: 1.5rem; }
.job-card .job-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color var(--transition);
}
.job-card .job-title:hover { color: var(--orange); }
.job-card .company-name {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}
.job-card .job-meta {
    font-size: 0.825rem;
    color: var(--gray-400);
}
.job-card .badge { font-size: 0.75rem; font-weight: 600; }

.company-card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    background: #fff;
    transition: all var(--transition);
}
.company-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-md);
}
.company-logo-sm {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.company-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--orange);
}
.company-logo-placeholder-sm {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--orange);
}

/* ── Sector Cards ── */
.sector-card {
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    background: #fff;
    border: none;
    box-shadow: var(--shadow-sm);
}
.sector-card:hover {
    background: var(--orange-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.sector-card i {
    font-size: 2.2rem;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

/* ── How It Works Steps ── */
.step-card {
    text-align: center;
    padding: 2rem 1rem;
}
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF7A1A 0%, #FF6B00 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-orange);
}

@media (max-width: 991.98px) {
    .step-card { padding: 1.25rem 0.75rem; }
    .step-number { width: 44px; height: 44px; font-size: 1.1rem; }
}

/* ── Stats ── */
.stat-box {
    text-align: center;
    padding: 1.5rem;
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: -0.03em;
    line-height: 1;
}
.stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* ── Dashboard Sidebar ── */
.sidebar-nav {
    background: #fff;
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.sidebar-nav .nav-link {
    padding: .45rem 1rem;
    color: var(--gray-600);
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: .85rem;
    transition: all var(--transition);
}
.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background: var(--orange-light);
    color: var(--orange);
    border-left-color: var(--orange);
}

/* ── Profile Wizard ── */
.profile-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}
.profile-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #999;
    font-size: 0.875rem;
    position: relative;
}
.profile-step { color: var(--gray-500); cursor: pointer; transition: color var(--transition); }
.profile-step:hover { color: var(--orange); }
.profile-step.active { color: var(--orange); font-weight: 600; }
.profile-step.completed { color: #22c55e; }
.profile-step.completed:hover { color: #16a34a; }
.profile-step::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--gray-200);
    margin-left: 0.5rem;
    border-radius: 1px;
}
.profile-step:last-child::after { display: none; }
.profile-step.completed::after { background: #22c55e; }
.profile-step.active::after { background: var(--orange); }

/* ── Badges ── */
.badge-featured {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #4a2e00;
    font-weight: 700;
    border-radius: var(--radius-full);
}
.badge-status {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* ── Filters Sidebar ── */
.filter-card {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.filter-card h6 {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Misc ── */
.section-title {
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), #FF9A56);
    margin-top: 0.6rem;
    border-radius: 2px;
}
.page-header {
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 55%, #1e3560 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,107,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.page-header h1 {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.02em;
    position: relative;
}

/* ── Cookie Consent ── */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: white;
    z-index: 9999;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}

/* ── Auth Pages ── */
.auth-card {
    max-width: 500px;
    margin: 2rem auto;
    border: none;
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    background: #fff;
    box-shadow: var(--shadow-xl);
}
.auth-card .form-label { margin-bottom: 0.25rem; }
.auth-tabs .nav-link {
    color: var(--gray-500);
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    transition: all var(--transition);
}
.auth-tabs .nav-link.active {
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
    background: none;
}

/* ── Job Detail ── */
.job-detail-header {
    background: var(--orange-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.job-detail-sidebar {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

/* ── Tables ── */
.table-hover tbody tr:hover {
    background-color: var(--orange-light);
}
.table thead th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    border-bottom-width: 1px;
}

/* ── Admin Stats Cards ── */
.admin-stat-card {
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.admin-stat-card i.bg-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 5rem;
    opacity: 0.12;
}

/* ── Form Controls ── */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-200);
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    background-color: #fff;
    transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
    outline: none;
}
.form-control::placeholder { color: var(--gray-400); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .stat-number { font-size: 2rem; }
    .profile-steps { flex-wrap: wrap; }
    .profile-step::after { display: none; }
}

/* ── Searchable Select ── */
.searchable-select { position: relative; }
.searchable-select-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 0.9rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    min-height: 42px;
    font-size: 0.875rem;
    transition: border-color var(--transition);
}
.searchable-select-trigger:hover { border-color: var(--gray-400); }
.searchable-select-trigger .ss-flag { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; }
.searchable-select-trigger .ss-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.searchable-select-trigger .ss-arrow { font-size: 0.7rem; color: var(--gray-400); transition: transform 0.2s; }
.searchable-select.open .ss-arrow { transform: rotate(180deg); }
.searchable-select-trigger .ss-placeholder { color: var(--gray-400); }
.searchable-select-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-lg);
    max-height: 280px;
    overflow: hidden;
    flex-direction: column;
}
.searchable-select.open .searchable-select-dropdown { display: flex; }
.searchable-select-search {
    padding: 8px;
    border-bottom: 1px solid var(--gray-100);
    flex-shrink: 0;
}
.searchable-select-search input {
    width: 100%;
    border: 1.5px solid var(--gray-200);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color var(--transition);
}
.searchable-select-search input:focus { border-color: var(--orange); }
.searchable-select-list {
    overflow-y: auto;
    flex: 1;
    max-height: 230px;
}
.searchable-select-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background var(--transition);
}
.searchable-select-item:hover,
.searchable-select-item.highlighted { background: var(--orange-light); }
.searchable-select-item.selected { background: var(--orange-light); font-weight: 600; }
.searchable-select-item .ss-flag { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; }
.searchable-select-item .ss-prefix { color: var(--gray-400); font-size: 0.8rem; min-width: 50px; }
.searchable-select-empty {
    padding: 12px;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.85rem;
}

/* ── Phone Prefix Selector ── */
.phone-input-group { display: flex; gap: 0; }
.phone-input-group .phone-prefix-selector {
    width: 140px;
    flex-shrink: 0;
}
.phone-input-group .phone-prefix-selector .searchable-select-trigger {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    border-right: none;
}
.phone-input-group .phone-number-input {
    flex: 1;
    min-width: 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Phone Groups by Office ── */
.phone-group-card .phone-row {
    flex-wrap: nowrap;
}
.phone-group-card .phone-input-group .phone-prefix-selector {
    width: 110px;
}
@media (max-width: 575.98px) {
    .phone-group-card .phone-input-group .phone-prefix-selector {
        width: 85px;
    }
    .phone-group-card .phone-input-group .phone-prefix-selector .searchable-select-trigger {
        font-size: .8rem;
        padding: .25rem .35rem;
    }
}

/* ── Verify Page ── */
.verify-card {
    max-width: 480px;
    margin: 3rem auto;
    border: none;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    background: #fff;
    box-shadow: var(--shadow-xl);
    text-align: center;
}
.verify-code-input {
    font-size: 2rem;
    letter-spacing: 0.5em;
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
    font-weight: 700;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}
.verify-code-input::placeholder { letter-spacing: 0.3em; font-weight: 400; color: var(--gray-300); }

/* Verification banner */
.verify-banner {
    background: #fff3cd;
    border-bottom: 1px solid #ffc107;
    padding: 10px 0;
}
.verify-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* Salary input group */
.salary-input-group {
    position: relative;
}
.salary-input-group .form-control {
    padding-left: 2rem;
}
.salary-input-group .salary-prefix {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: 600;
    z-index: 2;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   PROFESSIONAL UI ENHANCEMENTS
   ═══════════════════════════════════════════ */

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger-children > * { transition-delay: calc(var(--i, 0) * 0.08s); }

/* Smooth global transitions */
a, .btn, .card, .nav-link, .form-control, .form-select, .badge {
    transition: all 0.2s ease;
}

/* Enhanced card hover effects */
.card {
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* Glassmorphism effect */
.glass {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--orange) 0%, #FF9A56 50%, var(--navy) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button loading state */
.btn.loading {
    pointer-events: none;
    opacity: 0.8;
    position: relative;
}
.btn.loading .btn-text { visibility: hidden; }
.btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* Pulse animation for badges */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,107,0,0.4); }
    70% { box-shadow: 0 0 0 8px rgba(255,107,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,107,0,0); }
}
.badge-pulse { animation: pulse 2s infinite; }

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-wave 1.5s ease-in-out infinite;
    border-radius: 6px;
}
@keyframes skeleton-wave {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 20px; width: 60%; margin-bottom: 12px; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; }
.skeleton-card { height: 200px; }

/* Back to Top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255,107,0,0.3);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,0,0.4);
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
}
.empty-state-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
    display: block;
}
.empty-state h5 { color: #666; margin-bottom: 0.5rem; }
.empty-state p { max-width: 400px; margin: 0 auto 1.5rem; }

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast-item {
    background: #fff;
    border-radius: 10px;
    border-left: 4px solid #ccc;
    padding: 12px 14px 12px 16px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 1px 6px rgba(0,0,0,0.06);
    max-width: 340px;
    min-width: 240px;
    color: #333;
    animation: toast-in 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: all;
    position: relative;
    overflow: hidden;
}
.toast-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: currentColor;
    opacity: 0.15;
    transform-origin: left;
    animation: toast-timer 3s linear forwards;
}
.toast-item .toast-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1;
}
.toast-item .toast-message {
    flex: 1;
    line-height: 1.4;
    word-break: break-word;
}
.toast-item .toast-close {
    background: none;
    border: none;
    padding: 0 0 0 6px;
    cursor: pointer;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color .15s;
}
.toast-item .toast-close:hover { color: #555; }
.toast-item.toast-success { border-left-color: #22c55e; }
.toast-item.toast-success .toast-icon { color: #22c55e; }
.toast-item.toast-danger { border-left-color: #ef4444; }
.toast-item.toast-danger .toast-icon { color: #ef4444; }
.toast-item.toast-warning { border-left-color: #f59e0b; }
.toast-item.toast-warning .toast-icon { color: #f59e0b; }
.toast-item.toast-info { border-left-color: var(--navy, #1a2e4a); }
.toast-item.toast-info .toast-icon { color: var(--navy, #1a2e4a); }
.toast-item.toast-out {
    animation: toast-out 0.3s ease forwards;
}
@keyframes toast-in {
    from { opacity: 0; transform: translateX(calc(100% + 24px)); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
    from { opacity: 1; transform: translateX(0);              max-height: 80px; margin-bottom: 0; }
    to   { opacity: 0; transform: translateX(calc(100% + 24px)); max-height: 0;   margin-bottom: -10px; }
}
@keyframes toast-timer {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

/* Stats counter animation */
.stat-number[data-count] {
    display: inline-block;
}


/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 4rem;
    color: var(--orange);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange-light);
}
.testimonial-stars { color: #ffc107; }

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.85rem;
}
.trust-badge i {
    font-size: 1.5rem;
    color: var(--navy);
}

/* Newsletter section */
.newsletter-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: white;
    padding: 3rem 0;
}
.newsletter-section .form-control {
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}
.newsletter-section .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 2rem;
}

/* Notification bell */
.notification-bell {
    position: relative;
    cursor: pointer;
}
.notification-bell .badge {
    position: absolute;
    top: -4px;
    right: -6px;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}
.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 340px;
    max-height: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    display: none;
    z-index: 1060;
}
.notification-dropdown.show { display: block; animation: toast-in 0.2s ease; }
.notification-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
}
.notification-dropdown-body {
    max-height: 320px;
    overflow-y: auto;
}
.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    gap: 12px;
    transition: background 0.15s;
    cursor: pointer;
    font-size: 0.85rem;
}
.notification-item:hover { background: #fafafa; }
.notification-item.unread { background: var(--orange-light); }
.notification-item .notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}
.notification-item .notif-text { flex: 1; }
.notification-item .notif-time { color: #999; font-size: 0.75rem; }

/* Saved job heart */
.save-job-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #ccc;
    transition: all 0.3s ease;
    padding: 4px;
}
.save-job-btn:hover { color: #ff4757; transform: scale(1.2); }
.save-job-btn.saved { color: #ff4757; }
.save-job-btn.saved i { animation: heart-pop 0.4s ease; }
@keyframes heart-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Profile strength ring */
.profile-strength {
    position: relative;
    width: 120px;
    height: 120px;
}
.profile-strength svg {
    transform: rotate(-90deg);
}
.profile-strength-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.profile-strength-pct {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}
.profile-strength-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
}

/* Profile strength checklist */
.strength-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.strength-checklist li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
}
.strength-checklist li:last-child { border-bottom: none; }
.strength-checklist .check-done { color: #28a745; }
.strength-checklist .check-missing { color: #ddd; }

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 0.75rem 0;
    font-size: 0.85rem;
}
.breadcrumb-nav ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.breadcrumb-nav li { display: flex; align-items: center; }
.breadcrumb-nav li + li::before {
    content: '/';
    padding: 0 0.5rem;
    color: #ccc;
}
.breadcrumb-nav a { color: #888; text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--orange); }
.breadcrumb-nav .active { color: var(--navy); font-weight: 500; }

/* Enhanced footer */
footer.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    padding-top: 4rem;
}
footer.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer.site-footer a:hover { color: var(--orange); }
footer .footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
footer .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    font-size: 1rem;
}
footer .footer-social a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: translateY(-3px);
}
footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
}
footer .footer-newsletter .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
}
footer .footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.4); }
footer .footer-newsletter .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--orange);
    box-shadow: none;
}
footer .footer-newsletter .btn {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
}

/* Enhanced form focus */
.form-control:focus, .form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

/* Tag pill style */
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Section divider */
.section-divider {
    text-align: center;
    position: relative;
    margin: 3rem 0;
}
.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
}
.section-divider span {
    position: relative;
    background: #fff;
    padding: 0 1.5rem;
    color: #999;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced responsive */
@media (max-width: 768px) {
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
    .notification-dropdown { width: 300px; right: -60px; }
    .trust-badges { gap: 1rem; }
    .testimonial-card { padding: 1.5rem; }
    .toast-container { right: 12px; left: 12px; }
    .toast-item { max-width: 100%; min-width: 0; }
}

/* ═══════════════════════════════════════════
   DASHBOARD COMPONENTS
   ═══════════════════════════════════════════ */

/* Dashboard Banner */
.dashboard-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--orange) 100%);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.dashboard-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
}
.dashboard-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: rgba(255,107,0,.15);
    border-radius: 50%;
}
.dashboard-banner .banner-content { position: relative; z-index: 1; }
.dashboard-banner h2 { font-weight: 700; margin-bottom: .25rem; font-size: 1.4rem; word-break: break-word; }
.dashboard-banner .subtitle { opacity: .85; font-size: .95rem; }
.dashboard-banner .avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.3);
    object-fit: cover;
}
.dashboard-banner .avatar-initials-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 3px solid rgba(255,255,255,.3);
}
.dashboard-banner .badge-strength {
    background: rgba(255,255,255,.2);
    padding: .35rem .75rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 500;
}

/* Pipeline */
.pipeline {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding-bottom: .5rem;
    margin-bottom: 1.5rem;
}
.pipeline-stage {
    flex: 1;
    min-width: 110px;
    text-align: center;
    padding: 1rem .5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit;
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    margin-right: -1px;
}
.pipeline-stage:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    z-index: 2;
    color: inherit;
}
.pipeline-stage:first-child { border-radius: 12px 0 0 12px; }
.pipeline-stage:last-child { border-radius: 0 12px 12px 0; margin-right: 0; }
.pipeline-stage .stage-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: .5rem;
}
.pipeline-stage .stage-count {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}
.pipeline-stage .stage-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #888;
    margin-top: .25rem;
}
.pipeline-stage .stage-connector {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    z-index: 3;
    font-size: .7rem;
}

/* Stage colors */
.stage-new .stage-icon { background: #e8f0fe; color: #1a73e8; }
.stage-reviewed .stage-icon { background: #e8f5f0; color: #0d9488; }
.stage-shortlisted .stage-icon { background: #fef3cd; color: #b45309; }
.stage-interview .stage-icon { background: #f3e8ff; color: #7c3aed; }
.stage-offered .stage-icon { background: #fff3e8; color: #ea580c; }
.stage-hired .stage-icon { background: #dcfce7; color: #16a34a; }
.stage-rejected .stage-icon { background: #fee2e2; color: #dc2626; }

/* Stats Row */
.dash-stat {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.25rem;
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.dash-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}
.dash-stat .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.dash-stat .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--navy);
}
.dash-stat .stat-label {
    font-size: .8rem;
    color: #888;
    margin-top: .15rem;
}

/* Activity Timeline */
.activity-timeline { position: relative; padding-left: 2rem; }
.activity-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
}
.timeline-item {
    position: relative;
    padding-bottom: 1.25rem;
    padding-left: .75rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    color: #fff;
    z-index: 1;
}
.timeline-item .timeline-title {
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .1rem;
}
.timeline-item .timeline-body {
    font-size: .82rem;
    color: #666;
}
.timeline-item .timeline-time {
    font-size: .75rem;
    color: #999;
}

/* Mini Chart */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 80px;
    padding: .5rem 0;
}
.mini-chart-bar {
    flex: 1;
    min-width: 4px;
    background: var(--orange);
    border-radius: 2px 2px 0 0;
    opacity: .7;
    transition: opacity .2s, transform .2s;
    position: relative;
    cursor: pointer;
}
.mini-chart-bar:hover {
    opacity: 1;
    transform: scaleY(1.1);
}
.mini-chart-bar .chart-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: #fff;
    padding: .2rem .5rem;
    border-radius: 4px;
    font-size: .7rem;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 4px;
}
.mini-chart-bar:hover .chart-tooltip { display: block; }

/* Match Score Badge */
.match-score {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .2rem .5rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
}
.match-score.match-high { background: #dcfce7; color: #16a34a; }
.match-score.match-medium { background: #fef3cd; color: #b45309; }
.match-score.match-low { background: #fee2e2; color: #dc2626; }

/* Avatar Initials */
.avatar-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .85rem;
    color: #fff;
    flex-shrink: 0;
}

/* Quick action buttons in banner */
.quick-actions .btn {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: .85rem;
    padding: .4rem 1rem;
    border-radius: 8px;
    transition: background .2s;
}
.quick-actions .btn:hover {
    background: rgba(255,255,255,.25);
    color: #fff;
}

/* Pulse badge for new items */
.pulse-badge {
    position: relative;
}
.pulse-badge::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: .5; }
}

/* Recommended job card */
.recommended-job {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem;
    transition: box-shadow .2s;
    background: #fff;
}
.recommended-job:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

/* Section card with title */
.dash-section .card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}
.dash-section .card-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 1.25rem;
}
.dash-section .card-header h5,
.dash-section .card-header h6 {
    font-weight: 600;
    color: var(--navy);
}

/* Profile tip cards */
.profile-tip {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: .5rem;
    font-size: .85rem;
    transition: background .2s;
}
.profile-tip:hover { background: #f0f1f3; }
.profile-tip .tip-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}

/* Company status badges */
.status-quick-btn {
    padding: .2rem .5rem;
    font-size: .7rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: all .2s;
}
.status-quick-btn:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

/* Dashboard responsive */
@media (max-width: 991px) {
    .pipeline {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: .5rem;
    }
    .pipeline-stage {
        min-width: 0;
        border-radius: 10px !important;
        margin-right: 0;
    }
    .pipeline-stage .stage-connector { display: none !important; }
}
@media (max-width: 768px) {
    .dashboard-banner { padding: 1.5rem; }
    .dashboard-banner { padding: 1.25rem; }
    .dashboard-banner h2 { font-size: 1.15rem; }
    .dash-stat .stat-value { font-size: 1.4rem; }
}
@media (max-width: 576px) {
    .pipeline {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .pipeline-stage .stage-icon { width: 32px; height: 32px; font-size: .85rem; }
    .pipeline-stage .stage-count { font-size: 1.1rem; }
    .pipeline-stage .stage-label { font-size: .62rem; }
    .pipeline-stage { padding: .6rem .3rem; }
    .dashboard-banner { padding: 1rem; }
    .dashboard-banner h2 { font-size: 1.05rem; }
    .dashboard-banner .avatar-lg,
    .dashboard-banner .avatar-initials-lg { width: 48px; height: 48px; font-size: 1.1rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ═══════════════════════════════════════════
   CRM MODULE STYLES
   ═══════════════════════════════════════════ */

/* CRM Sidebar */
.crm-sidebar { margin-bottom: 1rem; }
.crm-sidebar .sidebar-nav .nav-link { font-size: .85rem; padding: .6rem 1rem; }
.crm-sidebar .sidebar-nav .nav-link i { width: 20px; text-align: center; }
.crm-sidebar .sidebar-header {
    padding: .75rem 1rem;
    font-weight: 700;
    color: var(--navy);
    font-size: .9rem;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

/* Kanban Board */
.kanban-board {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 1rem;
    min-height: 500px;
    align-items: flex-start;
}
.kanban-column {
    min-width: 280px;
    max-width: 320px;
    flex-shrink: 0;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.kanban-column-header {
    padding: .75rem 1rem;
    font-weight: 600;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid;
}
.kanban-column-header .count {
    background: rgba(0,0,0,.1);
    padding: .15rem .5rem;
    border-radius: 20px;
    font-size: .75rem;
}
.kanban-column-body {
    padding: .5rem;
    flex: 1;
    min-height: 100px;
    max-height: 70vh;
    overflow-y: auto;
}
.kanban-card {
    background: #fff;
    border-radius: 8px;
    padding: .75rem;
    margin-bottom: .5rem;
    border: 1px solid #eee;
    cursor: grab;
    transition: box-shadow .2s, transform .1s;
    position: relative;
}
.kanban-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    transform: translateY(-1px);
}
.kanban-card:active { cursor: grabbing; }
.kanban-card.sortable-ghost {
    opacity: .4;
    background: var(--orange-light);
}
.kanban-card.sortable-chosen {
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    transform: rotate(2deg);
}
.kanban-card .card-name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--navy);
    margin-bottom: .25rem;
}
.kanban-card .card-meta {
    font-size: .75rem;
    color: #888;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: .35rem;
}
.kanban-card .card-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.kanban-card .card-actions {
    display: flex;
    gap: .25rem;
    justify-content: flex-end;
    margin-top: .35rem;
}
.kanban-card .card-actions .btn {
    padding: .15rem .4rem;
    font-size: .7rem;
}

/* Tag Badge */
.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}
.tag-badge .remove-tag {
    cursor: pointer;
    opacity: .7;
    font-size: .6rem;
}
.tag-badge .remove-tag:hover { opacity: 1; }

/* Rating Stars */
.rating-stars {
    display: inline-flex;
    gap: 2px;
    cursor: pointer;
}
.rating-stars .star {
    color: #ddd;
    font-size: 1.1rem;
    transition: color .15s;
}
.rating-stars .star.active,
.rating-stars .star.hovered { color: #ffc107; }
.rating-stars.readonly { cursor: default; }
.rating-stars-sm .star { font-size: .85rem; }

/* Priority Badges */
.priority-badge { padding: .2rem .5rem; border-radius: 4px; font-size: .7rem; font-weight: 600; }
.priority-urgent { background: #fee2e2; color: #dc2626; }
.priority-high { background: #ffedd5; color: #ea580c; }
.priority-medium { background: #e0f2fe; color: #0284c7; }
.priority-low { background: #f0fdf4; color: #16a34a; }

/* SLA Indicator */
.sla-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: .2rem .5rem;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 500;
}
.sla-green { background: #dcfce7; color: #16a34a; }
.sla-yellow { background: #fef3cd; color: #b45309; }
.sla-red { background: #fee2e2; color: #dc2626; }

/* Scorecard Grid */
.scorecard-grid {
    display: grid;
    gap: 1rem;
}
.scorecard-criterion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.scorecard-criterion .criterion-name { font-weight: 500; font-size: .9rem; }
.scorecard-criterion .criterion-score {
    display: flex;
    gap: 4px;
}
.recommendation-badge {
    padding: .35rem .75rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
}
.rec-strong_yes { background: #dcfce7; color: #16a34a; }
.rec-yes { background: #d1fae5; color: #059669; }
.rec-neutral { background: #e0f2fe; color: #0284c7; }
.rec-no { background: #ffedd5; color: #ea580c; }
.rec-strong_no { background: #fee2e2; color: #dc2626; }

/* Workflow Builder */
.workflow-builder { padding: 1rem 0; }
.workflow-node {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: .5rem;
    position: relative;
}
.workflow-node .node-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.workflow-node .node-content { flex: 1; }
.workflow-node .node-title { font-weight: 600; font-size: .9rem; }
.workflow-node .node-desc { font-size: .8rem; color: #666; }
.workflow-arrow {
    text-align: center;
    padding: .25rem 0;
    color: #ccc;
    font-size: 1.2rem;
}
.node-trigger .node-icon { background: #e8f0fe; color: #1a73e8; }
.node-condition .node-icon { background: #fef3cd; color: #b45309; }
.node-action .node-icon { background: #dcfce7; color: #16a34a; }

/* Timeline Comments */
.timeline-comments { padding-left: 0; }
.comment-item {
    display: flex;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid #f5f5f5;
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--orange-light);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 600;
    flex-shrink: 0;
}
.comment-body { flex: 1; }
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .25rem;
}
.comment-author { font-weight: 600; font-size: .85rem; }
.comment-time { font-size: .75rem; color: #999; }
.comment-text { font-size: .9rem; line-height: 1.5; }
.comment-mention { color: var(--orange); font-weight: 500; }

/* Task Card */
.task-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: .5rem;
    transition: box-shadow .2s;
}
.task-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.task-card.overdue { border-left: 3px solid #dc2626; }
.task-card .task-checkbox { font-size: 1.2rem; cursor: pointer; color: #ccc; }
.task-card .task-checkbox.completed { color: #16a34a; }
.task-card .task-info { flex: 1; }
.task-card .task-title { font-weight: 500; font-size: .9rem; }
.task-card .task-title.completed { text-decoration: line-through; color: #999; }
.task-card .task-due { font-size: .75rem; color: #888; }

/* Offer Preview */
.offer-preview {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.offer-preview .offer-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--orange);
    margin-bottom: 1.5rem;
}
.offer-preview .offer-field { margin-bottom: 1rem; }
.offer-preview .offer-label { font-weight: 600; color: var(--navy); font-size: .85rem; }
.offer-preview .offer-value { font-size: 1rem; }

/* Onboarding Checklist */
.onboarding-checklist .checklist-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid #f5f5f5;
    transition: background .15s;
}
.onboarding-checklist .checklist-item:hover { background: #fafafa; }
.onboarding-checklist .checklist-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    flex-shrink: 0;
}
.onboarding-checklist .item-pending .checklist-icon { background: #e0f2fe; color: #0284c7; }
.onboarding-checklist .item-completed .checklist-icon { background: #dcfce7; color: #16a34a; }
.onboarding-progress {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.onboarding-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    border-radius: 4px;
    transition: width .5s ease;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #eee;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
.calendar-header-cell {
    background: var(--navy);
    color: #fff;
    padding: .5rem;
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
}
.calendar-cell {
    background: #fff;
    min-height: 80px;
    padding: .35rem;
    font-size: .75rem;
    position: relative;
}
.calendar-cell.today { background: var(--orange-light); }
.calendar-cell.other-month { background: #fafafa; color: #ccc; }
.calendar-cell .day-num {
    font-weight: 600;
    margin-bottom: .25rem;
    font-size: .8rem;
}
.calendar-event {
    background: var(--orange);
    color: #fff;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: .65rem;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}
.calendar-event:hover { opacity: .8; }

/* ═══════════════════════════════════════════
   MOBILE BOTTOM TAB BAR  (iOS-style)
   ═══════════════════════════════════════════ */

.mobile-tab-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    background: #fff;
    box-shadow: 0 -1px 0 rgba(0,0,0,.08), 0 -4px 16px rgba(0,0,0,.06);
    z-index: 1040;
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

@media (max-width: 991.98px) {
    .mobile-tab-bar {
        display: flex;
    }
    /* Give the page breathing room at the bottom */
    body.has-tab-bar {
        padding-bottom: 68px;
    }
    /* Hide the old offcanvas toggle buttons */
    .company-sidebar-toggle,
    .crm-sidebar-toggle,
    .candidate-sidebar-toggle {
        display: none !important;
    }
}

/* Single tab item */
.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    text-decoration: none;
    color: #8a8a8a;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: .01em;
    transition: color 0.18s ease;
    position: relative;
    cursor: pointer;
    border: none;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
    min-height: 52px;
}
.tab-item:hover,
.tab-item:focus {
    color: var(--orange);
    text-decoration: none;
    outline: none;
}
.tab-item.active {
    color: var(--orange);
}
.tab-item i {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 2px;
    line-height: 1;
    transition: transform 0.18s ease;
}
.tab-item.active i {
    transform: translateY(-1px);
}
.tab-item .tab-label {
    display: block;
    line-height: 1;
}

/* Active indicator dot */
.tab-item.active::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.7;
}

/* Badge on tab icon */
.tab-item .tab-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 18px);
    background: #dc2626;
    color: #fff;
    font-size: 0.5rem;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    border: 1.5px solid #fff;
}

/* ── More sheet (Bootstrap offcanvas-bottom) ── */
#moreSheet,
#crmMoreSheet,
#candidateMoreSheet,
#companyMoreSheet {
    border-radius: 20px 20px 0 0;
    height: auto !important;
    max-height: 90vh;
}

.more-sheet-handle {
    width: 36px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 8px auto 2px;
}
.more-sheet-header {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #8a8a8a;
    padding: 4px 20px 4px;
}
.more-sheet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 4px 12px 8px;
}
.more-sheet-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px 8px;
    text-decoration: none;
    color: #333;
    border-radius: 12px;
    font-size: 0.62rem;
    font-weight: 500;
    text-align: center;
    transition: background .15s, color .15s;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    border: none;
    background: transparent;
}
.more-sheet-item:hover,
.more-sheet-item:focus {
    background: #f5f5f5;
    color: var(--orange);
    text-decoration: none;
    outline: none;
}
.more-sheet-item i {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 4px;
    color: var(--navy);
    transition: color .15s;
}
.more-sheet-item:hover i,
.more-sheet-item:focus i {
    color: var(--orange);
}
.more-sheet-item.active {
    background: var(--orange-light);
    color: var(--orange);
}
.more-sheet-item.active i {
    color: var(--orange);
}
.more-sheet-divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 0 16px 2px;
}
.more-sheet-section-label {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #aaa;
    padding: 4px 20px 2px;
}
/* Logout row in more sheet */
.more-sheet-footer {
    padding: 6px 16px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
}
.more-sheet-footer a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
}

/* ── Mobile Account Sheet ── */
#mobileAccountSheet {
    border-radius: 16px 16px 0 0 !important;
}
#mobileAccountSheet .offcanvas-header {
    padding: 1rem 1.25rem .5rem;
}
#mobileAccountSheet .list-group-item {
    font-size: .9rem;
    font-weight: 500;
    color: #333;
    transition: background .15s;
}
#mobileAccountSheet .list-group-item:active {
    background: #f0f0f0;
}
#mobileAccountSheet .list-group-item i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

/* ── Guest Mobile Menu (bottom sheet) ── */
#mobileMenu .more-sheet-item {
    font-size: .7rem;
}
#mobileMenu .more-sheet-item i {
    font-size: 1.6rem;
}

/* ── Mobile Notification Panel ── */
#mobileNotificationPanel {
    display: none;
    box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
#mobileNotificationPanel.show {
    display: block;
}

/* Mobile Filter Offcanvas */
.mobile-filter-btn {
    font-weight: 600;
    letter-spacing: .02em;
}
#filtersOffcanvas .offcanvas-header {
    background: var(--navy);
    color: #fff;
    padding: 1rem 1.25rem;
}
#filtersOffcanvas .offcanvas-header .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
}
#filtersOffcanvas .offcanvas-title {
    font-size: 1rem;
    font-weight: 600;
}
#filtersOffcanvas .offcanvas-body {
    padding: 1.25rem;
    background: #f8f9fa;
}
#filtersOffcanvas .offcanvas-body .form-label {
    color: var(--navy);
}
@media (min-width: 992px) {
    .mobile-filter-btn { display: none !important; }
    #filtersOffcanvas { display: none !important; }
}

/* Comparison Table */
.comparison-table { overflow-x: auto; }
.comparison-table table th { background: var(--navy); color: #fff; font-size: .85rem; min-width: 200px; }
.comparison-table table td { font-size: .85rem; vertical-align: middle; }
.comparison-table .best-value { background: #dcfce7; font-weight: 600; }

/* Sequence Builder */
.sequence-builder .sequence-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: .5rem;
}
.sequence-step .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
}
.sequence-step .step-delay {
    font-size: .75rem;
    color: #888;
    padding: .25rem .5rem;
    background: #f8f9fa;
    border-radius: 4px;
}
.sequence-arrow {
    text-align: center;
    color: #ccc;
    padding: .15rem 0;
}

/* Funnel Chart */
.funnel-chart { max-width: 600px; margin: 0 auto; }
.funnel-level {
    display: flex;
    align-items: center;
    margin-bottom: .5rem;
}
.funnel-bar {
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 .75rem;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    transition: width .5s ease;
    min-width: 60px;
}
.funnel-label {
    min-width: 100px;
    font-size: .85rem;
    font-weight: 500;
    text-align: right;
    padding-right: .75rem;
}
.funnel-pct {
    min-width: 60px;
    font-size: .8rem;
    color: #888;
    padding-left: .5rem;
}

/* CRM Tabs */
.crm-tabs .nav-link {
    color: #666;
    font-weight: 500;
    font-size: .9rem;
    border: none;
    padding: .6rem 1rem;
    border-radius: 8px;
    transition: all .2s;
}
.crm-tabs .nav-link:hover { background: #f8f9fa; color: var(--navy); }
.crm-tabs .nav-link.active {
    background: var(--orange);
    color: #fff;
}

/* Variable Chips */
.variable-chip {
    display: inline-block;
    padding: .2rem .5rem;
    background: #e8f0fe;
    color: #1a73e8;
    border-radius: 4px;
    font-size: .75rem;
    font-family: monospace;
    cursor: pointer;
    margin: 2px;
    transition: background .15s;
}
.variable-chip:hover { background: #c8dafe; }

/* CRM responsive */
@media (max-width: 991px) {
    .kanban-board { min-height: 400px; }
    .kanban-column { min-width: 250px; }
    .calendar-grid { font-size: .7rem; }
    .calendar-cell { min-height: 60px; }
}
@media (max-width: 991.98px) {
    .kanban-board {
        flex-wrap: wrap;
        gap: .5rem;
    }
    .kanban-column {
        flex: 0 0 calc(50% - .25rem);
        min-width: calc(50% - .25rem);
        max-height: 300px;
    }
    .kanban-column .kanban-column-header {
        padding: .5rem;
        font-size: .8rem;
    }
    .kanban-card {
        padding: .5rem;
        font-size: .8rem;
    }
    .kanban-card .card-title {
        font-size: .8rem;
    }
}
@media (max-width: 768px) {
    .kanban-board { flex-direction: column; }
    .kanban-column { min-width: 100%; max-width: 100%; flex: 0 0 100%; }
    .comparison-table table th { min-width: 150px; }
}

/* ═══════════════════════════════════════════
   Job Page — booking.com-style redesign
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   JOB DETAIL PAGE — REDESIGN
   ═══════════════════════════════════════════ */

/* Wrapper */
.jd-wrapper { padding: 1.5rem 0 3rem; }
.jd-breadcrumb { font-size: .85rem; margin-bottom: 1rem; }
.jd-breadcrumb a { color: var(--orange); text-decoration: none; }
.jd-breadcrumb a:hover { text-decoration: underline; }

/* Header Card */
.jd-header-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.jd-company-logo {
    width: 64px; height: 64px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8f9fa;
    padding: 6px;
    border: 1px solid #e9ecef;
    flex-shrink: 0;
}
.jd-company-logo-ph {
    width: 64px; height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 700;
    flex-shrink: 0;
}
.jd-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 .25rem;
    line-height: 1.3;
}
.jd-company-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
}
.jd-company-link:hover { text-decoration: underline; }
.jd-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .5rem;
}
.jd-meta-item {
    font-size: .8rem;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.jd-meta-item i { font-size: .7rem; }

/* Highlights strip */
.jd-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}
.jd-highlight {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #f8fafc;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: .5rem .85rem;
    min-width: 0;
}
.jd-highlight > i { font-size: 1.1rem; flex-shrink: 0; }
.jd-highlight-val { font-size: .85rem; font-weight: 700; color: var(--navy); line-height: 1.2; white-space: nowrap; }
.jd-highlight-label { font-size: .65rem; color: #9ca3af; text-transform: uppercase; letter-spacing: .3px; }

/* Header actions */
.jd-header-actions {
    display: flex;
    gap: .5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}

/* Sections */
.jd-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.jd-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.jd-section-title i { color: var(--orange); font-size: .95rem; }
.jd-content {
    font-size: .92rem;
    line-height: 1.75;
    color: #374151;
}
.jd-content p { margin-bottom: .75rem; }
.jd-content ul, .jd-content ol { padding-left: 1.25rem; margin-bottom: .75rem; }
.jd-content li { margin-bottom: .25rem; }
.jd-content strong { color: var(--navy); }

/* Req/Ben lists — when plain text with commas, format nicely */
.jd-req-list, .jd-ben-list { line-height: 1.8; }

/* Apply CTA */
.jd-apply-cta {
    margin: 1.5rem 0;
}
.jd-apply-cta-inner {
    background: linear-gradient(135deg, var(--navy) 0%, #2a4a7f 100%);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.jd-apply-cta-title { color: #fff; font-size: 1.1rem; font-weight: 700; margin: 0; }
.jd-apply-cta-sub { color: rgba(255,255,255,.7); font-size: .85rem; margin: .25rem 0 0; }

/* Share row (mobile) */
.jd-share-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 0;
    margin-bottom: 1rem;
}
.jd-share-row .btn { width: 34px; height: 34px; padding: 0; display: flex; align-items: center; justify-content: center; }

/* Company card inline (mobile) */
.jd-company-card-inline {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.jd-company-card-logo {
    width: 48px; height: 48px;
    object-fit: contain;
    border-radius: 10px;
    background: #f8f9fa;
    padding: 4px;
    border: 1px solid #e9ecef;
}

/* ── Sidebar ── */
.jd-sidebar-sticky {
    position: sticky;
    top: 76px;
}
.jd-sidebar-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.jd-sidebar-card-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.jd-sidebar-apply { background: #fafbfc; }
.jd-sidebar-meta {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.jd-sidebar-meta-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: #555;
}
.jd-sidebar-meta-item i { width: 16px; text-align: center; }
.jd-sidebar-company-logo {
    width: 48px; height: 48px;
    object-fit: contain;
    border-radius: 10px;
    background: #f8f9fa;
    padding: 4px;
    border: 1px solid #e9ecef;
    flex-shrink: 0;
}
.jd-sidebar-company-logo-ph {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 700;
    flex-shrink: 0;
}

/* ── Similar Jobs ── */
.jd-similar { margin-top: 2rem; padding-bottom: 1rem; }
.jd-similar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}
.jd-similar-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: .85rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: box-shadow .2s, border-color .2s;
}
.jd-similar-card:hover {
    border-color: var(--orange);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.jd-similar-card-top {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    margin-bottom: .5rem;
}
.jd-similar-logo {
    width: 36px; height: 36px;
    border-radius: 8px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 3px;
    border: 1px solid #eee;
    flex-shrink: 0;
}
.jd-similar-logo-ph {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700;
    flex-shrink: 0;
}
.jd-similar-jobtitle {
    font-size: .82rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jd-similar-company {
    font-size: .72rem;
    color: #888;
    margin-top: .15rem;
}
.jd-similar-card-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .72rem;
    color: #888;
    border-top: 1px solid #f0f0f0;
    padding-top: .4rem;
    margin-top: .25rem;
}
.jd-similar-card-bot i { font-size: .65rem; margin-right: .2rem; }

/* ── Mobile Bottom Bar ── */
.jd-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.jd-mobile-bar-salary {
    white-space: nowrap;
    font-size: .9rem;
    color: var(--navy);
}

/* ── Mobile adjustments ── */
@media (max-width: 991.98px) {
    .jd-wrapper { padding: .75rem 0 5rem; } /* space for bottom bar */
    .jd-header-card { padding: 1rem; border-radius: 12px; margin-bottom: 1rem; }
    .jd-company-logo, .jd-company-logo-ph { width: 48px; height: 48px; border-radius: 10px; }
    .jd-company-logo-ph { font-size: 1rem; }
    .jd-title { font-size: 1.15rem; }
    .jd-highlights { gap: .5rem; margin-top: 1rem; padding-top: 1rem; }
    .jd-highlight { padding: .4rem .65rem; border-radius: 8px; }
    .jd-highlight > i { font-size: .95rem; }
    .jd-highlight-val { font-size: .78rem; }
    .jd-highlight-label { font-size: .6rem; }
    .jd-section { padding: 1rem; border-radius: 12px; margin-bottom: .75rem; }
    .jd-section-title { font-size: .95rem; margin-bottom: .75rem; }
    .jd-content { font-size: .87rem; line-height: 1.65; }
    .jd-apply-cta-inner { padding: 1.25rem; flex-direction: column; text-align: center; }
    .jd-apply-cta-title { font-size: 1rem; }
    .jd-similar { margin-top: 1rem; }
    .jd-similar-card { padding: .65rem; }
    .jd-similar-jobtitle { font-size: .78rem; }
}
@media (max-width: 575.98px) {
    .jd-header-card { padding: .85rem; }
    .jd-title { font-size: 1.05rem; }
    .jd-meta-item { font-size: .73rem; }
    .jd-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
    .jd-section { padding: .85rem; }
    .jd-content { font-size: .84rem; }
    .jd-similar-card-top { gap: .4rem; }
    .jd-similar-logo, .jd-similar-logo-ph { width: 30px; height: 30px; }
}

/* ═══════════════════════════════════════════
   Responsive Tables → Cards (mobile)
   ═══════════════════════════════════════════ */
@media (max-width: 991.98px) {
    table.table-cards thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    table.table-cards tbody tr {
        display: block;
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 10px;
        padding: .75rem;
        margin-bottom: .75rem;
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }
    table.table-cards td {
        display: flex;
        align-items: flex-start;
        border: none;
        padding: .35rem 0;
        text-align: left;
        font-size: .9rem;
    }
    table.table-cards td:before {
        content: attr(data-label);
        flex: 0 0 40%;
        font-weight: 600;
        font-size: .8rem;
        color: var(--navy);
        padding-right: .5rem;
    }
    table.table-cards td:empty { display: none; }
    table.table-cards tfoot tr {
        display: block;
        padding: .5rem;
        text-align: center;
    }
    table.table-cards tfoot td {
        display: inline-block;
    }
    table.table-cards tfoot td:before { display: none; }
}

/* ═══════════════════════════════════════════
   CRM Sub-navigation Bar
   ═══════════════════════════════════════════ */
.crm-subnav {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    position: sticky;
    top: 56px; /* sits just below the main sticky navbar */
    z-index: 1015; /* below navbar (1020) so dropdowns appear on top */
}
.crm-subnav-inner {
    display: flex;
    align-items: center;
    gap: .15rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* hide scrollbar on Firefox */
    padding: 0 1rem;
    max-width: 1320px;
    margin: 0 auto;
}
.crm-subnav-inner::-webkit-scrollbar { display: none; } /* hide scrollbar on Chrome/Safari */
.crm-subnav-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .55rem .75rem;
    font-size: .8rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
    flex-shrink: 0;
}
.crm-subnav-link i {
    font-size: .9rem;
}
.crm-subnav-link:hover {
    color: var(--navy);
    border-bottom-color: #dee2e6;
}
.crm-subnav-link.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   Job Listing Cards v2 — Redesigned
   ═══════════════════════════════════════════ */

/* Base card */
.job-card-v2 {
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.job-card-v2:hover {
    box-shadow: 0 8px 32px rgba(27,42,74,0.10);
    transform: translateY(-3px);
    border-color: var(--orange);
}

/* Left accent bar */
.job-card-v2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #d1d8e0;
    border-radius: 12px 0 0 12px;
    transition: background 0.2s;
}
.job-card-v2:hover::before { background: var(--orange); }
.job-card-v2.is-featured::before { background: linear-gradient(180deg, #FFD700, #FF6B00); }

/* Featured card subtle background */
.job-card-v2.is-featured {
    background: linear-gradient(135deg, #fffbf5 0%, #fff 60%);
    border-color: #ffe0b3;
}
.job-card-v2.is-featured:hover { border-color: var(--orange); }

/* Card body */
.job-card-v2 .jc-body {
    padding: 1.1rem 1.25rem 1.1rem 1.5rem;
}

/* Logo circle */
.jc-logo-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e8ecf0;
}
.jc-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.jc-logo-wrap .jc-logo-icon { font-size: 1.45rem; color: #adb5bd; }

/* Title & company */
.jc-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.15s;
    display: block;
}
.jc-title:hover { color: var(--orange); }

.jc-company {
    font-size: 0.82rem;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.15s;
}
.jc-company:hover { color: var(--navy); }

/* Time posted */
.jc-time {
    font-size: 0.75rem;
    color: #adb5bd;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Featured badge */
.badge-featured-v2 {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5a3e00;
    border-radius: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.6;
    vertical-align: middle;
}

/* Meta pill badges */
.jc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.55rem;
}
.jc-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}
.jc-pill-location { background: #eef2ff; color: #3d5aae; }
.jc-pill-type     { background: #f0f9f4; color: #1e7e4a; }
.jc-pill-salary   { background: #fff3e0; color: #c05e00; font-weight: 700; }
.jc-pill-housing  { background: #e8f4fd; color: #0a6da8; font-weight: 600; }

/* View button */
.jc-action .btn {
    font-size: 0.82rem;
    padding: 0.35rem 0.9rem;
    border-radius: 8px;
    font-weight: 600;
}

/* Mobile stacking */
@media (max-width: 575.98px) {
    .job-card-v2 .jc-body { padding: 0.9rem 1rem 0.9rem 1.2rem; }
    .jc-logo-wrap { width: 42px; height: 42px; border-radius: 9px; }
    .jc-title { font-size: 0.97rem; }
    .jc-pill { font-size: 0.73rem; padding: 2px 8px; }
}

/* ═══════════════════════════════════════════
   Featured Job Cards v2 — Homepage Grid
   ═══════════════════════════════════════════ */

.feat-job-card {
    border: 1px solid #e8ecf0;
    border-radius: 14px;
    background: #fff;
    height: 100%;
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.feat-job-card:hover {
    box-shadow: 0 10px 36px rgba(27,42,74,0.11);
    transform: translateY(-4px);
    border-color: var(--orange);
}
.feat-job-card.is-featured { border-color: #ffe0b3; background: linear-gradient(160deg, #fffbf5 0%, #fff 55%); }
.feat-job-card.is-featured:hover { border-color: var(--orange); }

/* Top stripe on featured */
.feat-job-card.is-featured::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FF6B00);
}

.feat-job-card .fj-body {
    padding: 1.1rem 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Logo */
.fj-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f4f6f9;
    border: 1px solid #e8ecf0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.fj-logo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.fj-logo-wrap .fj-logo-icon { font-size: 1.25rem; color: #adb5bd; }

.fj-title {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.fj-title:hover { color: var(--orange); }

.fj-company { font-size: 0.77rem; color: #6c757d; margin-top: 1px; }

.fj-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 500;
    white-space: nowrap;
}
.fj-pill-location { background: #eef2ff; color: #3d5aae; }
.fj-pill-type     { background: #f0f9f4; color: #1e7e4a; }
.fj-pill-salary   { background: #fff3e0; color: #c05e00; font-weight: 700; }
.fj-pill-housing  { background: #e8f4fd; color: #0a6da8; font-weight: 600; }

.fj-footer {
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fj-time { font-size: 0.73rem; color: #adb5bd; }

.fj-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 0.82rem;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}
.feat-job-card:hover .fj-arrow { background: var(--orange); color: #fff; }

/* ════════════════════════════════════════════════════════════════
   CV BUILDER — builder page styles
═══════════════════════════════════════════════════════════════ */

/* Accordion */
.cv-accordion { border-radius: 10px; overflow: hidden; }
.cv-accordion-item { border: 1px solid #e8eaf0; border-radius: 0; }
.cv-accordion-item + .cv-accordion-item { border-top: none; }
.cv-accordion .accordion-button {
    font-weight: 600;
    font-size: .93rem;
    color: var(--navy);
    background: #fff;
    padding: .7rem 1rem;
}
.cv-accordion .accordion-button:not(.collapsed) {
    color: var(--navy);
    background: #f4f7fb;
    box-shadow: none;
}
.cv-accordion .accordion-button::after {
    filter: none;
}
.cv-accordion .accordion-button:focus {
    box-shadow: none;
}

/* Entry cards in accordion */
.cv-entries-list { padding: .5rem .75rem; }
.cv-entry-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .75rem;
    border: 1px solid #e8eaf0;
    border-radius: 8px;
    margin-bottom: .5rem;
    background: #fff;
    transition: box-shadow .15s, border-color .15s;
    cursor: default;
}
.cv-entry-card:hover {
    border-color: var(--navy);
    box-shadow: 0 2px 8px rgba(26,46,74,.08);
}
.cv-entry-card-body { flex: 1; min-width: 0; }
.cv-entry-card-title {
    font-weight: 600;
    font-size: .88rem;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cv-entry-card-sub { margin-top: 1px; }
.cv-entry-card-date { margin-top: 2px; }
.cv-entry-edit-btn {
    flex-shrink: 0;
    padding: 4px 6px;
    color: var(--navy) !important;
    opacity: .5;
    transition: opacity .15s;
}
.cv-entry-card:hover .cv-entry-edit-btn { opacity: 1; }

/* Outline navy button */
.btn-outline-navy {
    color: var(--navy);
    border-color: var(--navy);
    background: transparent;
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: #fff;
}
.btn-navy {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.btn-navy:hover {
    background: #243657;
    color: #fff;
}

/* Save feedback toast */
.cv-save-feedback {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a7a4a;
    color: #fff;
    padding: 9px 20px;
    border-radius: 24px;
    font-size: .87rem;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(0,0,0,.2);
    z-index: 9999;
    white-space: nowrap;
}

/* ── Preview shell ── */
.cv-preview-sticky {
    position: sticky;
    top: 80px;
}
.cv-preview-shell {
    border: 1px solid #d5dce8;
    border-radius: 8px;
    overflow: hidden;
    background: #e8eaf0;
    padding: 10px;
}
.cv-preview-scaler {
    transform-origin: top left;
    /* JS will set transform: scale() dynamically */
}

/* ── Europass CV (preview, also used for print via cv-print.php) ── */
.europass-cv {
    display: flex;
    width: 794px;
    min-height: 600px;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 9.5pt;
    color: #333;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

/* Sidebar */
.ep-sidebar {
    width: 200px;
    min-width: 200px;
    background: var(--navy);
    color: #cdd9e8;
    display: flex;
    flex-direction: column;
}
.ep-photo-wrap {
    background: #243657;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px 16px;
}
.ep-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange);
}
.ep-photo-initials {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 26pt;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -1px;
}
.ep-sidebar-section {
    padding: 10px 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.ep-sidebar-section:last-child { border-bottom: none; }
.ep-sidebar-heading {
    font-size: 6pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--orange);
    margin-bottom: 6px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.ep-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 5px;
    font-size: 7.5pt;
    color: #b8cfe0;
    word-break: break-word;
    line-height: 1.4;
}
.ep-contact-item i {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 9pt;
    color: var(--orange);
}
.ep-meta-item {
    display: flex;
    gap: 4px;
    font-size: 7pt;
    color: #a8c0d8;
    margin-bottom: 4px;
    flex-wrap: wrap;
    line-height: 1.4;
}
.ep-meta-label {
    color: rgba(255,255,255,.5);
    font-weight: 600;
}
.ep-meta-label::after { content: ':'; }
/* Lang bars */
.ep-lang-item { margin-bottom: 7px; }
.ep-lang-name { font-size: 7.5pt; color: #dde9f5; font-weight: 600; }
.ep-lang-level { font-size: 6.5pt; color: var(--orange); font-weight: 700; }
.ep-lang-bar { height: 3px; background: rgba(255,255,255,.15); border-radius: 2px; margin-top: 3px; overflow: hidden; }
.ep-lang-bar-fill { height: 100%; background: var(--orange); border-radius: 2px; }
/* Skill bars */
.ep-skill-item { margin-bottom: 7px; }
.ep-skill-name { font-size: 7.5pt; color: #d8e8f4; font-weight: 600; }
.ep-skill-level { font-size: 6pt; color: rgba(255,255,255,.5); }
.ep-skill-bar { height: 3px; background: rgba(255,255,255,.15); border-radius: 2px; margin-top: 3px; overflow: hidden; }
.ep-skill-bar-fill { height: 100%; background: rgba(255,255,255,.65); border-radius: 2px; }

/* Main */
.ep-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ep-header {
    background: var(--orange);
    padding: 18px 22px 14px;
    color: #fff;
}
.ep-name {
    font-size: 18pt;
    font-weight: 800;
    letter-spacing: -.5px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 2px;
}
.ep-job-title {
    font-size: 9pt;
    color: rgba(255,255,255,.85);
    font-weight: 400;
}
.ep-section {
    padding: 12px 22px 8px;
    border-bottom: 1px solid #f0f2f5;
}
.ep-section:last-child { border-bottom: none; }
.ep-section-header {
    font-size: 6.5pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--navy);
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}
.ep-summary-text {
    font-size: 8pt;
    color: #444;
    line-height: 1.6;
}
.ep-entry {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 8px;
    margin-bottom: 10px;
    align-items: start;
}
.ep-entry:last-child { margin-bottom: 0; }
.ep-entry-date {
    font-size: 6.5pt;
    color: #999;
    text-align: right;
    line-height: 1.4;
    padding-top: 2px;
}
.ep-present { color: var(--orange); font-weight: 700; }
.ep-entry-title { font-size: 8.5pt; font-weight: 700; color: var(--navy); margin-bottom: 1px; }
.ep-entry-subtitle { font-size: 7.5pt; color: var(--orange); font-weight: 600; margin-bottom: 3px; }
.ep-entry-desc { font-size: 7pt; color: #555; line-height: 1.5; }
.ep-hobbies-text { font-size: 8pt; color: #555; line-height: 1.6; }
.ep-footer {
    margin-top: auto;
    padding: 8px 22px;
    font-size: 6pt;
    color: #bbb;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid #f0f0f0;
}

/* ═══════════════════════════════════════════
   MESSENGER — Facebook Messenger–style layout
   ═══════════════════════════════════════════ */

/* ── Outer shell ── */
.messenger-container {
    display: flex;
    height: calc(100vh - 56px - 4rem); /* subtract navbar + container margin */
    min-height: 500px;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0,0,0,.08), 0 4px 24px rgba(0,0,0,.04);
    border: 1px solid #e8e8e8;
}

/* ── Left panel: conversation list ── */
.messenger-sidebar {
    width: 300px;
    min-width: 300px;
    flex-direction: column;
    border-right: 1px solid var(--gray-200);
    background: #fff;
    overflow: hidden;
}

.messenger-sidebar-header {
    padding: 1rem 1.25rem .75rem;
    border-bottom: 1px solid var(--gray-100);
    background: #fff;
}
.messenger-sidebar-header h6 {
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 700;
}

/* Search */
.messenger-search-wrap {
    padding: .5rem 1rem .75rem;
    background: #fff;
}
.messenger-search-inner {
    position: relative;
}
.messenger-search-icon {
    position: absolute;
    left: .75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: .85rem;
    pointer-events: none;
}
.messenger-search-input {
    width: 100%;
    border: none;
    background: var(--gray-100);
    border-radius: 20px;
    padding: .5rem 1rem .5rem 2.25rem;
    font-size: .875rem;
    color: var(--gray-800);
    outline: none;
    transition: background .15s;
}
.messenger-search-input:focus {
    background: var(--gray-200);
}

/* Conversation list scroll area */
.messenger-conv-list {
    flex: 1;
    overflow-y: auto;
    padding: .25rem 0;
}
.messenger-conv-list::-webkit-scrollbar { width: 4px; }
.messenger-conv-list::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

/* Empty state in list */
.messenger-empty-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--gray-500);
}
.messenger-empty-list i {
    font-size: 2.5rem;
    color: var(--gray-300);
    margin-bottom: .75rem;
}
.messenger-empty-list p { font-size: .9rem; }

/* Conversation item */
.conv-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: background .12s;
    position: relative;
    cursor: pointer;
}
.conv-item:hover {
    background: var(--gray-50);
    text-decoration: none;
    color: inherit;
}
.conv-item.active {
    background: rgba(255, 107, 0, 0.08);
}
.conv-item.unread .conv-name { font-weight: 700; color: var(--navy); }
.conv-item.unread .conv-preview { font-weight: 600; color: var(--gray-700); }

/* Avatar */
.conv-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.conv-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.conv-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
}

/* Conv text */
.conv-info { flex: 1; min-width: 0; }
.conv-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .5rem;
}
.conv-name {
    font-size: .9rem;
    font-weight: 500;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.conv-time {
    font-size: .7rem;
    color: var(--gray-400);
    white-space: nowrap;
    flex-shrink: 0;
}
.conv-preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: 2px;
}
.conv-preview {
    font-size: .8rem;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}
.conv-badge {
    flex-shrink: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--orange);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ── Right panel: chat ── */
.messenger-chat {
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    background: var(--gray-50);
    min-width: 0;
    position: relative;
}

/* Chat header */
.messenger-chat-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    min-height: 64px;
}
.messenger-back-btn {
    color: var(--navy);
    text-decoration: none;
}
.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.chat-header-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
    transition: opacity .15s;
}
.chat-header-link:hover { opacity: .8; }
.chat-header-info { flex: 1; min-width: 0; }
.chat-header-name {
    font-weight: 600;
    font-size: .95rem;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-header-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    color: #888;
    flex-wrap: wrap;
}
.chat-role-badge {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .1rem .45rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.chat-role-badge.role-company { background: #dbeafe; color: #1e40af; }
.chat-role-badge.role-candidate { background: #dcfce7; color: #166534; }
.chat-location { display: inline-flex; align-items: center; gap: .2rem; }
.chat-info-toggle {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

/* Slide-in info panel */
.chat-info-panel {
    position: absolute;
    top: 64px;
    right: 0;
    width: 280px;
    bottom: 0;
    background: #fff;
    border-left: 1px solid #e8e8e8;
    z-index: 10;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
}
.chat-info-panel.show { transform: translateX(0); }
.chat-info-inner { padding: 1.5rem 1rem; }
.chat-info-items { display: flex; flex-direction: column; gap: .5rem; }
.chat-info-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
    color: #555;
    padding: .4rem .5rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.chat-info-item i { color: var(--navy); width: 18px; text-align: center; }

/* Conversation list role dot */
.conv-role-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* "You:" prefix in conversation preview */
.conv-you { color: #999; font-weight: 500; }

/* Message scroll area */
.messenger-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.messenger-messages::-webkit-scrollbar { width: 4px; }
.messenger-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

/* Thread empty state */
.messenger-thread-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    color: var(--gray-500);
    padding: 2rem;
}
.thread-empty-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--gray-200);
}

/* Date separator */
.messenger-date-sep {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: .75rem 0 .5rem;
}
.messenger-date-sep::before,
.messenger-date-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}
.messenger-date-sep span {
    font-size: .7rem;
    color: var(--gray-400);
    font-weight: 500;
    white-space: nowrap;
}

/* Message bubble row */
.messenger-bubble-row {
    display: flex;
    align-items: flex-end;
    gap: .4rem;
    max-width: 72%;
    margin-bottom: 1px;
}
.messenger-bubble-row.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.messenger-bubble-row.received {
    align-self: flex-start;
}

/* Bubble avatar (for received) */
.bubble-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    align-self: flex-end;
}
.bubble-avatar-spacer {
    width: 28px;
    flex-shrink: 0;
}

/* Message bubble */
.messenger-bubble {
    padding: .55rem .85rem;
    border-radius: 18px;
    font-size: .875rem;
    line-height: 1.5;
    max-width: 100%;
    word-break: break-word;
    position: relative;
}
.messenger-bubble.sent {
    background: var(--orange);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.messenger-bubble.received {
    background: #f1f3f5;
    color: var(--gray-800);
    border-bottom-left-radius: 4px;
}
/* Last in a group: give the "tail" corner */
.messenger-bubble.sent.last-in-group {
    border-bottom-right-radius: 18px;
}
.messenger-bubble.received.last-in-group {
    border-bottom-left-radius: 18px;
}

/* Time label under last bubble of group */
.bubble-time {
    font-size: .65rem;
    color: var(--gray-400);
    white-space: nowrap;
    padding: 0 .25rem;
    align-self: flex-end;
    flex-shrink: 0;
}
.messenger-bubble-row.sent .bubble-time {
    order: 2;
}

/* ── Message input area ── */
.messenger-input-area {
    background: #fff;
    border-top: 1px solid var(--gray-200);
    padding: .75rem 1rem;
}
.messenger-input-form {
    display: flex;
    align-items: flex-end;
    gap: .6rem;
    background: var(--gray-100);
    border-radius: 24px;
    padding: .4rem .4rem .4rem .9rem;
}
.messenger-textarea {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--gray-800);
    padding: .3rem 0;
    min-height: 24px;
    max-height: 120px;
    overflow-y: auto;
    outline: none;
}
.messenger-textarea::placeholder { color: var(--gray-400); }
.messenger-send-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: none;
    background: var(--orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    cursor: pointer;
    transition: background .15s, transform .1s;
    flex-shrink: 0;
}
.messenger-send-btn:hover {
    background: var(--orange-hover);
    transform: scale(1.05);
}
.messenger-send-btn:active { transform: scale(.95); }

/* ── Empty right-panel state ── */
.messenger-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--gray-500);
    padding: 2rem;
}
.messenger-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.messenger-empty-icon i {
    font-size: 2rem;
    color: var(--orange);
}
.messenger-empty-state h5 { color: var(--navy); font-weight: 700; }

/* ── Mobile: single-panel behaviour ── */
@media (max-width: 991.98px) {
    .messenger-container {
        height: calc(100vh - 56px - 68px); /* navbar + tab bar */
        min-height: 400px;
        border-radius: 0;
        box-shadow: none;
        border: none;
        margin: 0 -12px; /* bleed outside container padding */
    }
    .messenger-sidebar {
        width: 100%;
        min-width: 100%;
        border-right: none;
    }
    .messenger-chat {
        width: 100%;
    }
    .chat-info-panel {
        width: 100%;
        top: 56px;
    }
}

/* ═══════════════════════════════════════════
   LANDING PAGE — Conversion Sections
   ═══════════════════════════════════════════ */

/* ── Authority Bar ── */
.lp-authority {
    background: var(--navy);
    color: #fff;
    padding: 1.25rem 0;
    overflow: hidden;
}
.lp-authority-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.lp-authority-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .95rem;
    font-weight: 600;
    white-space: nowrap;
}
.lp-authority-item i {
    font-size: 1.3rem;
    color: var(--orange);
}
.lp-authority-item .lp-stat-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--orange);
}

/* ── Pain Point Section ── */
.lp-pain {
    background: linear-gradient(180deg, var(--navy) 0%, #0f1a30 100%);
    color: #fff;
    padding: 4.5rem 0;
}
.lp-pain-inner {
    max-width: 900px;
    margin: 0 auto;
}
.lp-pain-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.lp-pain-icon i {
    font-size: 1.6rem;
    color: var(--orange);
}
.lp-pain-icon,
.lp-pain h2,
.lp-pain .lp-pain-subtitle {
    text-align: center;
}
.lp-pain h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: .75rem;
    color: #fff;
}
.lp-pain .lp-pain-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 2rem;
}
.lp-pain p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,.75);
    margin-bottom: 1.25rem;
    text-align: left;
}
.lp-pain p:last-child {
    margin-bottom: 0;
}

/* ── Solution Section ── */
.lp-solution {
    padding: 4.5rem 0;
    background: #fff;
}
.lp-solution h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 3rem;
}
.lp-solution-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: box-shadow .2s, transform .2s;
}
.lp-solution-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.lp-solution-problem {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed var(--gray-300);
}
.lp-solution-problem .lp-x-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.lp-solution-problem p {
    color: #6b7280;
    font-size: .95rem;
    line-height: 1.5;
    margin: 0;
}
.lp-solution-answer {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}
.lp-solution-answer .lp-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.lp-solution-answer p {
    color: var(--navy);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.5;
    margin: 0;
}

/* ── Features Section ── */
.lp-features {
    padding: 4.5rem 0;
    background: var(--gray-50);
}
.lp-features h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: .5rem;
}
.lp-features .lp-features-sub {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.lp-feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: box-shadow .25s, transform .25s, border-color .25s;
}
.lp-feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--orange);
}
.lp-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.lp-feature-icon i {
    font-size: 1.4rem;
    color: var(--orange);
}
.lp-feature-card h5 {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .5rem;
    font-size: 1.05rem;
}
.lp-feature-card p {
    color: var(--gray-500);
    font-size: .9rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Benefits Section ── */
.lp-benefits {
    padding: 4.5rem 0;
    background: #fff;
}
.lp-benefits h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 2.5rem;
}
.lp-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
}
.lp-benefit-check {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.lp-benefit-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--navy);
    margin: 0;
    line-height: 1.5;
    padding-top: .35rem;
}

/* ── Loss / FOMO Section ── */
.lp-loss {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);
    text-align: center;
}
.lp-loss h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
}
.lp-loss p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.lp-loss-counter {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    padding: .75rem 1.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 1.5rem;
}
.lp-loss-counter i {
    font-size: 1.2rem;
}

/* ── Final CTA Section ── */
.lp-final {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, #0f1a30 100%);
    color: #fff;
    text-align: center;
}
.lp-final-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 107, 0, 0.2);
    color: var(--orange);
    padding: .5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 107, 0, 0.3);
}
.lp-final h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: .75rem;
    color: #fff;
}
.lp-final p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.7);
    max-width: 550px;
    margin: 0 auto 2rem;
}
.lp-final .btn-orange {
    padding: .85rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.lp-final-share {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}
.lp-final-share span {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}
.lp-final-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background .2s, transform .2s;
    text-decoration: none;
}
.lp-final-share a:hover {
    background: var(--orange);
    transform: scale(1.1);
}

/* ── LP Mobile Responsive ── */
@media (max-width: 767.98px) {
    .lp-authority-grid {
        gap: 1rem;
    }
    .lp-authority-item {
        font-size: .82rem;
    }
    .lp-authority-item i {
        font-size: 1.1rem;
    }
    .lp-pain {
        padding: 3rem 0;
    }
    .lp-pain h2 {
        font-size: 1.5rem;
    }
    .lp-pain p {
        font-size: .92rem;
    }
    .lp-solution {
        padding: 3rem 0;
    }
    .lp-solution h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .lp-features {
        padding: 3rem 0;
    }
    .lp-features h2 {
        font-size: 1.5rem;
    }
    .lp-benefits {
        padding: 3rem 0;
    }
    .lp-benefits h2 {
        font-size: 1.5rem;
    }
    .lp-loss {
        padding: 3rem 0;
    }
    .lp-loss h2 {
        font-size: 1.35rem;
    }
    .lp-loss-counter {
        font-size: 1.2rem;
        padding: .5rem 1rem;
    }
    .lp-final {
        padding: 3.5rem 0;
    }
    .lp-final h2 {
        font-size: 1.5rem;
    }
    .lp-final-share a {
        width: 36px;
        height: 36px;
    }
}

/* ═══════════════════════════════════════════
   IMPERSONATION BANNER
   ═══════════════════════════════════════════ */
.impersonate-banner {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    padding: .55rem 0;
    font-size: .85rem;
    font-weight: 500;
    z-index: 1050;
    box-shadow: 0 2px 8px rgba(220,53,69,.3);
}
.impersonate-banner .btn-light {
    color: #dc3545;
    border: none;
    font-size: .78rem;
    padding: .2rem .65rem;
}
.impersonate-banner .btn-light:hover {
    background: #fff;
    color: #a71d2a;
}

/* ═══════════════════════════════════════════
   CRM SIDEBAR COLLAPSIBLE GROUPS
   ═══════════════════════════════════════════ */
.crm-sidebar-groups {
    padding: 0;
}
.crm-sidebar-group {
    border-bottom: 1px solid #f0f0f0;
}
.crm-sidebar-group:last-child {
    border-bottom: none;
}
.crm-sidebar-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem 1.1rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    cursor: pointer;
    transition: background .15s;
}
.crm-sidebar-group-header:hover {
    background: #f8f9fa;
    color: var(--navy);
}
.crm-sidebar-group-header .crm-sidebar-chevron {
    font-size: .65rem;
    transition: transform .2s;
    color: #adb5bd;
}
.crm-sidebar-group-header.collapsed .crm-sidebar-chevron {
    transform: rotate(-90deg);
}
.crm-sidebar-group .nav-link {
    padding: .4rem 1.1rem .4rem 2.4rem;
    font-size: .82rem;
    color: var(--gray-600);
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 400;
    transition: all .15s;
}
.crm-sidebar-group .nav-link:hover,
.crm-sidebar-group .nav-link.active {
    background: var(--orange-light);
    color: var(--orange);
    border-left-color: var(--orange);
}
.crm-sidebar-group .nav-link i {
    width: 18px;
    text-align: center;
    font-size: .82rem;
}

/* Company sidebar section headers */
.sidebar-section-label {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
    opacity: .55;
    padding: .5rem 1rem .15rem;
    margin-top: .1rem;
}
.sidebar-section-label:first-child {
    margin-top: .3rem;
}
.sidebar-crm-header {
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: .78rem;
    padding: .45rem 1rem;
    margin: .75rem .6rem .15rem;
    border-radius: 6px;
    border-left: 3px solid var(--orange);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.sidebar-crm-header .badge {
    font-size: .6rem;
    padding: .15rem .4rem;
    font-weight: 600;
}
.sidebar-crm-section .nav-link {
    font-size: .82rem;
    padding: .35rem 1rem .35rem 1.2rem;
}
.sidebar-crm-all-link {
    display: block;
    text-align: center;
    font-size: .78rem;
    font-weight: 600;
    color: var(--orange);
    padding: .4rem 1rem;
    text-decoration: none;
    transition: background .2s;
    border-radius: 0 0 8px 8px;
}
.sidebar-crm-all-link:hover {
    background: rgba(255, 102, 0, .08);
    color: var(--orange);
}
.sidebar-crm-all-link i {
    font-size: .7rem;
    transition: transform .2s;
}
.sidebar-crm-all-link:hover i {
    transform: translateX(3px);
}

/* Mobile more-sheet section labels */
.more-sheet-section-label-main {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
    opacity: .55;
    padding: .5rem 1rem .15rem;
}

/* ─── Landing Page — Sector ────────────────────────────── */
.lp-sector-hero {
    background: var(--navy);
    color: #fff;
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}
.lp-sector-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: rgba(255,255,255,0.03);
    transform: rotate(15deg);
    pointer-events: none;
}
.lp-sector-badge {
    display: inline-block;
    background: rgba(243,112,33,0.15);
    color: var(--orange);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.lp-sector-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}
.lp-sector-title span {
    color: var(--orange);
}
.lp-sector-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.lp-sector-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
}
.lp-sector-trust-chip i {
    color: var(--orange);
    font-size: 0.75rem;
}
.lp-sector-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    color: var(--navy);
}
.lp-sector-form-card .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}
.lp-sector-form-card .form-control,
.lp-sector-form-card .form-select {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}
.lp-salary-card {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.25s;
    height: 100%;
}
.lp-salary-card:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.lp-salary-card.lp-salary-featured {
    border-color: var(--orange);
    background: rgba(243,112,33,0.04);
}
.lp-salary-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}
.lp-salary-amount small {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
}
.lp-salary-hourly {
    font-size: 0.9rem;
    color: var(--orange);
    font-weight: 600;
}
.lp-position-card {
    border-radius: 10px;
    border: 1px solid #e9ecef;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
    background: #fff;
}
.lp-position-card:hover {
    border-color: var(--orange);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.lp-position-card .position-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
}
.lp-skill-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.lp-skill-badge.entry { background: #e8f5e9; color: #2e7d32; }
.lp-skill-badge.mid { background: #e3f2fd; color: #1565c0; }
.lp-skill-badge.senior { background: #fce4ec; color: #c62828; }
.lp-mobile-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 0.75rem 1rem;
    z-index: 1040;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.lp-mobile-sticky .btn {
    font-weight: 700;
    font-size: 0.95rem;
}
@media (max-width: 767.98px) {
    .lp-sector-title {
        font-size: 1.6rem;
    }
    .lp-sector-form-card {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }
    .lp-salary-amount {
        font-size: 1.6rem;
    }
    body.has-landing-sticky {
        padding-bottom: 70px;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .lp-sector-title {
        font-size: 1.8rem;
    }
}

/* ─── Landing Page CRO — New Components ──────────────── */

/* 2-Step Form Progress Bar */
.lp-form-progress {
    background: #e9ecef;
    border-radius: 50px;
    height: 6px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.lp-form-progress-bar {
    height: 100%;
    background: var(--orange);
    border-radius: 50px;
    transition: width 0.4s ease;
}
.lp-form-step-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Trust Mini Badges (inside form) */
.lp-trust-badges-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.75rem 0;
    flex-wrap: wrap;
}
.lp-trust-mini-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: #6c757d;
}
.lp-trust-mini-badge i {
    color: #28a745;
    font-size: 0.8rem;
}

/* Pulse Chip ("X registered today") */
.lp-pulse-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(40,167,69,0.12);
    color: #1b6d2f;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.lp-pulse-dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: lpPulse 1.5s ease-in-out infinite;
}
@keyframes lpPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

/* Comparison Table */
.lp-compare-table {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e9ecef;
}
.lp-compare-table thead th {
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border: none;
}
.lp-compare-table thead th.highlight-col {
    background: var(--orange);
}
.lp-compare-table tbody td {
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    vertical-align: middle;
}
.lp-compare-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}
.bg-orange-soft {
    background: rgba(243,112,33,0.06);
}

/* Guarantees Section */
.lp-guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
}
.lp-guarantee-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.lp-guarantee-item h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.lp-guarantee-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* WhatsApp Floating Button */
.lp-wa-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 1039;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.lp-wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
    color: #fff;
}
@media (max-width: 991.98px) {
    .lp-wa-float {
        bottom: 80px;
        right: 14px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* Sector Link Cards (Other Sectors grid) */
.lp-sector-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    background: #fff;
    text-decoration: none;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s;
}
.lp-sector-link:hover {
    border-color: var(--orange);
    color: var(--orange);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.lp-sector-link i {
    color: var(--orange);
    font-size: 1rem;
}

/* Animated Counters */
.lp-counter {
    display: inline-block;
}

/* Form field validation feedback */
.lp-sector-form-card .form-control.is-valid-custom {
    border-color: #28a745;
    box-shadow: 0 0 0 0.15rem rgba(40,167,69,0.15);
}
.lp-sector-form-card .form-control.is-invalid-custom {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220,53,69,0.15);
}

/* Password show/hide toggle */
.lp-password-wrapper {
    position: relative;
}
.lp-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
}
.lp-password-toggle:hover {
    color: var(--navy);
}
