@import url('https://fonts.googleapis.com/css2?family=Average+Sans&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Vend+Sans:ital,wght@0,300..700;1,300..700&display=swap');

:root {
    --primary: #0D1F2D;
    --primary-light: #162C3E;
    --primary-dark: #07101A;
    --accent: #2E8BE0;
    --accent-light: #5AAFF0;
    --accent-hover: #1A6FC4;
    --accent-secondary: #3A7FA8;
    --accent-secondary-light: #6AA4C8;
    --accent-secondary-hover: #296080;
    --accent-mid: #1EB8D4;
    --accent-scene-base: #091824;
    --accent-scene-dark: #060F18;
    --accent-scene-navy: #050D16;
    --accent-scene-darkest: #030810;
    --accent-scene-mid: #0A1929;
    --bg-soft-yellow: #FFF8DE;
    --bg-soft-blue: #DEEDFC;
    --bg-soft-pink: #F9E3EB;
    --bg-soft-light: #F2F8FE;
    --bg-soft-orange: #FEEEE1;
    --bg-soft-green: #DEF7EB;
    --bg-soft-purple: #EBE7FD;
    --bg-soft-sky: #BFDCF9;
    --pal-0-hero: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #60a5fa 100%);
    --pal-0-accent: #2563EB;
    --pal-0-light: #DBEAFE;
    --pal-0-text: #1E40AF;
    --pal-0-cb: rgba(37, 99, 235, 0.09);
    --pal-0-cbr: rgba(37, 99, 235, 0.22);
    --pal-1-hero: linear-gradient(135deg, #3b0764 0%, #7c3aed 60%, #c4b5fd 100%);
    --pal-1-accent: #7C3AED;
    --pal-1-light: #EDE9FE;
    --pal-1-text: #5B21B6;
    --pal-1-cb: rgba(124, 58, 237, 0.09);
    --pal-1-cbr: rgba(124, 58, 237, 0.22);
    --pal-2-hero: linear-gradient(135deg, #064e3b 0%, #059669 60%, #6ee7b7 100%);
    --pal-2-accent: #059669;
    --pal-2-light: #D1FAE5;
    --pal-2-text: #065F46;
    --pal-2-cb: rgba(5, 150, 105, 0.09);
    --pal-2-cbr: rgba(5, 150, 105, 0.22);
    --pal-3-hero: linear-gradient(135deg, #78350f 0%, #d97706 60%, #fcd34d 100%);
    --pal-3-accent: #D97706;
    --pal-3-light: #FEF3C7;
    --pal-3-text: #92400E;
    --pal-3-cb: rgba(217, 119, 6, 0.09);
    --pal-3-cbr: rgba(217, 119, 6, 0.22);
    --pal-4-hero: linear-gradient(135deg, #881337 0%, #e11d48 60%, #fda4af 100%);
    --pal-4-accent: #E11D48;
    --pal-4-light: #FFE4E6;
    --pal-4-text: #9F1239;
    --pal-4-cb: rgba(225, 29, 72, 0.09);
    --pal-4-cbr: rgba(225, 29, 72, 0.22);
    --pal-5-hero: linear-gradient(135deg, #083344 0%, #0891b2 60%, #67e8f9 100%);
    --pal-5-accent: #0891B2;
    --pal-5-light: #CFFAFE;
    --pal-5-text: #164E63;
    --pal-5-cb: rgba(8, 145, 178, 0.09);
    --pal-5-cbr: rgba(8, 145, 178, 0.22);
    --pal-6-hero: linear-gradient(135deg, #7c2d12 0%, #ea580c 60%, #fed7aa 100%);
    --pal-6-accent: #EA580C;
    --pal-6-light: #FFEDD5;
    --pal-6-text: #7C2D12;
    --pal-6-cb: rgba(234, 88, 12, 0.09);
    --pal-6-cbr: rgba(234, 88, 12, 0.22);
    --pal-7-hero: linear-gradient(135deg, #134e4a 0%, #0d9488 60%, #5eead4 100%);
    --pal-7-accent: #0D9488;
    --pal-7-light: #CCFBF1;
    --pal-7-text: #134E4A;
    --pal-7-cb: rgba(13, 148, 136, 0.09);
    --pal-7-cbr: rgba(13, 148, 136, 0.22);
    --pal-8-hero: linear-gradient(135deg, #4a044e 0%, #a21caf 60%, #f0abfc 100%);
    --pal-8-accent: #A21CAF;
    --pal-8-light: #FAE8FF;
    --pal-8-text: #701A75;
    --pal-8-cb: rgba(162, 28, 175, 0.09);
    --pal-8-cbr: rgba(162, 28, 175, 0.22);
    --pal-9-hero: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 60%, #a5b4fc 100%);
    --pal-9-accent: #4F46E5;
    --pal-9-light: #EEF2FF;
    --pal-9-text: #3730A3;
    --pal-9-cb: rgba(79, 70, 229, 0.09);
    --pal-9-cbr: rgba(79, 70, 229, 0.22);
    --pal-10-hero: linear-gradient(135deg, #365314 0%, #65a30d 60%, #d9f99d 100%);
    --pal-10-accent: #65A30D;
    --pal-10-light: #F7FEE7;
    --pal-10-text: #3F6212;
    --pal-10-cb: rgba(101, 163, 13, 0.09);
    --pal-10-cbr: rgba(101, 163, 13, 0.22);
    --pal-11-hero: linear-gradient(135deg, #082f49 0%, #0284c7 60%, #7dd3fc 100%);
    --pal-11-accent: #0284C7;
    --pal-11-light: #E0F2FE;
    --pal-11-text: #0C4A6E;
    --pal-11-cb: rgba(2, 132, 199, 0.09);
    --pal-11-cbr: rgba(2, 132, 199, 0.22);
    --co-accent: #2E8BE0;
    --co-accent-light: #5AAFF0;
    --co-accent-tint: #E3F2FD;
    --co-accent-border: #90CAF9;
    --co-green: #10B981;
    --co-green-tint: #D1FAE5;
    --co-green-solid: #34D399;
    --co-green-fill: rgba(16, 185, 129, 0.12);
    --co-green-border: rgba(16, 185, 129, 0.30);
    --co-amber: #F59E0B;
    --co-amber-tint: #FEF3C7;
    --co-amber-solid: #FCD34D;
    --co-amber-medium: #FBBF24;
    --co-red: #EF4444;
    --co-red-tint: #FEE2E2;
    --co-red-solid: #FCA5A5;
    --co-red-fill: rgba(239, 68, 68, 0.12);
    --co-red-border: rgba(239, 68, 68, 0.30);
    --co-red-input-border: rgba(239, 68, 68, 0.50);
    --co-red-input-fill: rgba(239, 68, 68, 0.06);
    --co-teal: #14B8A6;
    --co-teal-tint: #CCFBF1;
    --co-violet: #8B5CF6;
    --co-violet-tint: #EDE9FE;
    --co-blue: #3B82F6;
    --co-blue-tint: #DBEAFE;
    --co-orange: #EA580C;
    --co-orange-tint: #FFEDD5;
    --co-rose: #E11D48;
    --co-rose-tint: #FFE4E6;
    --co-cyan: #0891B2;
    --co-cyan-tint: #CFFAFE;
    --co-emerald: #059669;
    --co-emerald-tint: #D1FAE5;
    --co-indigo: #4F46E5;
    --co-indigo-tint: #EEF2FF;
    --co-sky: #0284C7;
    --co-sky-tint: #E0F2FE;
    --co-lime: #65A30D;
    --co-lime-tint: #F7FEE7;
    --co-fuchsia: #A21CAF;
    --co-fuchsia-tint: #FAE8FF;
    --bg-main: #E8F1FA;
    --bg-card: #F2F8FE;
    --bg-hover: #D8EAF7;
    --bg-active: #C8DFEF;
    --bg-matte: #EDF4FB;
    --bg-input: #F2F8FE;
    --bg-submenu: rgba(46, 139, 224, 0.07);
    --bg-accent-light: rgba(46, 139, 224, 0.11);
    --bg-accent-lighter: rgba(46, 139, 224, 0.05);
    --bg-accent-hover: rgba(46, 139, 224, 0.17);
    --bg-accent-secondary-light: rgba(58, 127, 168, 0.10);
    --bg-accent-secondary-lighter: rgba(58, 127, 168, 0.05);
    --bg-section-1: linear-gradient(160deg, #EBF4FD 0%, #E0EEF9 50%, #D5E8F6 100%);
    --bg-section-2: linear-gradient(135deg, #F0F7FF 0%, #E4F0FB 60%, #D8EAF7 100%);
    --bg-section-3: linear-gradient(180deg, #F5F9FE 0%, #EAF3FB 100%);
    --bg-section-alt: linear-gradient(135deg,
            rgba(46, 139, 224, 0.06) 0%,
            rgba(30, 184, 212, 0.05) 50%,
            rgba(58, 127, 168, 0.08) 100%);
    --bg-card-blue: linear-gradient(135deg, #EBF4FD 0%, #DBEAFE 100%);
    --bg-card-violet: linear-gradient(135deg, #F5F0FF 0%, #EDE9FE 100%);
    --bg-card-emerald: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    --bg-card-amber: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    --bg-card-rose: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
    --bg-card-cyan: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 100%);
    --bg-card-teal: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
    --bg-card-indigo: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    --bg-card-orange: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    --bg-card-fuchsia: linear-gradient(135deg, #FDF4FF 0%, #FAE8FF 100%);
    --bg-card-lime: linear-gradient(135deg, #F7FEE7 0%, #ECFCCB 100%);
    --bg-card-sky: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    --bg-sidebar: radial-gradient(ellipse at top, rgba(46, 139, 224, 0.24) 0%, transparent 55%),
        linear-gradient(180deg,
            #162C3E 0%, #112437 18%, #0D1D2F 36%,
            #091828 54%, #0D1F2D 74%, #07101A 100%);
    --bg-glass-card: rgba(9, 22, 36, 0.62);
    --bg-glass-03: rgba(255, 255, 255, 0.03);
    --bg-glass-04: rgba(255, 255, 255, 0.04);
    --bg-glass-05: rgba(255, 255, 255, 0.05);
    --bg-glass-06: rgba(255, 255, 255, 0.06);
    --bg-glass-07: rgba(255, 255, 255, 0.07);
    --bg-glass-light: rgba(255, 255, 255, 0.72);
    --bg-glass-light-md: rgba(255, 255, 255, 0.85);
    --bg-glass-light-sm: rgba(255, 255, 255, 0.55);
    --bg-auth-fill-07: rgba(46, 139, 224, 0.07);
    --bg-auth-fill-08: rgba(46, 139, 224, 0.08);
    --bg-auth-fill-10: rgba(46, 139, 224, 0.10);
    --bg-auth-fill-12: rgba(46, 139, 224, 0.12);
    --bg-auth-fill-15: rgba(46, 139, 224, 0.15);
    --bg-auth-fill-20: rgba(46, 139, 224, 0.20);
    --bg-auth-fill-25: rgba(46, 139, 224, 0.25);
    --bg-auth-fill-30: rgba(46, 139, 224, 0.30);
    --bg-auth-fill-35: rgba(46, 139, 224, 0.35);
    --hero-gradient-start: #EBF4FD;
    --hero-gradient-mid: #DAECf8;
    --hero-gradient-end: #C5DFF4;
    --hero-gradient: linear-gradient(135deg,
            var(--hero-gradient-start) 0%,
            var(--hero-gradient-mid) 50%,
            var(--hero-gradient-end) 100%);
    --hero-overlay: linear-gradient(135deg,
            rgba(46, 139, 224, 0.09) 0%,
            rgba(58, 127, 168, 0.14) 100%);
    --hero-gradient-warm: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 50%, #FFEDD5 100%);
    --hero-gradient-cool: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #E0E7FF 100%);
    --hero-gradient-vivid: linear-gradient(135deg,
            #EBF4FD 0%, #E0E8FF 25%, #EDE9FE 50%, #E0F2FE 75%, #ECFDF5 100%);
    --hero-gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.10) 0%, transparent 45%),
        radial-gradient(ellipse at 60% 80%, rgba(5, 150, 105, 0.08) 0%, transparent 40%),
        linear-gradient(160deg, #EBF4FD 0%, #E8F1FA 100%);
    --auth-scene-gradient: linear-gradient(135deg,
            #060F18 0%, #0A1929 35%, #060F18 65%, #030810 100%);
    --auth-cta-gradient: linear-gradient(135deg,
            var(--accent-hover) 0%, var(--accent) 50%, var(--accent-light) 100%);
    --auth-h1-gradient: linear-gradient(135deg,
            var(--accent-light) 0%, var(--accent) 50%, var(--accent-secondary-light) 100%);
    --auth-accent-line: linear-gradient(90deg,
            transparent,
            rgba(46, 139, 224, 0.70) 30%,
            rgba(90, 175, 240, 0.95) 50%,
            rgba(46, 139, 224, 0.70) 70%,
            transparent);
    --gradient-brand: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 60%, var(--accent-light) 100%);
    --gradient-brand-v: linear-gradient(180deg, var(--accent) 0%, var(--accent-light) 100%);
    --gradient-blue-violet: linear-gradient(135deg, #1e3a8a 0%, #4f46e5 50%, #7c3aed 100%);
    --gradient-blue-cyan: linear-gradient(135deg, #1e3a8a 0%, #0891b2 60%, #67e8f9 100%);
    --gradient-cyan-emerald: linear-gradient(135deg, #083344 0%, #059669 60%, #6ee7b7 100%);
    --gradient-rose-orange: linear-gradient(135deg, #881337 0%, #ea580c 60%, #fcd34d 100%);
    --gradient-violet-fuchsia: linear-gradient(135deg, #3b0764 0%, #7c3aed 50%, #a21caf 100%);
    --gradient-teal-sky: linear-gradient(135deg, #134e4a 0%, #0284c7 60%, #7dd3fc 100%);
    --gradient-amber-lime: linear-gradient(135deg, #78350f 0%, #65a30d 60%, #d9f99d 100%);
    --gradient-wash-blue: linear-gradient(160deg, rgba(37, 99, 235, 0.06) 0%, rgba(2, 132, 199, 0.04) 100%);
    --gradient-wash-violet: linear-gradient(160deg, rgba(124, 58, 237, 0.06) 0%, rgba(162, 28, 175, 0.04) 100%);
    --gradient-wash-emerald: linear-gradient(160deg, rgba(5, 150, 105, 0.06) 0%, rgba(13, 148, 136, 0.04) 100%);
    --gradient-wash-rose: linear-gradient(160deg, rgba(225, 29, 72, 0.06) 0%, rgba(234, 88, 12, 0.04) 100%);
    --gradient-divider: linear-gradient(90deg,
            transparent 0%,
            rgba(46, 139, 224, 0.30) 20%,
            rgba(46, 139, 224, 0.60) 50%,
            rgba(46, 139, 224, 0.30) 80%,
            transparent 100%);
    --gradient-divider-vivid: linear-gradient(90deg,
            transparent 0%,
            rgba(124, 58, 237, 0.40) 20%,
            rgba(46, 139, 224, 0.70) 50%,
            rgba(5, 150, 105, 0.40) 80%,
            transparent 100%);
    --text-primary: #0D1F2D;
    --text-secondary: #162C3E;
    --text-muted: #3A5A70;
    --text-inverse: #F0F7FF;
    --text-light: #6AA4C8;
    --text-accent: #2E8BE0;
    --text-accent-secondary: #3A7FA8;
    --text-sidebar: rgba(235, 246, 255, 0.97);
    --text-sidebar-hover: #60C0F8;
    --text-sidebar-muted: rgba(235, 246, 255, 0.58);
    --text-white: #ffffff;
    --text-bright: #EBF6FF;
    --text-90: rgba(235, 246, 255, 0.90);
    --text-85: rgba(235, 246, 255, 0.85);
    --text-80: rgba(235, 246, 255, 0.80);
    --text-75: rgba(235, 246, 255, 0.75);
    --text-62: rgba(235, 246, 255, 0.62);
    --text-60: rgba(235, 246, 255, 0.60);
    --text-55: rgba(235, 246, 255, 0.55);
    --text-50: rgba(235, 246, 255, 0.50);
    --text-40: rgba(235, 246, 255, 0.40);
    --text-35: rgba(235, 246, 255, 0.35);
    --text-30: rgba(235, 246, 255, 0.30);
    --text-25: rgba(235, 246, 255, 0.25);
    --text-gradient-brand: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 50%, var(--accent-light) 100%);
    --text-gradient-vivid: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #0891b2 100%);
    --text-gradient-warm: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
    --text-gradient-cool: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
    --border-color: #B0CCE2;
    --border-light: #C8DFF0;
    --border-dark: #7AAAC6;
    --border-sidebar: rgba(46, 139, 224, 0.22);
    --border-accent: rgba(46, 139, 224, 0.36);
    --border-accent-hover: rgba(46, 139, 224, 0.60);
    --border-accent-secondary: rgba(58, 127, 168, 0.30);
    --border-auth-09: rgba(46, 139, 224, 0.09);
    --border-auth-12: rgba(46, 139, 224, 0.12);
    --border-auth-14: rgba(46, 139, 224, 0.14);
    --border-auth-16: rgba(46, 139, 224, 0.16);
    --border-auth-18: rgba(46, 139, 224, 0.18);
    --border-auth-20: rgba(46, 139, 224, 0.20);
    --border-auth-30: rgba(46, 139, 224, 0.30);
    --border-auth-35: rgba(46, 139, 224, 0.35);
    --border-auth-40: rgba(46, 139, 224, 0.40);
    --border-auth-50: rgba(46, 139, 224, 0.50);
    --border-auth-60: rgba(46, 139, 224, 0.60);
    --border-white-04: rgba(255, 255, 255, 0.04);
    --border-white-08: rgba(255, 255, 255, 0.08);
    --border-white-10: rgba(255, 255, 255, 0.10);
    --border-white-15: rgba(255, 255, 255, 0.15);
    --border-pal-blue: rgba(37, 99, 235, 0.25);
    --border-pal-violet: rgba(124, 58, 237, 0.25);
    --border-pal-emerald: rgba(5, 150, 105, 0.25);
    --border-pal-amber: rgba(217, 119, 6, 0.25);
    --border-pal-rose: rgba(225, 29, 72, 0.25);
    --border-pal-cyan: rgba(8, 145, 178, 0.25);
    --border-pal-teal: rgba(13, 148, 136, 0.25);
    --border-pal-indigo: rgba(79, 70, 229, 0.25);
    --border-pal-orange: rgba(234, 88, 12, 0.25);
    --border-pal-fuchsia: rgba(162, 28, 175, 0.25);
    --border-pal-lime: rgba(101, 163, 13, 0.25);
    --border-pal-sky: rgba(2, 132, 199, 0.25);
    --font-primary: "Vend Sans", sans-serif;
    --font-display: "Bricolage Grotesque", sans-serif;
    --font-code: "Poppins", sans-serif;
    --sidebar-width: 270px;
    --header-height: 68px;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 2.5rem;
    --spacing-3xl: 3rem;
    --shadow-sm: 0 1px 3px 0 rgba(9, 22, 36, 0.12), 0 1px 2px 0 rgba(46, 139, 224, 0.07);
    --shadow-md: 0 4px 8px -1px rgba(9, 22, 36, 0.16), 0 2px 4px -1px rgba(46, 139, 224, 0.10);
    --shadow-lg: 0 10px 20px -3px rgba(9, 22, 36, 0.20), 0 4px 8px -2px rgba(46, 139, 224, 0.12);
    --shadow-xl: 0 20px 28px -5px rgba(9, 22, 36, 0.24), 0 10px 12px -5px rgba(46, 139, 224, 0.14);
    --shadow-2xl: 0 25px 50px -12px rgba(9, 22, 36, 0.32);
    --shadow-card: 0 32px 64px rgba(3, 8, 16, 0.60),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(255, 255, 255, 0.09) inset;
    --shadow-cta: 0 4px 20px rgba(46, 139, 224, 0.40), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
    --shadow-cta-hover: 0 8px 32px rgba(46, 139, 224, 0.58), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
    --shadow-accent-12: rgba(46, 139, 224, 0.12);
    --shadow-accent-20: rgba(46, 139, 224, 0.20);
    --shadow-accent-25: rgba(46, 139, 224, 0.25);
    --shadow-accent-35: rgba(46, 139, 224, 0.35);
    --shadow-accent-50: rgba(46, 139, 224, 0.50);
    --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 240ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 340ms cubic-bezier(0.4, 0, 0.2, 1);
    --radius-xs: 2px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-2xl: 22px;
    --radius-3xl: 28px;
    --radius-full: 9999px;
    --radius-card: 16px;
    --radius-button: 12px;
    --radius-input: 8px;
    --radius-modal: 20px;
    --radius-dropdown: 12px;
    --radius-pill: 50px;
}

/* ========================================
   GLOBAL VARIABLES & RESETS
   ======================================== */

.companies-page-wrapper {
    background: var(--bg-main);
    min-height: 100vh;
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    overflow-x: hidden;
}

/* ========================================
   BREADCRUMB SECTION - COMPACT
   ======================================== */

.breadcrumb-section-comp {
    background: linear-gradient(135deg, rgba(10, 6, 8, 0.5) 0%, rgba(26, 15, 18, 0.45) 100%),
        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1920&q=80') center/cover no-repeat;
    padding: 50px 0;
    border-bottom: 2px solid var(--border-light);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.breadcrumb-section-comp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    pointer-events: none;
}

.breadcrumb-comp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 1rem 0;
    padding: 0;
    list-style: none;
    font-size: 0.75rem;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.6s ease-out 0.1s backwards;
}

.breadcrumb-item-comp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 500;
}

.breadcrumb-item-comp a {
    color: rgba(255, 255, 255, 0.92);
    transition: all var(--transition-fast);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    position: relative;
    text-decoration: none;
}

.breadcrumb-item-comp a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-light);
    transition: width var(--transition-fast);
}

.breadcrumb-item-comp a:hover {
    color: var(--accent-light);
    transform: translateY(-1px);
}

.breadcrumb-item-comp a:hover::after {
    width: 100%;
}

.breadcrumb-item-comp.active, .breadcrumb-item-comp.active-comp {
    color: var(--text-inverse);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb-item-comp:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    font-weight: 300;
}

.page-title-comp {
    color: var(--text-inverse);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeIn 0.6s ease-out;
    font-family: var(--font-display);
}

.page-title-comp::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    margin: 0.75rem auto 0;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(49, 112, 142, 0.4);
}

.page-subtitle-comp {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeIn 0.6s ease-out 0.2s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }


    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   MAIN CONTENT SECTION - COMPACT
   ======================================== */

.companies-content-section {
    padding: 1.5rem 0 2.5rem 0;
}

.row-comp-three-col {
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    gap: 1.5rem;
    align-items: start;
    margin: 0;
}

/* ========================================
   LEFT SIDEBAR - FILTERS (COMPACT & STICKY)
   ======================================== */

.filters-sidebar-comp {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-sticky-comp {
    position: sticky;
    top: calc(var(--header-height, 70px) + 1rem);
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header-height, 70px) - 3rem);
    overflow-y: auto;
    overflow-x: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-hover);
}

.sidebar-sticky-comp.is-scrolled {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.sidebar-sticky-comp::-webkit-scrollbar {
    width: 6px;
}

.sidebar-sticky-comp::-webkit-scrollbar-track {
    background: var(--bg-hover);
    border-radius: var(--radius-lg);
    margin: 6px 0;
}

.sidebar-sticky-comp::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-card);
    transition: background var(--transition-fast);
}

.sidebar-sticky-comp::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

.filters-header-comp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-light);
}

.filters-title-comp {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.btn-clear-filters-comp {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.btn-clear-filters-comp:hover {
    background: var(--bg-hover);
    color: var(--accent-hover);
}

.filter-group-comp {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.filter-group-comp:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-heading-comp {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.625rem 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-heading-comp svg, .filter-heading-comp svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.filter-search-box-comp {
    position: relative;
    margin-bottom: 0.625rem;
}

.search-icon-comp {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    width: 14px;
    height: 14px;
}

.filter-search-input-comp {
    width: 100%;
    padding: 0.5rem 0.625rem 0.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--text-primary);
    background: var(--bg-input);
    transition: all var(--transition-fast);
    outline: none;
}

.filter-search-input-comp:focus {
    border-color: var(--accent);
    background: var(--bg-card);
}

.filter-search-input-comp::placeholder {
    color: var(--text-light);
}

.filter-options-comp {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.filter-checkbox-comp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.filter-checkbox-comp:hover {
    background: var(--bg-hover);
}

.filter-checkbox-comp input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    cursor: pointer;
    appearance: none;
    background: var(--bg-card);
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.filter-checkbox-comp input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.filter-checkbox-comp input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 7px;
    border: solid var(--text-inverse);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label-comp {
    flex: 1;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.checkbox-count-comp {
    font-size: 0.6875rem;
    color: var(--text-light);
    font-weight: 600;
}

.hidden-option-comp {
    display: none !important;
}

.btn-see-more-comp {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px dashed var(--border-color);
    background: transparent;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-see-more-comp:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
}

.btn-see-more-compsvg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.btn-see-more-comp.expandedsvg {
    transform: rotate(180deg);
}

.btn-see-more-comp.expanded~.filter-options-comp .hidden-option-comp {
    display: flex !important;
}

/* ========================================
   MAIN CONTENT AREA - COMPACT
   ======================================== */

.companies-main-content {
    flex: 1;
    min-width: 0;
}

.content-toolbar-comp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.toolbar-left-comp {
    display: flex;
    align-items: center;
}

.results-count-comp {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-count-compsvg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.count-highlight {
    font-weight: 800;
    color: var(--accent);
}

.toolbar-right-comp {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.view-toggle-comp {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-hover);
    padding: 0.25rem;
    border-radius: var(--radius-md);
}

.view-btn-comp {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-icon-comp {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    transition: stroke var(--transition-fast);
}

.view-btn-comp:hover .view-icon-comp {
    stroke: var(--accent);
}

.view-btn-comp.active-view-comp {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.view-btn-comp.active-view-comp .view-icon-comp {
    stroke: var(--accent);
}

.sort-dropdown-comp {
    position: relative;
}

.sort-trigger-comp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sort-trigger-comp:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
}

.sort-icon-comp, .dropdown-arrow-comp {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
}

.sort-menu-comp {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-base);
    z-index: 100;
}

.sort-dropdown-comp:hover .sort-menu-comp {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option-comp {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.sort-option-compsvg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sort-option-comp:hover {
    background: var(--bg-hover);
    color: var(--accent);
}

.sort-option-comp.active-sort-comp {
    background: var(--bg-active);
    color: var(--accent);
    font-weight: 600;
}

/* ========================================
   COMPANIES GRID - 2 COLUMN COMPACT
   ======================================== */

.companies-grid-comp {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity var(--transition-base);
    padding: 0;
}

.companies-grid-comp.active-layout-comp {
    opacity: 1;
    max-height: none;
}

.company-card-comp {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    position: relative;
    animation: card-enter 0.4s ease-out both;
}

.company-card-comp:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.company-card-header-comp {
    position: relative;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-card) 100%);
    gap: 0.75rem;
}

.company-logo-wrapper-comp {
    width: 56px;
    height: 56px;
    background: var(--bg-hover);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo-wrapper-comp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.company-badges-comp {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.badge-featured-comp {
    background: linear-gradient(135deg, var(--co-amber) 0%, var(--co-orange) 100%);
    color: #fff;
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.625rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-featured-comp svg {
    width: 10px;
    height: 10px;
    color: var(--accent);
}

.company-card-body-comp {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.company-name-card-comp {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
}

.company-rating-comp {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.stars-comp {
    display: flex;
    gap: 2px;
    align-items: center;
}

.star-filled-comp, .star-half-comp, .star-empty-comp {
    width: 14px;
    height: 14px;
    fill: #FBBF24;
    stroke: #FBBF24;
}

.star-empty-comp {
    fill: none;
    stroke: var(--border-dark);
    color: var(--border-color);
    width: 14px;
    height: 14px;
}

.rating-text-comp {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
}

.company-meta-comp {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
    flex-direction: column;
}

.meta-item-comp {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.meta-icon-comp {
    width: 13px;
    height: 13px;
    stroke: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--accent);
}

.meta-item-comp span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

.company-tags-comp {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: auto;
}

.tag-comp {
    background: var(--bg-soft-blue);
    color: var(--accent);
    border: 1px solid var(--border-accent);
    font-size: 0.67rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-comp:hover {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
}

.company-card-footer-comp {
    padding: 0.875rem 1rem;
    background: var(--bg-hover);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.875rem;
}

.open-positions-comp {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--co-green);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--co-green-fill);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--co-green-border);
}

.open-positions-comp svg {
    width: 13px;
    height: 13px;
    color: var(--accent);
}

.btn-view-company-comp {
    padding: 0.4375rem 0.875rem;
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-primary);
}

.btn-view-company-comp:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-accent-25);
    color: var(--text-inverse);
}

.btn-view-company-comp svg {
    width: 13px;
    height: 13px;
}

/* ========================================
   LIST VIEW
   ======================================== */

.companies-list-comp {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity var(--transition-base);
}

.companies-list-comp.active-layout-comp {
    opacity: 1;
    max-height: none;
    display: flex;
}

/* ========================================
   PAGINATION - COMPACT
   ======================================== */

.pagination-wrapper-comp {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination-comp {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--bg-card);
    padding: 0.625rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.page-btn-comp {
    min-width: 36px;
    height: 36px;
    padding: 0 0.625rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.page-btn-comp:hover:not(:disabled):not(.active-page-comp) {
    background: var(--bg-hover);
    color: var(--accent);
}

.page-btn-comp.active-page-comp {
    background: var(--accent);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

.page-btn-comp:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-btn-comp svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.page-dots-comp {
    color: var(--text-light);
    font-weight: 600;
    padding: 0 0.375rem;
}

/* ========================================
   RIGHT SIDEBAR - WIDGETS (COMPACT)
   ======================================== */

.featured-sidebar-comp {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: calc(var(--header-height, 70px) + 1rem);
    align-self: flex-start;
}

.featured-compact-widget-comp, .alert-compact-widget-comp, .stats-compact-widget-comp {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.featured-compact-widget-comp h4, .stats-compact-widget-comp h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.featured-compact-widget-comp h4 svg, .featured-compact-widget-comp h4 i, .stats-compact-widget-comp h4 svg, .stats-compact-widget-comp h4 svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.companies-compact-list-comp {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.company-compact-item-comp {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.company-compact-item-comp:hover {
    background: var(--bg-active);
    transform: translateX(3px);
}

.company-compact-item-comp img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: var(--bg-card);
    padding: 0.375rem;
    border: 1px solid var(--border-light);
}

.company-compact-item-comp div {
    display: flex;
    flex-direction: column;
    gap: 0.1875rem;
    flex: 1;
}

.company-compact-item-comp strong {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.company-compact-item-comp span {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.alert-compact-widget-comp {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--text-inverse);
    text-align: center;
}

.alert-compact-widget-comp svg, .alert-compact-widget-compsvg {
    width: 28px;
    height: 28px;
    margin-bottom: 0.625rem;
}

.alert-compact-widget-comp h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.375rem 0;
    color: var(--text-inverse);
    justify-content: center;
}

.alert-compact-widget-comp p {
    font-size: 0.8125rem;
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.alert-compact-widget-comp form {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.alert-compact-widget-comp input {
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text-inverse);
    outline: none;
}

.alert-compact-widget-comp input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.alert-compact-widget-comp button {
    padding: 0.75rem;
    background: var(--bg-card);
    color: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.alert-compact-widget-comp button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stats-compact-grid-comp {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.stats-compact-grid-comp>div {
    background: var(--bg-hover);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.stats-compact-grid-comp strong {
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
}

.stats-compact-grid-comp span {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

.company-hero-glass {
    position: relative;
    padding: 2rem 0;
    background: var(--hero-gradient);
    overflow: hidden;
    border-radius: 15px;
}

.glass-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, var(--bg-accent-light) 0%, transparent 50%);
    pointer-events: none;
}

.company-profile-glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.profile-left-glass {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex: 1;
}

.company-avatar-glass {
    width: 80px;
    height: 80px;
    position: relative;
    flex-shrink: 0;
}

.company-avatar-glass img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    object-fit: contain;
    background: var(--bg-card);
    padding: 0.875rem;
    box-shadow: var(--shadow-sm);
}

.verified-pulse {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-inverse);
    animation: pulse 2s infinite;
}

.verified-pulse svg {
    width: 12px;
    height: 12px;
    color: var(--text-inverse);
    stroke: var(--text-inverse);
    fill: none;
    stroke-width: 3;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }


    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.company-meta-glass {
    flex: 1;
}

.status-chips {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.chip-glass {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.3125rem 0.75rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chip-glass.verified {
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
}

.chip-glass.featured {
    color: var(--accent);
    background: var(--bg-accent-light);
}

.company-title-glass {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
}

.rating-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars-inline {
    color: #FBBF24;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 2px;
}

.rating-val {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-count {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.meta-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-tags span {
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.meta-tags svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.profile-actions-glass {
    display: flex;
    gap: 0.625rem;
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition-slow);
    white-space: nowrap;
}

.btn-glass svg {
    width: 14px;
    height: 14px;
}

.btn-glass.secondary {
    background: var(--bg-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-glass.secondary:hover {
    background: var(--bg-card);
    transform: translateY(-2px);
}

.btn-glass.primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

.btn-glass.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stats-glass-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.stat-glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-sm);
}

.stat-glass-card:hover {
    background: var(--bg-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon-glass {
    width: 42px;
    height: 42px;
    background: var(--bg-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-glass svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.stat-content-glass {
    display: flex;
    flex-direction: column;
    gap: 0.1875rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.company-content-glass {
    padding: 2rem 0 3rem;
    background: var(--bg-main);
}

.glass-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.tab-glass {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-slow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-glass:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.tab-glass.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

.tab-badge {
    background: rgba(255, 255, 255, 0.25);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.1875rem 0.5rem;
    border-radius: var(--radius-pill);
}

.content-layout-glass {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
}

.main-content-glass {
    min-width: 0;
}

.tab-content-glass {
    display: none;
    animation: fadeIn 0.4s;
}

.tab-content-glass.active {
    display: block;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
}

.glass-card:hover {
    box-shadow: var(--shadow-md);
}

.glass-card.compact {
    padding: 1rem;
}

.card-title-glass {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.text-glass {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.highlights-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight-chip {
    background: var(--bg-accent-light);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4375rem 0.875rem;
    border-radius: var(--radius-pill);
    transition: all var(--transition-fast);
}

.highlight-chip:hover {
    background: var(--bg-accent-hover);
    transform: translateY(-1px);
}

.info-grid-glass {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.info-item-glass {
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
}

.label-glass {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.value-glass {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tech-stack-glass {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item-glass {
    background: var(--bg-accent-light);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.tech-item-glass:hover {
    background: var(--bg-accent-hover);
    transform: translateY(-1px);
}

.carousel-header-glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.carousel-header-glass h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.carousel-nav-glass {
    display: flex;
    gap: 0.5rem;
}

.nav-btn-glass {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-slow);
}

.nav-btn-glass:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.nav-btn-glass:hoversvg {
    color: var(--text-inverse);
}

.nav-btn-glasssvg {
    width: 16px;
    height: 16px;
    color: var(--text-primary);
}

.jobs-swiper, .reviews-swiper {
    overflow: hidden;
    padding: 0.5rem 0 1rem;
}

.job-card-glass, .review-card-glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    min-height: 220px;
}

.job-card-glass:hover, .review-card-glass:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.job-header-glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
}

.job-tag {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.3125rem 0.625rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    color: var(--text-inverse);
}

.job-tag.hot {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.job-tag.new {
    background: linear-gradient(135deg, #10B981, #059669);
}

.job-tag.remote {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.bookmark-glass {
    width: 28px;
    height: 28px;
    background: var(--bg-hover);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-slow);
}

.bookmark-glass:hover {
    background: var(--accent);
}

.bookmark-glass:hoversvg {
    color: var(--text-inverse);
}

.bookmark-glass svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
}

.job-title-glass {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.job-meta-glass {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.salary-glass {
    color: var(--accent);
    font-weight: 700;
}

.job-tags-glass {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.job-tags-glass span {
    background: var(--bg-accent-light);
    color: var(--accent);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.3125rem 0.625rem;
    border-radius: var(--radius-pill);
}

.btn-glass.apply {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.rating-overview-glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.rating-big-glass {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rating-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stars-big {
    color: #FBBF24;
    font-size: 1.375rem;
    letter-spacing: 2px;
}

.rating-total {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.rating-bars-glass {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.bar-row-glass {
    display: grid;
    grid-template-columns: 30px 1fr 40px;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.bar-track-glass {
    height: 6px;
    background: var(--bg-accent-light);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.bar-fill-glass {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: var(--radius-pill);
    transition: width 0.8s;
}

.reviewer-glass {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
}

.reviewer-glass img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-light);
    flex-shrink: 0;
    object-fit: cover;
}

.reviewer-glass h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    font-family: var(--font-display);
    line-height: 1.3;
}

.reviewer-glass p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0 0 0.375rem 0;
    line-height: 1.4;
}

.review-rating-glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1.5px solid var(--border-light);
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
}

.review-text-glass {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.helpful-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-hover);
    border: 1.5px solid var(--border-light);
    padding: 0.625rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: auto;
    align-self: flex-start;
}

.helpful-glass:hover {
    background: var(--bg-accent-light);
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.helpful-glass svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.culture-grid-glass {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
}

.culture-item-glass {
    text-align: center;
    padding: 1.125rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
    transition: all var(--transition-slow);
}

.culture-item-glass:hover {
    background: var(--bg-accent-light);
    transform: translateY(-2px);
}

.culture-icon-glass {
    font-size: 2.25rem;
    margin-bottom: 0.625rem;
}

.culture-item-glass h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.3125rem 0;
}

.culture-item-glass p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

.locations-glass {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.location-chip-glass {
    background: var(--bg-accent-light);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.salary-list-glass {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.salary-row-glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.salary-row-glass:hover {
    background: var(--bg-accent-light);
    transform: translateX(3px);
}

.salary-row-glass svg {
    width: 0.9375rem;
    height: 0.9375rem;
    margin-right: 8px;
}

.salary-range-glass {
    font-weight: 700;
    color: var(--accent);
}

.benefits-grid-glass {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
}

.benefit-glass {
    background: var(--bg-accent-lighter);
    padding: 0.75rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.benefit-glass:hover {
    background: var(--bg-accent-light);
    transform: translateY(-1px);
}

.sidebar-glass {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    align-self: flex-start;
}

.sticky-card {
    margin-bottom: 1.25rem;
}

.btn-glass.cta-full {
    width: 100%;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.contact-compact-glass {
    padding: 0.875rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 0.875rem;
}

.contact-compact-glass h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

.contact-link-glass {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    margin-bottom: 0.3125rem;
}

.contact-link-glass:hover {
    background: var(--bg-accent-lighter);
    color: var(--accent);
}

.contact-link-glass svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.social-compact-glass {
    display: flex;
    gap: 0.5rem;
}

.social-icon-glass {
    width: 32px;
    height: 32px;
    background: var(--bg-accent-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all var(--transition-slow);
    padding: 4px;
}

.social-icon-glass:hover {
    background: var(--accent);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.social-icon-glass svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.sidebar-title-glass {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.875rem 0;
}

.similar-list-glass {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.similar-item-glass {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-slow);
}

.similar-item-glass:hover {
    background: var(--bg-accent-light);
    transform: translateX(3px);
}

.similar-item-glass img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    padding: 0.3125rem;
    background: var(--bg-card);
}

.similar-item-glass h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.1875rem 0;
}

.similar-item-glass span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.chip-glass.hiring {
    color: #DC2626;
    background: rgba(239, 68, 68, 0.1);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mv-item {
    padding: 1.25rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
    text-align: center;
}

.mv-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.mv-item h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.mv-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.tech-categories {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tech-category h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.award-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.award-item:hover {
    background: var(--bg-accent-light);
    transform: translateY(-2px);
}

.award-year {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.award-content h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.award-content p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.jobs-filter {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-select {
    flex: 1;
    min-width: 150px;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-hover);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-select:hover {
    background: var(--bg-card);
    border-color: var(--accent);
}

.review-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
}

.review-cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-sm);
}

.review-cat-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.cat-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cat-stars {
    color: #FBBF24;
    font-size: 0.875rem;
}

.cat-rating span {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.value-item:hover {
    background: var(--bg-accent-light);
    transform: translateX(4px);
}

.value-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--border-accent);
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.375rem 0;
}

.value-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.event-item {
    padding: 1.125rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-fast);
}

.event-item:hover {
    background: var(--bg-accent-light);
    transform: translateY(-2px);
}

.event-icon {
    font-size: 2rem;
    margin-bottom: 0.625rem;
}

.event-item h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.event-item p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.development-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dev-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
}

.dev-itemsvg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.dev-item h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.dev-item p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-slow);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.gallery-overlay h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-inverse);
    margin: 0;
}

.video-wrapper {
    margin-top: 1rem;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--bg-accent-light);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.video-placeholdersvg {
    width: 64px;
    height: 64px;
    color: var(--accent);
}

.video-placeholder p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.sidebar-stats {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.sidebar-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
}

.sidebar-stat .stat-icon {
    font-size: 1.5rem;
}

.sidebar-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.sidebar-stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =========================================
   THREE COLUMN LAYOUT - COMPANIES PAGE
   ========================================= */

.filters-sidebar-comp .sidebar-sticky-comp {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header-height) - 5rem);
    overflow-y: auto;
}

.featured-compact-widget-comp h4 svg, .stats-compact-widget-comp h4 svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.alert-compact-widget-comp svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.75rem;
}

.stats-compact-grid-comp div {
    background: var(--bg-hover);
    padding: 0.875rem;
    border-radius: var(--radius-md);
    text-align: center;
}

/* =========================================
   JOBS & REVIEWS - MODERN CARD DESIGN
   ========================================= */

.jobs-header-glass, .reviews-header-glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--border-light);
}

.section-title-glass {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.jobs-filter-actions, .reviews-filter-actions {
    display: flex;
    gap: 0.875rem;
}

.filter-select-glass {
    padding: 0.75rem 1.125rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    outline: none;
    min-width: 140px;
}

.filter-select-glass:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
    transform: translateY(-1px);
}

.filter-select-glass:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--bg-accent-light);
}

/* =========================================
   COMPANY JOBS SECTION - DETAILED CARDS
   ======================================== */

.company-jobs-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-direction: column;
}

.company-job-card-detailed {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    height: 100%;
    min-height: 380px;
}

.company-job-card-detailed:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.job-card-header-detailed {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.job-badges-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.job-badge-detailed {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    line-height: 1;
}

.job-badge-detailed.hot {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: var(--text-inverse);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.job-badge-detailed.new {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: var(--text-inverse);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.job-badge-detailed.remote {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: var(--text-inverse);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.job-posted-detailed {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.bookmark-btn-detailed {
    width: 32px;
    height: 32px;
    background: var(--bg-hover);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.bookmark-btn-detailed:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.bookmark-btn-detailed:hover svg {
    color: var(--text-inverse);
}

.bookmark-btn-detailed svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.bookmark-btn-detailed[data-bookmarked="true"] {
    background: var(--bg-accent-light);
    border-color: var(--accent);
}

.bookmark-btn-detailed[data-bookmarked="true"] svg {
    color: var(--accent);
    fill: var(--accent);
}

.job-card-body-detailed {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    flex: 1;
}

.job-title-detailed {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

.job-info-row-detailed {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-info-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.job-info-item svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

.job-info-item.salary-info {
    color: var(--accent);
    font-weight: 700;
}

.job-description-detailed {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3em;
}

.job-skills-detailed {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 2rem;
}

.skill-badge-detailed {
    background: var(--bg-accent-light);
    color: var(--accent);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.skill-badge-detailed:hover {
    background: var(--accent);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.job-card-footer-detailed {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.applicants-count-detailed {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.applicants-count-detailed svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.btn-view-job-detailed {
    padding: 0.625rem 1rem;
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.btn-view-job-detailed:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-inverse);
}

.btn-view-job-detailed svg {
    width: 14px;
    height: 14px;
}

.load-more-section {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.btn-load-more-jobs {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    background: var(--bg-card);
    color: var(--accent);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.btn-load-more-jobs:hover {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-load-more-jobs svg {
    width: 18px;
    height: 18px;
}

.btn-load-more-jobs.loading svg {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.job-card-skeleton {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    min-height: 380px;
    animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.skeleton-badge {
    width: 60px;
    height: 24px;
    background: var(--bg-hover);
    border-radius: var(--radius-pill);
}

.skeleton-bookmark {
    width: 32px;
    height: 32px;
    background: var(--bg-hover);
    border-radius: 50%;
}

.skeleton-title {
    width: 80%;
    height: 24px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.skeleton-text {
    width: 100%;
    height: 16px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skeleton-tag {
    width: 60px;
    height: 28px;
    background: var(--bg-hover);
    border-radius: var(--radius-pill);
}

/* =========================================
   REVIEW CARD - MODERN DESIGN
   ========================================= */

.reviews-grid-glass {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.review-card-glass {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.review-card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FBBF24 0%, #F59E0B 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.review-card-glass:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.review-card-glass:hover::before {
    transform: scaleX(1);
}

.reviewer-glass>div {
    flex: 1;
    min-width: 0;
}

.review-tenure {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    color: var(--text-light);
    font-weight: 500;
}

.review-tenure svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.review-date svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.review-title-glass {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.helpful-glass[data-helpful="true"] {
    background: var(--bg-accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

.helpful-glasssvg {
    width: 14px;
    height: 14px;
    transition: all var(--transition-base);
}

.helpful-glass:hoversvg {
    transform: scale(1.15);
}

/* ========================================
   JOBS PAGE - COMPLETE STYLING
   ======================================== */

/* ========================================
   BREADCRUMB SECTION
   ======================================== */

.breadcrumb-section-job {
    background: linear-gradient(135deg, rgba(10, 6, 8, 0.5) 0%, rgba(26, 15, 18, 0.45) 100%),
        url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?w=1920&q=80') center/cover no-repeat;
    padding: 80px 0;
    border-bottom: 2px solid var(--border-light);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.breadcrumb-section-job::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    pointer-events: none;
}

.breadcrumb-job {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 1.5rem 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

.breadcrumb-item-job {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 500;
}

.breadcrumb-item-job a {
    color: rgba(255, 255, 255, 0.92);
    transition: all var(--transition-fast);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    position: relative;
}

.breadcrumb-item-job a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-light);
    transition: width var(--transition-fast);
}

.breadcrumb-item-job a:hover {
    color: var(--accent-light);
    transform: translateY(-1px);
}

.breadcrumb-item-job a:hover::after {
    width: 100%;
}

.breadcrumb-item-job.active {
    color: var(--text-inverse);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb-item-job:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    font-weight: 300;
}

.page-title-job {
    color: var(--text-inverse);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: -1px;
    line-height: 1.2;
    font-family: var(--font-display);
    animation: fadeIn 0.6s ease-out;
}

.page-title-job::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    margin: 1rem auto 0;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.page-subtitle-job {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeIn 0.6s ease-out 0.2s backwards;
}

/* ========================================
   JOBS CONTENT LAYOUT
   ======================================== */

.jobs-page-wrapper {
    background: var(--bg-main);
    min-height: 100vh;
}

.jobs-content-section {
    padding: 2.5rem 0;
}

.row-job {
    display: flex;
    gap: 2rem;
    margin: 0;
}

/* ========================================
   SIDEBAR FILTERS
   ======================================== */

.filters-sidebar-job {
    width: 260px;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.sidebar-sticky-job {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header-height) - 5rem);
    overflow-y: auto;
    overflow-x: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.sidebar-sticky-job::-webkit-scrollbar {
    width: 8px;
}

.sidebar-sticky-job::-webkit-scrollbar-track {
    background: var(--bg-hover);
    border-radius: var(--radius-xl);
    margin: 8px 0;
}

.sidebar-sticky-job::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: var(--radius-xl);
    border: 2px solid var(--bg-card);
    transition: background var(--transition-fast);
}

.sidebar-sticky-job::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

.filters-header-job {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.875rem;
    border-bottom: 2px solid var(--border-light);
}

.filters-title-job {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.btn-clear-filters-job {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0.375rem 0.625rem;
    border-radius: var(--radius-sm);
}

.btn-clear-filters-job:hover {
    background: var(--bg-hover);
    color: var(--accent-hover);
}

.filter-group-job {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.filter-group-job:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-heading-job {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.filter-heading-job svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.filter-search-box-job {
    position: relative;
    margin-bottom: 0.875rem;
}

.search-icon-job {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    width: 16px;
    height: 16px;
}

.filter-search-input-job {
    width: 100%;
    padding: 0.625rem 0.875rem 0.625rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--bg-input);
    transition: all var(--transition-fast);
}

.filter-search-input-job:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-card);
}

.filter-search-input-job::placeholder {
    color: var(--text-light);
}

.filter-options-job {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-checkbox-job {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.filter-checkbox-job:hover {
    background: var(--bg-hover);
}

.filter-checkbox-job input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    cursor: pointer;
    appearance: none;
    background: var(--bg-card);
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.filter-checkbox-job input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.filter-checkbox-job input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
    display: block;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid var(--text-inverse);
    border-width: 0 2px 2px 0;
    display: block;
}

.verified-badge-candidate i, .verified-pulse-candidate i, .verified-pulsesvg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-checkbox-candidate input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-inverse);
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.checkbox-label-job {
    flex: 1;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.checkbox-count-job {
    font-size: 0.6875rem;
    color: var(--text-light);
    font-weight: 600;
}

.hidden-option-job {
    display: none;
}

.btn-see-more-job {
    width: 100%;
    padding: 0.625rem;
    margin-top: 0.75rem;
    border: 1px dashed var(--border-color);
    background: transparent;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.btn-see-more-job:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
}

.btn-see-more-job svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.btn-see-more-job.expanded svg {
    transform: rotate(180deg);
}

/* ========================================
   MAIN CONTENT AREA
   ======================================== */

.jobs-main-content {
    flex: 1;
    min-width: 0;
}

.content-toolbar-job {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.toolbar-left-job {
    display: flex;
    align-items: center;
}

.results-count-job {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.results-count-job svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.toolbar-right-job {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.view-toggle-job {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-hover);
    padding: 0.25rem;
    border-radius: var(--radius-md);
}

.view-btn-job {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-icon-job {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    transition: stroke var(--transition-fast);
}

.view-btn-job:hover .view-icon-job {
    stroke: var(--accent);
}

.view-btn-job.active-view-job {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.view-btn-job.active-view-job .view-icon-job {
    stroke: var(--accent);
}

.sort-dropdown-job {
    position: relative;
}

.sort-trigger-job {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sort-trigger-job:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
}

.sort-icon-job, .dropdown-arrow-job {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
}

.sort-menu-job {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-base);
    z-index: 100;
}

.sort-dropdown-job:hover .sort-menu-job {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option-job {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.sort-option-job svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sort-option-job:hover {
    background: var(--bg-hover);
    color: var(--accent);
}

.sort-option-job.active-sort-job {
    background: var(--bg-active);
    color: var(--accent);
    font-weight: 600;
}

/* ========================================
   JOBS GRID
   ======================================== */

.jobs-grid-job {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity var(--transition-base);
    padding: 0;
}

.jobs-grid-job.active-layout-job {
    opacity: 1;
    max-height: none;
}

/* ========================================
   JOB CARD
   ======================================== */

.job-card-job {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1.125rem;
    gap: 0.875rem;
    animation: card-enter 0.4s ease-out both;
}

.job-card-job:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.job-card-job.featured-job {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.job-card-job.featured-job::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

.job-card-header-job {
    position: relative;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: var(--bg-hover);
    gap: 0.75rem;
}

.company-logo-job {
    width: 48px;
    height: 48px;
    background: var(--bg-hover);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    overflow: hidden;
}

.company-logo-job img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.job-badges-job {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    align-items: flex-end;
    flex: 1;
    margin: 0 0.5rem;
    justify-content: flex-end;
}

.badge-featured-job, .badge-urgent-job, .badge-remote-job {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3125rem 0.625rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-featured-job {
    background: linear-gradient(135deg, var(--co-amber) 0%, var(--co-orange) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.625rem;
    font-size: 0.67rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.badge-urgent-job {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: var(--text-inverse);
}

.badge-remote-job {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: var(--text-inverse);
}

.badge-featured-job svg, .badge-urgent-job svg, .badge-remote-job svg {
    width: 10px;
    height: 10px;
}

.bookmark-btn-job {
    width: 28px;
    height: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: none !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.bookmark-btn-job:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.bookmark-btn-job:hover svg {
    stroke: var(--text-inverse);
}

.bookmark-btn-job svg {
    width: 14px;
    height: 14px;
    transition: all var(--transition-fast);
}

.bookmark-btn-job.bookmarked svg {
    fill: var(--accent);
    stroke: var(--accent);
}

.job-card-body-job {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.job-title-job {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
    transition: color var(--transition-fast);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-job:hover .job-title-job {
    color: var(--accent);
}

.company-info-job {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
}

.company-name-job {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.82rem;
}

.job-divider {
    color: var(--border-color);
    font-size: 0.75rem;
}

.company-location-job {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.company-location-job svg {
    width: 12px;
    height: 12px;
    color: var(--accent);
}

.job-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.meta-item-job {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
}

.meta-icon-job {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

.meta-content-job {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.meta-label-job {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.meta-value-job {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-skills-job {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: auto;
}

.skill-tag-job {
    background: var(--bg-soft-blue);
    color: var(--co-sky-text, var(--accent));
    border: 1px solid var(--border-accent);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.skill-tag-job:hover {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.job-card-footer-job {
    padding: 0.75rem 1rem;
    background: var(--bg-hover);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
}

.applicants-info-job {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.applicants-info-job svg {
    width: 13px;
    height: 13px;
    color: var(--accent);
}

.jobs-list-job {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity var(--transition-base);
}

.jobs-list-job.active-layout-job {
    opacity: 1;
    max-height: none;
    display: flex;
}

.job-card-job.list-view {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "logo info actions bookmark";
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
}

.job-card-job.list-view .job-card-header-job {
    grid-area: logo;
    padding: 0;
    background: transparent;
    width: auto;
}

.job-card-job.list-view .company-logo-job {
    width: 56px;
    height: 56px;
}

.job-card-job.list-view .job-badges-job {
    display: none;
}

.job-card-job.list-view .job-card-body-job {
    grid-area: info;
    padding: 0;
    gap: 0.625rem;
}

.job-card-job.list-view .job-title-job {
    font-size: 1.125rem;
}

.job-card-job.list-view .job-meta-grid {
    grid-template-columns: repeat(4, auto);
    gap: 1.5rem;
}

.job-card-job.list-view .meta-item-job {
    gap: 0.5rem;
}

.job-card-job.list-view .job-skills-job {
    margin-top: 0.25rem;
}

.job-card-job.list-view .job-card-footer-job {
    grid-area: actions;
    padding: 0;
    background: transparent;
    border: none;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.job-card-job.list-view .applicants-info-job {
    order: 2;
}

.job-card-job.list-view .btn-apply-job {
    order: 1;
    padding: 0.625rem 1.25rem;
}

.job-card-job.list-view .bookmark-btn-job {
    grid-area: bookmark;
    position: static;
}

/* ========================================
   AD BANNER
   ======================================== */

.ad-banner-job {
    grid-column: 1 / -1;
    width: 100%;
    margin: 1.5rem 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.banner-swiper-job {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.banner-swiper-job .swiper-slide {
    height: 200px;
}

.banner-content-job {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.banner-content-job img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay-job {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 6, 8, 0.7) 0%, rgba(26, 15, 18, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: var(--text-inverse);
}

.banner-overlay-job h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-overlay-job p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.banner-swiper-job .swiper-pagination {
    bottom: 15px;
}

.banner-swiper-job .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    transition: all var(--transition-fast);
}

.banner-swiper-job .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination-wrapper-job {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination-job {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--bg-card);
    padding: 0.625rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.page-btn-job {
    min-width: 36px;
    height: 36px;
    padding: 0 0.625rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.page-btn-job:hover:not(:disabled):not(.active-page-job) {
    background: var(--bg-hover);
    color: var(--accent);
}

.page-btn-job.active-page-job {
    background: var(--accent);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

.page-btn-job:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-dots-job {
    color: var(--text-light);
    font-weight: 600;
    padding: 0 0.375rem;
}

/* ========================================
   JOB DETAILS PAGE
   ======================================== */

.job-hero-glass {
    position: relative;
    padding: 2.25rem 0 1.75rem;
    background: var(--hero-gradient);
    overflow: hidden;
    border-radius: 15px;
    border-bottom: 1.5px solid var(--border-light);
}

.glass-bg-pattern-job {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, var(--bg-accent-lighter) 0%, transparent 50%);
    pointer-events: none;
    background: radial-gradient(ellipse at 80% 20%, rgba(46, 139, 224, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(58, 127, 168, 0.09) 0%, transparent 45%);
}

.job-profile-glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.profile-left-glass-job {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.job-company-avatar {
    width: 80px;
    height: 80px;
    position: relative;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--bg-card);
    box-shadow: var(--shadow-md);
    background: var(--bg-hover);
}

.job-company-avatar img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    background: var(--bg-card);
    padding: 0.875rem;
    box-shadow: var(--shadow-sm);
}

.verified-pulse-job {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: var(--co-green);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-inverse);
    animation: pulse-green 2s ease-in-out infinite;
}

.status-chips-job {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.chip-glass-job {
    font-size: 0.67rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.chip-glass-job svg {
    width: 10px;
    height: 10px;
}

.chip-glass-job.featured {
    color: #fff;
    background: linear-gradient(135deg, var(--co-amber) 0%, var(--co-orange) 100%);
}

.chip-glass-job.urgent {
    color: #fff;
    background: linear-gradient(135deg, var(--co-green) 0%, var(--co-teal) 100%);
}

.chip-glass-job.remote {
    color: var(--co-violet);
    background: var(--bg-soft-purple);
    border: 1px solid var(--border-pal-violet);
}

.company-inline-job {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.company-link-job {
    transition: color var(--transition-fast);
    text-decoration: none;
}

.company-link-job:hover {
    color: var(--accent);
}

.company-name-inline {
    font-weight: 700;
    color: var(--accent);
}

.divider-job {
    color: var(--border-color);
}

.location-inline, .posted-time {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.location-inline svg, .posted-time svg {
    width: 13px;
    height: 13px;
    color: var(--accent);
}

.profile-actions-glass-job {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: center;
    flex-wrap: wrap;
}

.btn-glass-job {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.125rem;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    font-family: var(--font-primary);
    text-decoration: none;
}

.btn-glass-job svg {
    width: 15px;
    height: 15px;
}

.btn-glass-job.secondary {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1.5px solid var(--border-light);
}

.btn-glass-job.secondary:hover {
    background: var(--bg-accent-lighter);
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-glass-job.primary {
    background: var(--accent);
    color: var(--text-inverse);
    box-shadow: 0 2px 10px var(--shadow-accent-25);
    border: 1.5px solid var(--accent);
}

.btn-glass-job.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--shadow-accent-35);
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.stats-glass-row-job {
    display: flex;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.stat-glass-card-job {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.6875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 120px;
}

.stat-glass-card-job:hover {
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon-glass-job {
    width: 36px;
    height: 36px;
    background: var(--bg-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.stat-icon-glass-job svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.stat-content-glass-job {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.stat-number-job {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-label-job {
    font-size: 0.67rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.job-content-glass {
    padding: 2rem 0 3rem;
    background: var(--bg-main);
}

.glass-tabs-job {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.3125rem;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-glass-job {
    flex: 1;
    padding: 0.5rem 1.125rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-glass-job:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.tab-glass-job.active {
    background: var(--accent);
    color: var(--text-inverse);
    box-shadow: 0 2px 8px var(--shadow-accent-25);
}

.tab-badge-job {
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.67rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: var(--radius-full);
    color: inherit;
}

.content-layout-glass-job {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    align-items: start;
}

.main-content-glass-job {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tab-content-glass-job {
    display: none;
    animation: fadeIn 0.4s;
}

.tab-content-glass-job.active {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.glass-card-job {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
}

.glass-card-job:hover {
    box-shadow: var(--shadow-md);
}

.glass-card-job.compact {
    padding: 1rem;
}

.card-title-glass-job {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.text-glass-job {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0 0 1rem 0;
}

.highlights-compact-job {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight-chip-job {
    background: var(--bg-accent-light);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4375rem 0.875rem;
    border-radius: var(--radius-pill);
    transition: all var(--transition-fast);
}

.highlight-chip-job:hover {
    background: var(--bg-accent-hover);
    transform: translateY(-1px);
}

.info-grid-glass-job {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.info-item-glass-job {
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
}

.label-glass-job {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.value-glass-job {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tech-stack-glass-job {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item-glass-job {
    background: var(--bg-accent-light);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.tech-item-glass-job:hover {
    background: var(--bg-accent-hover);
    transform: translateY(-1px);
}

.requirements-list-job, .activities-list-job {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.requirements-list-job li, .activities-list-job li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.requirements-list-job li:hover, .activities-list-job li:hover {
    background: var(--bg-accent-light);
    transform: translateX(4px);
}

.requirements-list-job li svg {
    width: 18px;
    height: 18px;
    color: #10B981;
    flex-shrink: 0;
    margin-top: 2px;
}

.requirements-list-job.secondary li svg {
    color: var(--accent);
}

.requirements-list-job li span, .activities-list-job li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.education-grid-job {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.education-item-job {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
}

.education-icon-job {
    width: 40px;
    height: 40px;
    background: var(--bg-accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon-job svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.education-content-job h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.education-content-job p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

.responsibilities-list-job {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.responsibility-item-job {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
    transition: all var(--transition-slow);
}

.responsibility-item-job:hover {
    background: var(--bg-accent-light);
    transform: translateX(4px);
}

.responsibility-number-job {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--border-accent);
    flex-shrink: 0;
}

.responsibility-content-job h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.375rem 0;
}

.responsibility-content-job p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.company-stats-grid-job {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.company-stat-item-job {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
}

.stat-icon-circle-job {
    width: 48px;
    height: 48px;
    background: var(--bg-accent-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-circle-job svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.stat-info-job {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value-company {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label-company {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.perks-grid-job {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.perk-item-job {
    text-align: center;
    padding: 1.25rem;
    background: var(--bg-accent-lighter);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.perk-item-job:hover {
    background: var(--bg-accent-light);
    transform: translateY(-2px);
}

.perk-icon-job {
    font-size: 2.25rem;
    margin-bottom: 0.625rem;
}

.perk-item-job h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.3125rem 0;
}

.perk-item-job p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

.locations-glass-job {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.location-chip-glass-job {
    background: var(--bg-accent-light);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.carousel-header-glass-job {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.carousel-header-glass-job h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.carousel-nav-glass-job {
    display: flex;
    gap: 0.5rem;
}

.nav-btn-glass-job {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-slow);
}

.nav-btn-glass-job:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.nav-btn-glass-job:hover svg {
    color: var(--text-inverse);
}

.nav-btn-glass-job svg {
    width: 16px;
    height: 16px;
    color: var(--text-primary);
}

/* =========================================
   SIMILAR JOBS SECTION - STATIC GRID
   ======================================== */

.similar-jobs-header-job {
    margin-bottom: 2rem;
    text-align: center;
}

.section-title-glass-job {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.section-subtitle-glass-job {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.similar-jobs-grid-job {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0;
}

.similar-job-card-job {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    height: 100%;
    min-height: 340px;
}

.similar-job-card-job:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.similar-job-header-job {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.similar-company-logo-job {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.similar-company-logo-job img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bookmark-similar-job {
    width: 32px;
    height: 32px;
    background: var(--bg-hover);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.bookmark-similar-job:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.bookmark-similar-job:hover svg {
    color: var(--text-inverse);
}

.bookmark-similar-job svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.bookmark-similar-job[data-bookmarked="true"] {
    background: var(--bg-accent-light);
    border-color: var(--accent);
}

.bookmark-similar-job[data-bookmarked="true"] svg {
    color: var(--accent);
    fill: var(--accent);
}

.similar-job-title-job {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
}

.similar-company-name-job {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-job-meta-job {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.meta-item-similar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.meta-item-similar svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

.meta-item-similar.salary-similar {
    color: var(--accent);
    font-weight: 700;
}

.similar-job-tags-job {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 2rem;
}

.tag-similar {
    background: var(--bg-accent-light);
    color: var(--accent);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    line-height: 1;
}

.similar-job-footer-job {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.similar-job-info {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex: 1;
    min-width: 0;
}

.posted-similar, .applicants-similar {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.posted-similar svg, .applicants-similar svg {
    width: 13px;
    height: 13px;
}

.btn-view-similar-job {
    width: 100%;
    padding: 0.625rem 1rem;
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.btn-view-similar-job:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-inverse);
}

.btn-view-similar-job svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   SIDEBAR
   ======================================== */

.sidebar-glass-job {
    position: sticky;
    top: calc(var(--header-height, 68px) + 1rem);
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sticky-card-job {
    margin-bottom: 1.25rem;
}

.btn-glass-job.cta-full-job {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
}

.quick-apply-info-job {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border-accent);
}

.quick-apply-text-job {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.quick-apply-text-job svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.application-deadline-job {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: var(--bg-matte);
    border-radius: 10px;
}

.application-deadline-job svg {
    width: 20px;
    height: 20px;
    color: #EF4444;
    flex-shrink: 0;
}

.deadline-content-job {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.deadline-label-job {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.deadline-date-job {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #EF4444;
}

.sidebar-title-glass-job {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.875rem 0;
}

.overview-list-job {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.overview-item-job {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-accent-light);
    border-radius: 10px;
}

.overview-icon-job {
    width: 36px;
    height: 36px;
    background: var(--hero-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.overview-icon-job svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.overview-content-job {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.overview-label-job {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.overview-value-job {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.social-share-job {
    display: flex;
    gap: 0.5rem;
}

.share-btn-job {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.share-btn-job svg {
    width: 16px;
    height: 16px;
}

.share-btn-job.linkedin {
    background: rgba(10, 102, 194, 0.1);
    color: #0A66C2;
}

.share-btn-job.linkedin:hover {
    background: #0A66C2;
    color: var(--text-inverse);
}

.share-btn-job.twitter {
    background: rgba(29, 155, 240, 0.1);
    color: #1D9BF0;
}

.share-btn-job.twitter:hover {
    background: #1D9BF0;
    color: var(--text-inverse);
}

.share-btn-job.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.share-btn-job.facebook:hover {
    background: #1877F2;
    color: var(--text-inverse);
}

.share-btn-job.mail {
    background: var(--hero-gradient);
    color: var(--accent);
}

.share-btn-job.mail:hover {
    background: var(--accent);
    color: var(--text-inverse);
}

.share-btn-job.link {
    background: rgba(107, 114, 128, 0.1);
    color: #6B7280;
}

.share-btn-job.link:hover {
    background: #6B7280;
    color: var(--text-inverse);
}

.recruiter-info-job {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.recruiter-avatar-job {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-accent);
    flex-shrink: 0;
}

.recruiter-avatar-job img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recruiter-details-job h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.1875rem 0;
}

.recruiter-details-job p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.btn-contact-recruiter-job {
    width: 100%;
    padding: 0.75rem;
    background: var(--hero-gradient);
    color: var(--accent);
    border: none;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-contact-recruiter-job:hover {
    background: var(--accent);
    color: var(--text-inverse);
}

.btn-contact-recruiter-job svg {
    width: 16px;
    height: 16px;
}

.row-job-three-col {
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    gap: 1.5rem;
    margin: 0;
}

.badge-featured-job, .badge-remote-job {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-featured-job svg, .badge-remote-job svg {
    width: 10px;
    height: 10px;
}

.btn-apply-job {
    padding: 0.4375rem 1rem;
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    font-family: var(--font-primary);
}

.btn-apply-job:hover {
    background: var(--accent-hover);
    color: var(--text-inverse);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-accent-25);
}

.btn-apply-job svg {
    width: 13px;
    height: 13px;
}

.featured-sidebar-job {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.featured-compact-widget-job, .alert-compact-widget-job, .stats-compact-widget-job {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.featured-compact-widget-job h4, .stats-compact-widget-job h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.featured-compact-widget-job h4 svg, .stats-compact-widget-job h4 svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.companies-compact-list-job {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.company-compact-item-job {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.company-compact-item-job:hover {
    background: var(--bg-active);
    transform: translateX(3px);
}

.company-compact-item-job img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: var(--bg-card);
    padding: 0.375rem;
    border: 1px solid var(--border-light);
}

.company-compact-item-job div {
    display: flex;
    flex-direction: column;
    gap: 0.1875rem;
}

.company-compact-item-job strong {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.company-compact-item-job span {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.alert-compact-widget-job {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--text-inverse);
    text-align: center;
}

.alert-compact-widget-job svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.75rem;
}

.alert-compact-widget-job h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.375rem 0;
    justify-content: center;
}

.alert-compact-widget-job p {
    font-size: 0.8125rem;
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.alert-compact-widget-job form {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.alert-compact-widget-job input {
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text-inverse);
}

.alert-compact-widget-job input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.alert-compact-widget-job button {
    padding: 0.75rem;
    background: var(--bg-card);
    color: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
}

.stats-compact-grid-job {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.stats-compact-grid-job div {
    background: var(--bg-hover);
    padding: 0.875rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.stats-compact-grid-job strong {
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stats-compact-grid-job span {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

/* ========================================
   CANDIDATE PAGE - 3 COLUMN COMPACT LAYOUT (MATCHING JOBS)
   ======================================== */

.breadcrumb-section-candidate {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%),
        url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80') center/cover no-repeat;
    padding: 50px 0;
    border-bottom: 2px solid var(--border-light);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.breadcrumb-section-candidate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    pointer-events: none;
}

.breadcrumb-candidate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 1rem 0;
    padding: 0;
    list-style: none;
    font-size: 0.75rem;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.6s ease-out 0.1s backwards;
}

.breadcrumb-item-candidate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-sidebar);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 500;
}

.breadcrumb-item-candidate a {
    color: var(--text-sidebar);
    transition: all var(--transition-fast);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    position: relative;
    text-decoration: none;
}

.breadcrumb-item-candidate a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-light);
    transition: width var(--transition-fast);
}

.breadcrumb-item-candidate a:hover {
    color: var(--accent-light);
    transform: translateY(-1px);
}

.breadcrumb-item-candidate a:hover::after {
    width: 100%;
}

.breadcrumb-item-candidate.active {
    color: var(--text-inverse);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb-item-candidate:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-sidebar-muted);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    font-weight: 300;
}

.page-title-candidate {
    color: var(--text-inverse);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeIn 0.6s ease-out;
    font-family: var(--font-display);
}

.page-title-candidate::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    margin: 0.75rem auto 0;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.page-subtitle-candidate {
    color: var(--text-sidebar);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeIn 0.6s ease-out 0.2s backwards;
}

.candidates-page-wrapper {
    background: var(--bg-main);
    min-height: 100vh;
}

.candidates-content-section {
    padding: 1.5rem 0 2.5rem 0;
}

.row-candidate-three-col {
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    gap: 1.5rem;
    align-items: start;
}

/* ========================================
   LEFT SIDEBAR - NO SCROLL (MATCHING JOBS)
   ======================================== */

.filters-sidebar-candidate {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-sticky-candidate {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.filters-header-candidate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.875rem;
    border-bottom: 2px solid var(--border-light);
}

.filters-title-candidate {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.btn-clear-filters-candidate {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0.375rem 0.625rem;
    border-radius: var(--radius-sm);
}

.btn-clear-filters-candidate:hover {
    background: var(--bg-hover);
    color: var(--accent-hover);
}

.filter-group-candidate {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.filter-group-candidate:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-heading-candidate {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-heading-candidate svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.filter-search-box-candidate {
    position: relative;
    margin-bottom: 0.75rem;
}

.search-icon-candidate {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    width: 14px;
    height: 14px;
}

.filter-search-input-candidate {
    width: 100%;
    padding: 0.5rem 0.625rem 0.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--text-primary);
    background: var(--bg-input);
    transition: all var(--transition-fast);
    outline: none;
}

.filter-search-input-candidate:focus {
    border-color: var(--accent);
    background: var(--bg-card);
}

.filter-search-input-candidate::placeholder {
    color: var(--text-light);
}

.filter-options-candidate {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-checkbox-candidate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.filter-checkbox-candidate:hover {
    background: var(--bg-hover);
}

.filter-checkbox-candidate input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--bg-card);
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.filter-checkbox-candidate input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.filter-checkbox-candidate input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 7px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label-candidate {
    flex: 1;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.checkbox-count-candidate {
    font-size: 0.6875rem;
    color: var(--text-light);
    font-weight: 600;
}

.hidden-option-candidate {
    display: none !important;
}

.btn-see-more-candidate {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px dashed var(--border-color);
    background: transparent;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-see-more-candidate:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
}

.btn-see-more-candidate svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.btn-see-more-candidate.expanded svg {
    transform: rotate(180deg);
}

.candidates-main-content {
    flex: 1;
    min-width: 0;
}

.content-toolbar-candidate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.toolbar-left-candidate {
    display: flex;
    align-items: center;
}

.results-count-candidate {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.results-count-candidate svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.toolbar-right-candidate {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.view-toggle-candidate {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-hover);
    padding: 0.25rem;
    border-radius: var(--radius-md);
}

.view-btn-candidate {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-icon-candidate {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    transition: stroke var(--transition-fast);
}

.view-btn-candidate:hover .view-icon-candidate {
    stroke: var(--accent);
}

.view-btn-candidate.active-view-candidate {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.view-btn-candidate.active-view-candidate .view-icon-candidate {
    stroke: var(--accent);
}

.sort-dropdown-candidate {
    position: relative;
}

.sort-trigger-candidate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sort-trigger-candidate:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
}

.sort-icon-candidate, .dropdown-arrow-candidate {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
}

.sort-menu-candidate {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 210px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-base);
    z-index: 100;
    display: none;
    margin-top: 0.5rem;
    overflow: hidden;
}

.sort-dropdown-candidate:hover .sort-menu-candidate {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option-candidate {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.sort-option-candidate svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sort-option-candidate:hover {
    background: var(--bg-hover);
    color: var(--accent);
}

.sort-option-candidate.active-sort-candidate {
    background: rgba(221, 45, 74, 0.06);
    color: var(--accent);
    font-weight: 600;
}

/* ========================================
   CANDIDATES GRID - 2 COLUMN COMPACT (MATCHING JOBS)
   ======================================== */

.candidates-grid-candidate {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity var(--transition-base);
    padding: 0;
}

.candidates-grid-candidate.active-layout-candidate {
    opacity: 1;
    max-height: none;
}

.candidate-card-candidate {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1.25rem;
    gap: 0.875rem;
    animation: card-enter 0.4s ease-out both;
}

.candidate-card-candidate:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.candidate-card-candidate.featured-candidate {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.candidate-card-candidate.featured-candidate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

.candidate-card-header-candidate {
    position: relative;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-card) 100%);
    gap: 0.75rem;
}

.candidate-avatar-candidate {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    background: var(--bg-hover);
}

.candidate-avatar-candidate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border-light);
}

.verified-badge-candidate {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: var(--co-green);
    border-radius: var(--radius-full);
    border: 1.5px solid var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.verified-badge-candidate svg {
    width: 8px;
    height: 8px;
    color: #fff;
    stroke: var(--text-inverse);
    fill: none;
    stroke-width: 3;
}

.candidate-badges-candidate {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
    margin: 0 0.5rem;
}

.badge-featured-candidate, .badge-available-candidate, .badge-remote-candidate {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.badge-featured-candidate {
    background: linear-gradient(135deg, var(--co-amber) 0%, var(--co-orange) 100%);
    color: #fff;
}

.badge-available-candidate {
    background: var(--co-green-fill);
    color: var(--co-green);
    border: 1px solid var(--co-green-border);
}

.badge-remote-candidate {
    background: var(--bg-soft-purple);
    color: var(--co-violet);
    border: 1px solid var(--border-pal-violet);
}

.badge-featured-candidate svg, .badge-available-candidate svg, .badge-remote-candidate svg {
    width: 9px;
    height: 9px;
}

.bookmark-btn-candidate {
    width: 28px;
    height: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: none !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.bookmark-btn-candidate:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.bookmark-btn-candidate:hover svg {
    stroke: var(--text-inverse);
}

.bookmark-btn-candidate svg {
    width: 14px;
    height: 14px;
    transition: all var(--transition-fast);
}

.bookmark-btn-candidate.bookmarked svg {
    fill: var(--accent);
    stroke: var(--accent);
}

.candidate-card-body-candidate {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.candidate-name-candidate {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    transition: color var(--transition-fast);
}

.candidate-card-candidate:hover .candidate-name-candidate {
    color: var(--accent);
}

.candidate-title-candidate {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.candidate-location-candidate {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.candidate-location-candidate svg {
    width: 12px;
    height: 12px;
    color: var(--accent);
}

.candidate-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.meta-item-candidate {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.5rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
}

.meta-icon-candidate {
    width: 13px;
    height: 13px;
    stroke: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

.meta-content-candidate {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.meta-label-candidate {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.meta-value-candidate {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-skills-candidate {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: auto;
}

.skill-tag-candidate {
    background: var(--bg-soft-purple);
    color: var(--co-violet);
    border: 1px solid var(--border-pal-violet);
    font-size: 0.67rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.skill-tag-candidate:hover {
    background: var(--co-violet-tint);
    color: var(--text-inverse);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.candidate-card-footer-candidate {
    padding: 0.75rem 1rem;
    background: var(--bg-hover);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
}

.btn-view-profile-candidate {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.4375rem 0.875rem;
    background: var(--accent);
    color: var(--text-inverse);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.btn-view-profile-candidate:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-accent-25);
    color: var(--text-inverse);
}

.btn-view-profile-candidate svg {
    width: 13px;
    height: 13px;
}

.btn-contact-candidate {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    color: var(--text-muted);
}

.btn-contact-candidate:hover {
    background: var(--bg-accent-lighter);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-contact-candidate:hover svg {
    color: var(--text-inverse);
}

.btn-contact-candidate svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.candidates-list-candidate {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity var(--transition-base);
}

.candidates-list-candidate.active-layout-candidate {
    opacity: 1;
    max-height: none;
    display: flex;
}

.pagination-wrapper-candidate {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination-candidate {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--bg-card);
    padding: 0.625rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.page-btn-candidate {
    min-width: 36px;
    height: 36px;
    padding: 0 0.625rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.page-btn-candidate:hover:not(:disabled):not(.active-page-candidate) {
    background: var(--bg-hover);
    color: var(--accent);
}

.page-btn-candidate.active-page-candidate {
    background: var(--accent);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

.page-btn-candidate:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-btn-candidate svg {
    width: 14px;
    height: 14px;
}

.page-dots-candidate {
    color: var(--text-muted);
    font-weight: 600;
    padding: 0.4375rem 0.375rem;
    font-size: 0.8rem;
}

/* ========================================
   RIGHT SIDEBAR - NO SCROLL (MATCHING JOBS)
   ======================================== */

.featured-sidebar-candidate {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.featured-compact-widget-candidate, .alert-compact-widget-candidate, .stats-compact-widget-candidate {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.featured-compact-widget-candidate h4, .stats-compact-widget-candidate h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.featured-compact-widget-candidate h4 svg, .stats-compact-widget-candidate h4 svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.candidates-compact-list-candidate {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.compact-candidate-item-candidate {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.compact-candidate-item-candidate:hover {
    background: var(--bg-active);
    transform: translateX(3px);
}

.compact-avatar-candidate {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.compact-info-candidate {
    flex: 1;
    min-width: 0;
}

.compact-name-candidate {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.1875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-title-candidate {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-count-candidate {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    color: var(--text-light);
}

.compact-count-candidate svg {
    width: 11px;
    height: 11px;
}

.alert-compact-widget-candidate {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--text-inverse);
    text-align: center;
}

.alert-compact-widget-candidate svg {
    width: 16px;
    height: 16px;
}

.alert-compact-widget-candidate h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.375rem 0;
    color: var(--text-inverse);
    justify-content: center;
}

.alert-compact-widget-candidate p {
    font-size: 0.8125rem;
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.alert-compact-widget-candidate form {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.alert-compact-widget-candidate input {
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text-inverse);
    outline: none;
}

.alert-compact-widget-candidate input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.alert-compact-widget-candidate button {
    padding: 0.75rem;
    background: var(--bg-card);
    color: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.alert-compact-widget-candidate button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stats-compact-grid-candidate {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.stats-compact-grid-candidate>div {
    background: var(--bg-hover);
    padding: 0.875rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.stats-compact-grid-candidate strong {
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
}

.stats-compact-grid-candidate span {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.candidate-hero-glass {
    position: relative;
    padding: 2rem 0;
    background: var(--hero-gradient);
    overflow: hidden;
    border-radius: 15px;
}

.glass-bg-pattern-candidate {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, var(--bg-accent-lighter) 0%, transparent 50%);
    pointer-events: none;
}

.candidate-profile-glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.profile-left-glass-candidate {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex: 1;
}

.candidate-profile-avatar {
    width: 100px;
    height: 100px;
    position: relative;
    flex-shrink: 0;
    border-radius: 50%;
    border: 4px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.candidate-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
}

.verified-pulse-candidate {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.verified-pulse-candidate svg {
    width: 14px;
    height: 14px;
    color: var(--text-inverse);
    stroke: var(--text-inverse);
    fill: none;
    stroke-width: 3;
}

.candidate-meta-glass {
    flex: 1;
}

.status-chips-candidate {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    flex-wrap: wrap;
}

.chip-glass-candidate {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.3125rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chip-glass-candidate svg {
    width: 10px;
    height: 10px;
}

.chip-glass-candidate.verified {
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
}

.chip-glass-candidate.available {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.chip-glass-candidate.remote {
    color: #2563EB;
    background: rgba(37, 99, 235, 0.1);
}

.candidate-title-glass {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.375rem 0;
    line-height: 1.1;
}

.candidate-role-glass {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 0 0.75rem 0;
}

.candidate-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.location-inline, .experience-inline, .updated-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
}

.location-inline svg, .experience-inline svg, .updated-time svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.divider-candidate {
    color: var(--text-light);
}

.profile-actions-glass-candidate {
    display: flex;
    gap: 0.625rem;
    flex-shrink: 0;
}

.btn-glass-candidate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-glass-candidate svg {
    width: 16px;
    height: 16px;
}

.btn-glass-candidate.secondary {
    background: var(--bg-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-glass-candidate.secondary:hover {
    background: var(--bg-active);
    transform: translateY(-2px);
}

.btn-glass-candidate.primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.btn-glass-candidate.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stats-glass-row-candidate {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.stat-glass-card-candidate {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.stat-glass-card-candidate:hover {
    background: var(--bg-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon-glass-candidate {
    width: 42px;
    height: 42px;
    background: var(--hero-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-glass-candidate svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.stat-content-glass-candidate {
    display: flex;
    flex-direction: column;
    gap: 0.1875rem;
}

.stat-number-candidate {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label-candidate {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.candidate-content-glass {
    padding: 2rem 0 3rem;
    background: var(--bg-main);
}

.glass-tabs-candidate {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.tab-glass-candidate {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.tab-glass-candidate:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.tab-glass-candidate.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.tab-badge-candidate {
    background: rgba(255, 255, 255, 0.25);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.1875rem 0.5rem;
    border-radius: 50px;
}

.content-layout-glass-candidate {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
}

.main-content-glass-candidate {
    min-width: 0;
}

.tab-content-glass-candidate {
    display: none;
    animation: fadeIn 0.4s;
}

.tab-content-glass-candidate.active {
    display: block;
}

.glass-card-candidate {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.glass-card-candidate:hover {
    box-shadow: var(--shadow-md);
}

.card-title-glass-candidate {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.text-glass-candidate {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.highlights-compact-candidate {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight-chip-candidate {
    background: var(--hero-gradient);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4375rem 0.875rem;
    border-radius: 50px;
}

.highlights-list-candidate {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item-candidate {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-accent-lighter);
    border-radius: 12px;
    transition: all 0.3s;
}

.highlight-item-candidate:hover {
    background: var(--bg-accent-light);
    transform: translateX(4px);
}

.highlight-icon-candidate {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.highlight-content-candidate h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.highlight-content-candidate p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.competencies-grid-candidate {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.competency-item-candidate {
    padding: 1rem;
    background: var(--bg-accent-lighter);
    border-radius: 12px;
    transition: all 0.3s;
}

.competency-item-candidate:hover {
    background: var(--bg-accent-light);
    transform: translateY(-2px);
}

.competency-icon-candidate {
    width: 40px;
    height: 40px;
    background: var(--hero-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.competency-icon-candidate svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.competency-item-candidate h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.375rem 0;
}

.competency-item-candidate p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.experience-timeline-candidate {
    position: relative;
    padding-left: 2rem;
}

.experience-timeline-candidate::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-light) 100%);
}

.experience-item-candidate {
    position: relative;
    margin-bottom: 2rem;
}

.experience-item-candidate:last-child {
    margin-bottom: 0;
}

.experience-dot-candidate {
    position: absolute;
    left: -2.5625rem;
    top: 0.375rem;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border: 3px solid var(--bg-card);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-accent-lighter);
}

.experience-content-candidate {
    background: var(--bg-accent-lighter);
    border-radius: 12px;
    padding: 1.25rem;
}

.experience-header-candidate {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.experience-title-candidate {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.375rem 0;
}

.experience-company-candidate {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.experience-company-candidate svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.experience-period-candidate {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.experience-period-candidate svg {
    width: 14px;
    height: 14px;
}

.experience-description-candidate {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.experience-achievements-candidate {
    margin: 0 0 1rem 0;
    padding-left: 1.25rem;
}

.experience-achievements-candidate li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.experience-achievements-candidate li:last-child {
    margin-bottom: 0;
}

.experience-skills-candidate {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.exp-skill-candidate {
    background: var(--bg-card);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    border: 1px solid var(--border-accent);
}

.skills-category-candidate {
    margin-bottom: 2rem;
}

.skills-category-candidate:last-child {
    margin-bottom: 0;
}

.skills-category-title-candidate {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category-title-candidate svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.skills-grid-candidate {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.skill-item-detailed-candidate {
    background: var(--bg-accent-lighter);
    padding: 1rem;
    border-radius: 12px;
}

.skill-header-candidate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name-candidate {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.skill-level-candidate {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-accent-hover);
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
}

.skill-bar-candidate {
    height: 6px;
    background: var(--bg-accent-hover);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skill-fill-candidate {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50px;
    transition: width 1s ease;
}

.skill-years-candidate {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.soft-skills-grid-candidate {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.soft-skill-item-candidate {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem;
    background: var(--bg-accent-lighter);
    border-radius: 10px;
    transition: all 0.3s;
}

.soft-skill-item-candidate:hover {
    background: var(--bg-accent-light);
    transform: translateY(-2px);
}

.soft-skill-item-candidate svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.soft-skill-item-candidate span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.education-list-candidate {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.education-item-detailed-candidate {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-accent-lighter);
    border-radius: 12px;
    transition: all 0.3s;
}

.education-item-detailed-candidate:hover {
    background: var(--bg-accent-light);
    transform: translateY(-2px);
}

.education-icon-detailed-candidate {
    width: 48px;
    height: 48px;
    background: var(--hero-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon-detailed-candidate svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.education-content-detailed-candidate {
    flex: 1;
}

.education-content-detailed-candidate h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.375rem 0;
}

.education-school-candidate {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0 0 0.625rem 0;
}

.education-meta-candidate {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.education-meta-candidate span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.education-meta-candidate svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.education-description-candidate {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.certifications-grid-candidate {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.certification-item-candidate {
    display: flex;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--bg-accent-lighter);
    border-radius: 12px;
    transition: all 0.3s;
}

.certification-item-candidate:hover {
    background: var(--bg-accent-light);
    transform: translateY(-2px);
}

.cert-icon-candidate {
    width: 40px;
    height: 40px;
    background: var(--hero-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon-candidate svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.cert-content-candidate {
    flex: 1;
}

.cert-content-candidate h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.cert-content-candidate p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0 0 0.5rem 0;
}

.cert-date-candidate {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cert-date-candidate svg {
    width: 12px;
    height: 12px;
}

.portfolio-grid-candidate {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.portfolio-item-candidate {
    background: var(--bg-card);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border-accent);
}

.portfolio-item-candidate:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image-candidate {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.portfolio-image-candidate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.portfolio-item-candidate:hover .portfolio-image-candidate img {
    transform: scale(1.05);
}

.portfolio-overlay-candidate {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item-candidate:hover .portfolio-overlay-candidate {
    opacity: 1;
}

.portfolio-link-candidate {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.portfolio-link-candidate:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.portfolio-link-candidate svg {
    width: 20px;
    height: 20px;
    color: var(--text-inverse);
}

.portfolio-content-candidate {
    padding: 1rem;
}

.portfolio-content-candidate h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.portfolio-content-candidate p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
}

.portfolio-tags-candidate {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.portfolio-tags-candidate span {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-accent-hover);
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
}

.github-stats-candidate {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.github-stat-candidate {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-accent-lighter);
    border-radius: 12px;
}

.github-icon-candidate {
    width: 40px;
    height: 40px;
    background: var(--hero-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.github-icon-candidate svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.github-value-candidate {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.github-label-candidate {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-glass-candidate {
    min-width: 0;
}

.sticky-card-candidate {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.cta-full-candidate {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
}

.quick-actions-candidate {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.quick-action-btn-candidate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
}

.quick-action-btn-candidate:hover {
    background: var(--bg-active);
    transform: translateY(-2px);
}

.quick-action-btn-candidate svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.availability-info-candidate {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.availability-info-candidate svg {
    width: 20px;
    height: 20px;
    color: #10B981;
    flex-shrink: 0;
}

.availability-content-candidate {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.availability-label-candidate {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.availability-value-candidate {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #059669;
}

.sidebar-title-glass-candidate {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.details-list-candidate {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item-candidate {
    display: flex;
    gap: 0.75rem;
}

.detail-icon-candidate {
    width: 36px;
    height: 36px;
    background: var(--hero-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon-candidate svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.detail-content-candidate {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label-candidate {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value-candidate {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.social-links-candidate {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.social-link-candidate {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link-candidate:hover {
    background: var(--bg-active);
    transform: translateX(4px);
    color: var(--text-primary);
}

.social-link-candidate svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-link-candidate.linkedin svg {
    color: #0A66C2;
}

.social-link-candidate.github svg {
    color: #181717;
}

.social-link-candidate.globe svg {
    color: var(--accent);
}

.social-link-candidate.twitter svg {
    color: #1DA1F2;
}

.preferences-list-candidate {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.preference-item-candidate {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.preference-item-candidate svg {
    width: 16px;
    height: 16px;
    color: #10B981;
    flex-shrink: 0;
}

.contact-modal-candidate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.contact-modal-candidate.active {
    display: flex;
}

.modal-overlay-candidate {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.modal-content-candidate {
    position: relative;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    animation: candidateModalIn 0.35s ease-out;
    z-index: 1;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }


    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close-candidate {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
}

.modal-close-candidate:hover {
    background: rgba(0, 0, 0, 0.12);
    transform: rotate(90deg);
}

.modal-close-candidate:hover svg {
    color: var(--text-inverse);
}

.modal-close-candidate svg {
    width: 18px;
    height: 18px;
    color: var(--text-primary);
}

.modal-header-candidate {
    padding: 28px 28px 16px;
    border-bottom: 1px solid var(--border-light);
}

.modal-header-candidate h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.modal-header-candidate p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.modal-body-candidate {
    padding: 24px 28px 28px;
}

.contact-form-candidate {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group-candidate {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group-candidate label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.4rem;
}

.form-group-candidate input, .form-group-candidate textarea {
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: border-color 0.2s;
    width: 100%;
}

.form-group-candidate input:focus, .form-group-candidate textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-card);
}

.form-group-candidate textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.checkbox-group-candidate {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group-candidate label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.85rem;
    cursor: pointer;
}

.checkbox-group-candidate input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group-candidate a {
    color: var(--accent);
    text-decoration: underline;
}

.btn-submit-contact-candidate {
    padding: 0.85rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    width: 100%;
    margin-top: 0.5rem;
}

.btn-submit-contact-candidate:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
}

.btn-submit-contact-candidate svg {
    width: 16px;
    height: 16px;
}

.list-footer-candidate {
    gap: 0.75rem;
}

.extra-benefits-job ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.extra-benefits-job ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.extra-benefits-job ul li::before {
    content: none;
}

/* ============================================================================
   JOB DETAILS PAGE â€” ENHANCED CSS
   Add this to your main stylesheet (e.g. assets/css/job-details.css)
   All classes match job-details.php â€” zero inline styles needed.
   ============================================================================ */

.card-title-icon-job {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 0.45rem;
    margin-top: -2px;
    stroke: var(--accent, #DD2D4A);
    color: var(--accent);
}

.job-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.job-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.75rem;
    background: var(--bg-soft-green);
    border: 1px solid var(--co-green-border);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast);
    cursor: default;
}

.job-benefit-item:hover {
    border-color: var(--accent, #DD2D4A);
    box-shadow: 0 4px 16px rgba(221, 45, 74, 0.08);
    transform: translateY(-2px);
}

.job-benefit-icon {
    width: 34px;
    height: 34px;
    min-width: 38px;
    background: var(--co-green-fill);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--co-green);
}

.job-benefit-icon svg {
    width: 15px;
    height: 15px;
    stroke: var(--accent, #DD2D4A);
}

.job-benefit-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.job-benefit-label {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.job-benefit-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.company-tab-header-job {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.company-tab-logo-job {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid var(--border-light, #e8eaf0);
    background: #f3f4f6;
}

.company-tab-meta-job {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.2rem;
}

.company-tab-title-job {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 !important;
}

.company-verified-chip-job {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.25);
    border-radius: 20px;
    padding: 0.2rem 0.6rem;
}

.company-verified-chip-job svg {
    width: 12px;
    height: 12px;
    stroke: #059669;
}

.company-industry-chip-job {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary, #6b7280);
    background: var(--bg-muted, #f3f4f6);
    border: 1px solid var(--border-light, #e8eaf0);
    border-radius: 20px;
    padding: 0.2rem 0.7rem;
}

.company-about-body-job {
    margin-bottom: 1.25rem;
}

.company-mission-job {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(221, 45, 74, 0.04), rgba(221, 45, 74, 0.02));
    border: 1.5px solid rgba(221, 45, 74, 0.15);
    border-left: 3px solid var(--accent, #DD2D4A);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.company-mission-icon-job {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(221, 45, 74, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.company-mission-icon-job svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent, #DD2D4A);
}

.company-mission-body-job {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.company-mission-label-job {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent, #DD2D4A);
}

.company-mission-text-job {
    font-size: 0.9rem;
    color: var(--text-primary, #1f2937);
    line-height: 1.6;
    font-style: italic;
}

.benefits-categories-wrap-job {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.benefit-cat-block-job {
    background: var(--bg-card, #ffffff);
    border: 1.5px solid var(--border-light, #e8eaf0);
    border-radius: 14px;
    padding: 1.125rem 1.25rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.benefit-cat-block-job:hover {
    border-color: rgba(221, 45, 74, 0.3);
    box-shadow: 0 4px 16px rgba(221, 45, 74, 0.06);
}

.benefit-cat-head-job {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.875rem;
    padding-bottom: 0.75rem;
    border-bottom: 1.5px solid var(--border-light, #f0f0f0);
}

.benefit-cat-icon-job {
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: rgba(221, 45, 74, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-cat-icon-job svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent, #DD2D4A);
}

.benefit-cat-name-job {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin: 0;
    line-height: 1.3;
}

.benefit-list-job {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit-list-item-job {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.835rem;
    color: var(--text-primary, #374151);
    line-height: 1.4;
}

.benefit-tick-job {
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    flex-shrink: 0;
}

.benefit-tick-job svg {
    width: 10px;
    height: 10px;
    stroke: #059669;
    stroke-width: 2.5;
}

.culture-grid-job {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.culture-card-job {
    background: var(--bg-card, #fff);
    border: 1.5px solid var(--border-light, #e8eaf0);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.culture-card-job:hover {
    border-color: var(--accent, #DD2D4A);
    box-shadow: 0 4px 14px rgba(221, 45, 74, 0.07);
    transform: translateY(-2px);
}

.culture-icon-job {
    font-size: 1.75rem;
    margin-bottom: 0.6rem;
    line-height: 1;
}

.culture-title-job {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin: 0 0 0.35rem;
}

.culture-desc-job {
    font-size: 0.775rem;
    color: var(--text-secondary, #6b7280);
    line-height: 1.45;
    margin: 0;
}

.gallery-grid-job {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.875rem;
    margin-top: 1rem;
}

.gallery-item-job {
    border-radius: 10px;
    overflow: hidden;
    height: 140px;
    background: var(--bg-muted, #f3f4f6);
}

.gallery-item-job img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item-job:hover img {
    transform: scale(1.05);
}

.location-chip-glass-job svg {
    width: 13px;
    height: 13px;
    stroke: var(--accent, #DD2D4A);
    flex-shrink: 0;
}

.recruiter-contacts-job {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.recruiter-contact-link-job {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.83rem;
    color: var(--text-secondary, #6b7280);
    text-decoration: none;
    transition: color 0.15s;
}

.recruiter-contact-link-job:hover {
    color: var(--accent, #DD2D4A);
}

.recruiter-contact-link-job svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.share-btn-job.instagram {
    background: linear-gradient(135deg, #e1306c, #f77737);
    color: #fff;
}

.location-map-job {
    border-radius: 10px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.location-map-job iframe {
    width: 100%;
    border: 0;
    border-radius: 10px;
}

.similar-empty-job {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted, #9ca3af);
}

.similar-empty-job svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
    stroke: currentColor;
}

.similar-empty-job p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   CANDIDATE PAGES â€” NEW CSS
   Paste into your main CSS file (after existing candidate styles)
   ========================================================================== */

.sort-menu-candidate.show {
    display: block;
}

.page-btn-candidate.disabled, .page-btn-candidate[aria-disabled="true"] {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

.experience-dot-candidate.current {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(221, 45, 74, 0.18);
}

.exp-current-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.exp-type-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-hover);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    margin-left: 0.375rem;
    vertical-align: middle;
}

.portfolio-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-hover) 0%, rgba(79, 70, 229, 0.06) 100%);
    min-height: 140px;
}

.portfolio-placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    color: #4F46E5;
}

.portfolio-placeholder-icon i {
    width: 28px;
    height: 28px;
}

.project-role-tag {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.project-role-tag i {
    width: 13px;
    height: 13px;
}

.proj-url-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

.proj-url-link:hover {
    opacity: 0.8;
}

.proj-url-link i {
    width: 13px;
    height: 13px;
}

.cert-verify-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    margin-top: 0.375rem;
}

.cert-verify-link:hover {
    text-decoration: underline;
}

.cert-verify-link i {
    width: 12px;
    height: 12px;
}

.education-meta-candidate span i {
    width: 13px;
    height: 13px;
}

a.github-stat-candidate {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

a.github-stat-candidate:hover {
    transform: translateY(-2px);
}

.preference-item-candidate i[data-lucide="calendar-check"], .preference-item-candidate i[data-lucide="map-pin"] {
    color: var(--accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

a.page-btn-candidate {
    text-decoration: none;
    color: inherit;
}

a.page-btn-candidate.active-page-candidate {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

@keyframes candidateModalIn {
    from {
        transform: scale(0.92) translateY(20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.btn-submit-contact-candidate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: candidateSpin 0.6s linear infinite;
}

@keyframes candidateSpin {
    to {
        transform: rotate(360deg);
    }
}

.no-results-message-candidate {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    animation: fadeIn 0.4s ease-out;
}

.no-results-message-candidate i {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    stroke: var(--text-light);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

a.btn-clear-filters-candidate {
    text-decoration: none;
    cursor: pointer;
}

/* ================================================================
   SHARED MODAL SYSTEM â€” Job Application + Candidate Contact
   Single file covers both .application-modal-job and .contact-modal-candidate
   Import once in your main CSS or footer.php
================================================================ */

.application-modal-job, .contact-modal-candidate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.application-modal-job.active, .contact-modal-candidate.active {
    display: flex;
}

.modal-overlay-job, .modal-overlay-candidate {
    position: absolute;
    inset: 0;
    background: rgba(4, 1, 6, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: portalOverlayIn .3s ease;
}

@keyframes portalOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content-job, .modal-content-candidate {
    position: relative;
    z-index: 1;
    background: var(--bg-card, #fff);
    border-radius: 24px;
    width: 100%;
    max-width: 580px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 0 0 1px rgba(221, 45, 74, .1),
        0 40px 100px rgba(0, 0, 0, .32),
        0 8px 30px rgba(221, 45, 74, .06);
    animation: portalModalIn .42s cubic-bezier(.16, .84, .44, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(221, 45, 74, .18) transparent;
}

.modal-content-job::-webkit-scrollbar, .modal-content-candidate::-webkit-scrollbar {
    width: 4px;
}

.modal-content-job::-webkit-scrollbar-track, .modal-content-candidate::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content-job::-webkit-scrollbar-thumb, .modal-content-candidate::-webkit-scrollbar-thumb {
    background: rgba(221, 45, 74, .22);
    border-radius: 4px;
}

@keyframes portalModalIn {
    from {
        transform: translateY(28px) scale(.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close-job, .modal-close-candidate {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, .055);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .25s;
    z-index: 2;
}

.modal-close-job:hover, .modal-close-candidate:hover {
    background: rgba(221, 45, 74, .13);
    transform: rotate(90deg);
}

.modal-close-job svg, .modal-close-candidate svg {
    width: 16px;
    height: 16px;
    color: var(--text-primary, #111);
}

.modal-header-job, .modal-header-candidate {
    padding: 1.875rem 2rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, .055);
    position: relative;
    overflow: hidden;
}

.modal-header-job::after, .modal-header-candidate::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(221, 45, 74, .1) 0%, transparent 65%);
    pointer-events: none;
}

.modal-header-job h3, .modal-header-candidate h3 {
    font-family: 'Bricolage Grotesque', var(--font-display, sans-serif);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary, #0d0d0d);
    margin: 0 2.5rem 0.3rem 0;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.modal-header-job p, .modal-header-candidate p {
    font-size: 0.875rem;
    color: var(--text-secondary, #666);
    margin: 0;
}

.modal-header-job h3::before, .modal-header-candidate h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: linear-gradient(180deg, var(--accent, #DD2D4A), rgba(221, 45, 74, .3));
    border-radius: 2px;
    vertical-align: middle;
    margin-right: .55rem;
    position: relative;
    top: -.05em;
}

.modal-body-job, .modal-body-candidate {
    padding: 1.75rem 2rem 2rem;
}

.application-form-job, .contact-form-candidate {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.form-group-job, .form-group-candidate {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.1rem;
}

.form-group-job label, .form-group-candidate label {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: .4rem;
    letter-spacing: .06em;
}

.form-group-job input, .form-group-job select, .form-group-job textarea, .form-group-candidate input, .form-group-candidate select, .form-group-candidate textarea {
    padding: .72rem 1rem;
    border: 1.5px solid rgba(0, 0, 0, .09);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--text-primary, #111);
    background: var(--bg-input, #f9f9f9);
    transition: border-color .18s, box-shadow .18s, background .18s;
    font-family: var(--font-primary, sans-serif);
    width: 100%;
    outline: none;
}

.form-group-job input:focus, .form-group-job select:focus, .form-group-job textarea:focus, .form-group-candidate input:focus, .form-group-candidate select:focus, .form-group-candidate textarea:focus {
    border-color: var(--accent, --accent-light);
    background: #fff;
    box-shadow: 0 0 0 3.5px rgba(221, 45, 74, .09);
}

.form-group-job input:hover:not(:focus), .form-group-job select:hover:not(:focus), .form-group-job textarea:hover:not(:focus), .form-group-candidate input:hover:not(:focus), .form-group-candidate select:hover:not(:focus), .form-group-candidate textarea:hover:not(:focus) {
    border-color: rgba(0, 0, 0, .2);
}

.form-group-job input::placeholder, .form-group-job textarea::placeholder, .form-group-candidate input::placeholder, .form-group-candidate textarea::placeholder {
    color: rgba(0, 0, 0, .25);
    font-weight: 400;
}

.form-group-job select, .form-group-candidate select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 2.25rem;
}

.form-group-job textarea, .form-group-candidate textarea {
    resize: vertical;
    min-height: 88px;
    line-height: 1.55;
}

.form-group-job input.is-invalid, .form-group-job select.is-invalid, .form-group-candidate input.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .09);
}

.file-upload-job {
    position: relative;
    border-radius: 14px;
}

.file-upload-job input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.file-upload-job label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: 1.6rem 1.5rem;
    border: 2px dashed rgba(221, 45, 74, .22);
    border-radius: 14px;
    background: rgba(221, 45, 74, .018);
    cursor: pointer;
    transition: all .2s;
    text-align: center;
}

.file-upload-job label:hover {
    border-color: var(--accent, #DD2D4A);
    background: rgba(221, 45, 74, .045);
}

.file-upload-job label svg {
    width: 26px;
    height: 26px;
    color: var(--accent, #DD2D4A);
    opacity: .7;
}

.file-upload-job label span {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-primary, #222);
}

.file-upload-job label small {
    font-size: .75rem;
    color: var(--text-muted, #999);
}

.checkbox-group-job label, .checkbox-group-candidate label {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    cursor: pointer;
    padding: .8rem 1rem;
    background: rgba(0, 0, 0, .022);
    border-radius: 10px;
    border: 1.5px solid rgba(0, 0, 0, .065);
    transition: background .2s, border-color .2s;
}

.checkbox-group-job label:hover, .checkbox-group-candidate label:hover {
    background: rgba(221, 45, 74, .04);
    border-color: rgba(221, 45, 74, .18);
}

.checkbox-group-job input[type="checkbox"], .checkbox-group-candidate input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--accent, #DD2D4A);
    cursor: pointer;
}

.checkbox-group-job span, .checkbox-group-candidate span {
    font-size: .835rem;
    color: var(--text-secondary, #555);
    line-height: 1.5;
}

.checkbox-group-job a, .checkbox-group-candidate a {
    color: var(--accent, #DD2D4A);
    text-decoration: underline;
    font-weight: 600;
}

.btn-submit-application-job, .btn-submit-contact-candidate {
    width: 100%;
    margin-top: .4rem;
    padding: .95rem 1.5rem;
    background: linear-gradient(135deg, #DD2D4A 0%, #b81e37 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: .975rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: -.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(221, 45, 74, .32), 0 1px 3px rgba(0, 0, 0, .14);
    transition: transform .18s, box-shadow .18s, opacity .18s;
}

.btn-submit-application-job::before, .btn-submit-contact-candidate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
    transform: skewX(-15deg);
    transition: left .55s;
}

.btn-submit-application-job:hover::before, .btn-submit-contact-candidate:hover::before {
    left: 160%;
}

.btn-submit-application-job:hover:not(:disabled), .btn-submit-contact-candidate:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(221, 45, 74, .4), 0 2px 6px rgba(0, 0, 0, .14);
}

.btn-submit-application-job:active:not(:disabled), .btn-submit-contact-candidate:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(221, 45, 74, .28);
}

.btn-submit-application-job:disabled, .btn-submit-contact-candidate:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit-application-job svg, .btn-submit-contact-candidate svg {
    width: 17px;
    height: 17px;
}

.job-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2.5px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: portalSpin .6s linear infinite;
    flex-shrink: 0;
}

@keyframes portalSpin {
    to {
        transform: rotate(360deg);
    }
}

.swal2-popup.portal-swal {
    border-radius: 22px !important;
    padding: 2.25rem 2rem !important;
    font-family: 'Bricolage Grotesque', sans-serif !important;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .22) !important;
}

.swal2-popup.portal-swal .swal2-title {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
}

.swal2-popup.portal-swal .swal2-confirm {
    border-radius: 10px !important;
    font-weight: 700 !important;
    padding: .7rem 1.75rem !important;
    font-size: .9rem !important;
}

/* ========================================
   HERO SEARCH — CATEGORY SELECT
   ======================================== */

.category-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--bg-hover);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23657889' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.125rem center;
    padding-right: 3rem !important;
    cursor: pointer;
    border: none;
    color: var(--text-primary);
    font-size: 0.9375rem;
    padding: 1rem 3rem 1rem 3.25rem;
    border-radius: var(--radius-md);
    width: 100%;
    transition: all var(--transition-base);
}

.category-select:focus {
    outline: none;
    background-color: var(--bg-active);
    box-shadow: none;
}

/* ========================================
   HERO SEARCH — LIVE SUGGESTION DROPDOWN
   ======================================== */

.hero-search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-dropdown);
    box-shadow: 0 8px 32px rgba(30, 58, 76, 0.13), 0 2px 8px rgba(61, 143, 216, 0.08);
    z-index: 9999;
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.hero-search-suggestions.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-suggestions-header {
    padding: 8px 14px 5px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-hover);
}

.hero-suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: var(--font-display, sans-serif);
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.13s ease, color 0.13s ease;
    line-height: 1.35;
}

.hero-suggestion-item:last-child {
    border-bottom: none;
}

.hero-suggestion-item .sugg-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: background 0.13s, color 0.13s;
}

.hero-suggestion-item .sugg-text {
    flex: 1;
    min-width: 0;
}

.hero-suggestion-item .sugg-text strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.hero-suggestion-item .sugg-text span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.hero-suggestion-item:hover, .hero-suggestion-item.active {
    background: linear-gradient(90deg, rgba(61, 143, 216, 0.07) 0%, rgba(61, 143, 216, 0.03) 100%);
}

.hero-suggestion-item:hover .sugg-icon, .hero-suggestion-item.active .sugg-icon {
    background: rgba(61, 143, 216, 0.14);
    color: var(--accent-hover);
}

.hero-suggestion-item:hover .sugg-text strong, .hero-suggestion-item.active .sugg-text strong {
    color: var(--accent);
}

.hero-suggestion-item mark {
    background: transparent;
    color: var(--accent);
    font-weight: 700;
}

.hero-suggestions-empty {
    padding: 20px 14px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.hero-search-suggestions::-webkit-scrollbar {
    width: 4px;
}

.hero-search-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.hero-search-suggestions::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 4px;
}

/* ========================================
   JOB PAGE — SEARCH FALLBACK NOTICE
   ======================================== */

.search-fallback-notice {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: var(--bg-soft-yellow);
    border: 1px solid rgba(217, 119, 6, 0.25);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    color: var(--co-amber);
    flex-wrap: wrap;
    font-weight: 500;
}

.search-fallback-notice i[data-lucide] {
    flex-shrink: 0;
    color: var(--accent);
    width: 17px;
    height: 17px;
}

.search-fallback-notice span {
    flex: 1;
    min-width: 0;
}

.search-fallback-notice strong {
    color: var(--primary);
}

.fallback-reset {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    padding: 3px 10px;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    margin-left: auto;
}

.fallback-reset:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ========================================
   JOB PAGE — EMPTY STATE
   ======================================== */

.jobs-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3.5rem 1rem;
    color: var(--text-muted);
}

.jobs-empty-state i[data-lucide] {
    width: 56px;
    height: 56px;
    opacity: 0.25;
    margin-bottom: 14px;
}

.jobs-empty-state h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-family: var(--font-display);
    margin: 0 0 0.375rem;
}

.jobs-empty-state p {
    font-size: 0.88rem;
}

.jobs-empty-state a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.jobs-empty-state a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CANDIDATE AUTH SYSTEM — AUTH MESSAGE STYLES (login.php / register.php)
═══════════════════════════════════════════════════════════════════════════ */

.auth-system-msg {
    padding: 0.875rem 1.125rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.auth-system-msg--success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.auth-system-msg--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER — CANDIDATE USER DROPDOWN
═══════════════════════════════════════════════════════════════════════════ */

.candidate-user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.candidate-user-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1.5px solid rgba(79, 70, 229, 0.25);
    border-radius: 50px;
    padding: 0.35rem 0.85rem 0.35rem 0.35rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.candidate-user-trigger:hover, .candidate-user-trigger:focus-visible {
    background: rgba(79, 70, 229, 0.06);
    border-color: rgba(79, 70, 229, 0.5);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.candidate-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.candidate-header-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-heading, #1a1a2e);
    line-height: 1;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.candidate-menu-chevron {
    color: var(--color-text-muted, #6b7280);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.candidate-user-dropdown.is-open+.candidate-user-trigger .candidate-menu-chevron, .candidate-user-trigger[aria-expanded="true"] .candidate-menu-chevron {
    transform: rotate(180deg);
}

.candidate-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.candidate-user-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.candidate-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem 0.875rem;
}

.candidate-dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.candidate-dropdown-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.candidate-dropdown-email {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.candidate-dropdown-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 0.25rem 0;
}

.candidate-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
}

.candidate-dropdown-item:hover {
    background: #f5f3ff;
    color: #4f46e5;
    text-decoration: none;
}

.candidate-dropdown-item:hover svg {
    stroke: #4f46e5;
}

.candidate-dropdown-item--danger {
    color: #dc2626;
}

.candidate-dropdown-item--danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

.candidate-dropdown-item--danger:hover svg {
    stroke: #dc2626;
}

.candidate-dropdown-item:first-of-type {
    margin-top: 0.25rem;
}

.candidate-dropdown-item:last-child {
    margin-bottom: 0.25rem;
    border-radius: 0 0 14px 14px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DASHBOARD LAYOUT
═══════════════════════════════════════════════════════════════════════════ */

.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 80px);
    background: #f8f9fb;
}

.dashboard-sidebar {
    width: 260px;
    min-width: 260px;
    background: #ffffff;
    border-right: 1px solid #e9eaf0;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 0 2rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-profile {
    padding: 0 1.25rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #f0f1f5;
}

.sidebar-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 0.875rem;
}

.sidebar-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f1f5;
}

.sidebar-verified-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    background: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.sidebar-name {
    font-size: 0.975rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem;
}

.sidebar-title {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0 0 0.875rem;
    line-height: 1.4;
}

.profile-completion-bar {
    margin-top: 0.5rem;
}

.completion-track {
    height: 5px;
    background: #e9eaf0;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.completion-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #818cf8);
    border-radius: 99px;
    transition: width 0.6s ease;
}

.completion-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.sidebar-nav {
    padding: 1rem 0.75rem;
    flex: 1;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.875rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 0.15rem;
    cursor: pointer;
}

.sidebar-nav-item:hover {
    background: #f5f3ff;
    color: #4f46e5;
    text-decoration: none;
}

.sidebar-nav-item.active {
    background: #f5f3ff;
    color: #4f46e5;
    font-weight: 600;
}

.sidebar-nav-item svg {
    flex-shrink: 0;
}

.sidebar-nav-item.active svg, .sidebar-nav-item:hover svg {
    stroke: #4f46e5;
}

.sidebar-nav-divider {
    height: 1px;
    background: #f0f1f5;
    margin: 0.75rem 0;
}

.sidebar-logout {
    color: #dc2626;
}

.sidebar-logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.sidebar-logout:hover svg {
    stroke: #dc2626;
}

.dashboard-main {
    flex: 1;
    padding: 2rem 2.25rem;
    min-width: 0;
    overflow-x: hidden;
}

.dashboard-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.dashboard-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.25rem;
    line-height: 1.2;
}

.dashboard-subheading {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.btn-dashboard-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #4f46e5;
    color: #fff;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-dashboard-action:hover {
    background: #4338ca;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.25rem 1.25rem 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    border: 1px solid #e9eaf0;
    transition: transform 0.15s, box-shadow 0.15s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card--blue .stat-card-icon {
    background: #eff6ff;
    color: #2563eb;
}

.stat-card--amber .stat-card-icon {
    background: #fffbeb;
    color: #d97706;
}

.stat-card--violet .stat-card-icon {
    background: #f5f3ff;
    color: #7c3aed;
}

.stat-card--teal .stat-card-icon {
    background: #f0fdfa;
    color: #0d9488;
}

.stat-card--green .stat-card-icon {
    background: #f0fdf4;
    color: #16a34a;
}

.stat-card--red .stat-card-icon {
    background: #fef2f2;
    color: #dc2626;
}

.stat-card--indigo .stat-card-icon {
    background: #eef2ff;
    color: #4f46e5;
}

.stat-card--orange .stat-card-icon {
    background: #fff7ed;
    color: #ea580c;
}

.stat-card--blue .stat-card-icon svg {
    stroke: #2563eb;
}

.stat-card--amber .stat-card-icon svg {
    stroke: #d97706;
}

.stat-card--violet .stat-card-icon svg {
    stroke: #7c3aed;
}

.stat-card--teal .stat-card-icon svg {
    stroke: #0d9488;
}

.stat-card--green .stat-card-icon svg {
    stroke: #16a34a;
}

.stat-card--red .stat-card-icon svg {
    stroke: #dc2626;
}

.stat-card--indigo .stat-card-icon svg {
    stroke: #4f46e5;
}

.stat-card--orange .stat-card-icon svg {
    stroke: #ea580c;
}

.stat-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.stat-card-value {
    font-size: 1.65rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.stat-card-label {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.3;
}

.dashboard-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e9eaf0;
    padding: 0.5rem;
    margin-bottom: 8px;
}

.dashboard-card+.dashboard-card {
    margin-top: 0;
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.dashboard-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dashboard-card-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
}

.dashboard-card-link:hover {
    text-decoration: underline;
}

.dashboard-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    text-align: center;
    color: #9ca3af;
}

.dashboard-empty-state svg {
    stroke: #d1d5db;
}

.dashboard-empty-state p {
    font-size: 0.9rem;
    margin: 0;
    color: #9ca3af;
}

.app-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #f0f1f5;
    transition: background 0.15s;
}

.app-item:hover {
    background: #f5f3ff;
}

.app-logo {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f4ff;
    border: 1px solid #e9eaf0;
}

.app-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-details {
    flex: 1;
    min-width: 0;
}

.app-job-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-company {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0 0 0.1rem;
}

.app-date {
    font-size: 0.72rem;
    color: #9ca3af;
    margin: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-pill--green {
    background: #f0fdf4;
    color: #16a34a;
}

.status-pill--red {
    background: #fef2f2;
    color: #dc2626;
}

.status-pill--amber {
    background: #fffbeb;
    color: #d97706;
}

.status-pill--violet {
    background: #f5f3ff;
    color: #7c3aed;
}

.enq-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    background: #4f46e5;
    color: #fff;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
}

.enq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.enq-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.875rem;
    padding: 0.875rem;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #f0f1f5;
}

.enq-item--new {
    background: #fafbff;
    border-color: #e0e7ff;
}

.enq-meta {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.enq-dot {
    width: 8px;
    height: 8px;
    background: #4f46e5;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.enq-company {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.15rem;
}

.enq-recruiter {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0 0 0.25rem;
}

.enq-message {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.enq-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.enq-date {
    font-size: 0.72rem;
    color: #9ca3af;
}

.enq-reply-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
    padding: 0.25rem 0.6rem;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    background: #f5f3ff;
    transition: background 0.15s;
}

.enq-reply-btn:hover {
    background: #ede9fe;
    text-decoration: none;
}

.dashboard-profile-snapshot {
    margin-bottom: 0;
}

.profile-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.snapshot-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.875rem;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #f0f1f5;
}

.snapshot-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
}

.snapshot-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
}

.snapshot-available {
    color: #16a34a;
}

.snapshot-link {
    color: #4f46e5;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.snapshot-link:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROFILE EDIT PAGE
═══════════════════════════════════════════════════════════════════════════ */

.profile-alert {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.875rem 1.125rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.profile-alert--success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.profile-alert--success svg {
    stroke: #16a34a;
    flex-shrink: 0;
}

.profile-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.profile-alert--error svg {
    stroke: #dc2626;
    flex-shrink: 0;
}

.profile-tabs {
    display: flex;
    gap: 0.25rem;
    background: #ffffff;
    border: 1px solid #e9eaf0;
    border-radius: 12px;
    padding: 0.375rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.profile-tab {
    padding: 0.55rem 1.125rem;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.profile-tab:hover {
    background: #f5f3ff;
    color: #4f46e5;
}

.profile-tab.active {
    background: #4f46e5;
    color: #ffffff;
}

.profile-tab-panel {
    display: none;
}

.profile-tab-panel.active {
    display: block;
}

.profile-edit-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.125rem 1.25rem;
}

.form-grid-single {
    display: flex;
    grid-template-columns: 1fr;
    gap: 1rem;
    flex-direction: column;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.825rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-hint-inline {
    font-weight: 400;
    color: #9ca3af;
    font-size: 0.78rem;
}

.form-input, .form-select, .form-textarea {
    padding: 0.65rem 0.875rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 9px;
    font-size: 0.875rem;
    color: #111827;
    background: #ffffff;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
    font-family: inherit;
    outline: none;
    appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-input--readonly {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
    white-space: pre-line;
    word-break: break-all;
}

.form-input-file {
    padding: 0.65rem 0.875rem;
    border: 1.5px dashed #d1d5db;
    border-radius: 9px;
    font-size: 0.875rem;
    color: #374151;
    background: #fafafa;
    width: 100%;
    cursor: pointer;
    transition: border-color 0.15s;
}

.form-input-file:hover {
    border-color: #4f46e5;
}

.photo-upload-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.photo-preview-wrap {
    flex-shrink: 0;
}

.photo-preview-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9eaf0;
}

.photo-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-upload-photo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.125rem;
    background: #f5f3ff;
    color: #4f46e5;
    border: 1.5px solid #c7d2fe;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-upload-photo:hover {
    background: #ede9fe;
}

.photo-hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
}

.checkbox-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.checkbox-pill input[type="checkbox"] {
    display: none;
}

.checkbox-pill span {
    padding: 0.4rem 0.875rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    border: 1.5px solid #e5e7eb;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    user-select: none;
}

.checkbox-pill input:checked+span {
    background: #f5f3ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

.form-field-row-checks {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.toggle-switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

.toggle-switch {
    position: relative;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-track {
    display: block;
    width: 44px;
    height: 24px;
    background: #d1d5db;
    border-radius: 99px;
    position: relative;
    transition: background 0.2s;
    cursor: pointer;
}

.toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-track {
    background: #4f46e5;
}

.toggle-switch input:checked+.toggle-track::after {
    transform: translateX(20px);
}

.form-submit-row {
    display: flex;
    justify-content: flex-end;
    padding-top: 1.25rem;
    align-items: center;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-light, #e9eaf0);
    gap: 10px;
}

.btn-profile-save {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}

.btn-profile-save:hover {
    background: #4338ca;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.resume-current {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f5f3ff;
    border-radius: 10px;
    border: 1px solid #c7d2fe;
}

.resume-current-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e0e7ff;
    color: #4f46e5;
}

.resume-current-icon svg {
    stroke: #4f46e5;
}

.resume-filename {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem;
    word-break: break-all;
}

.resume-view-link {
    font-size: 0.8rem;
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.resume-view-link:hover {
    text-decoration: underline;
}

.resume-no-file {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0 0 0.5rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Dashboard
═══════════════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════
   CANDIDATE PROFILE EDIT — CPE COMPONENTS
   All rules are scoped to .cpe-wrapper to avoid bleeding into
   other pages / forms.
   ════════════════════════════════════════════════════════════════ */

/* ── Layout wrapper ─────────────────────────────────────────── */

.cpe-wrapper {
    display: flex;
    min-height: calc(100vh - var(--header-height, 68px));
    background: var(--bg-main, #f8f9fb);
}

/* ── Sidebar ────────────────────────────────────────────────── */

.cpe-sidebar {
    width: 240px;
    min-width: 240px;
    background: var(--bg-card, #fff);
    border-right: 1px solid var(--border-light, #e9eaf0);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: var(--header-height, 68px);
    height: calc(100vh - var(--header-height, 68px));
    overflow-y: auto;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-dark, #d1d5db) transparent;
    z-index: 20;
}

.cpe-sidebar::-webkit-scrollbar {
    width: 4px;
}

.cpe-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-dark, #d1d5db);
    border-radius: 99px;
}

.cpe-sidebar-top {
    padding: 20px 16px 14px;
    border-bottom: 1px solid var(--border-light, #e9eaf0);
}

.cpe-sb-profile {
    text-align: center;
    margin-bottom: 14px;
}

.cpe-sb-avatar-ring {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.cpe-sb-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-accent, #c7d2fe);
    display: block;
}

.cpe-sb-verified {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--accent, #4f46e5);
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpe-sb-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary, #111827);
    line-height: 1.3;
    margin-bottom: 3px;
}

.cpe-sb-title {
    font-size: 11.5px;
    color: var(--text-muted, #6b7280);
    line-height: 1.4;
}

.cpe-sb-strength {
    padding-bottom: 4px;
}

.cpe-sb-strength-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    margin-bottom: 5px;
}

.cpe-sb-progress-track {
    height: 5px;
    background: var(--border-light, #e9eaf0);
    border-radius: 99px;
    overflow: hidden;
}

.cpe-sb-progress-fill {
    height: 100%;
    width: var(--pct, 0%);
    background: linear-gradient(90deg, var(--accent, #4f46e5), #818cf8);
    border-radius: 99px;
    transition: width 0.7s ease;
}

.cpe-sb-nav {
    padding: 10px 10px 20px;
    flex: 1;
}

.cpe-sb-nav-group-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light, #9ca3af);
    padding: 8px 8px 3px;
}

.cpe-sb-nav-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary, #374151);
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
    line-height: 1.4;
}

.cpe-sb-nav-item svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.15s;
}

.cpe-sb-nav-item:hover {
    background: #f5f3ff;
    color: #4f46e5;
    text-decoration: none;
}

.cpe-sb-nav-item:hover svg {
    opacity: 1;
}

.cpe-sb-nav-item.active {
    background: #f5f3ff;
    color: #4f46e5;
    font-weight: 600;
}

.cpe-sb-nav-item.active svg {
    opacity: 1;
}

.cpe-sb-logout {
    color: #dc2626;
}

.cpe-sb-logout:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.cpe-sb-logout:hover svg {
    stroke: #dc2626;
    opacity: 1;
}

.cpe-sb-divider {
    height: 1px;
    background: var(--border-light, #e9eaf0);
    margin: 8px 0;
}

/* ── Main area ──────────────────────────────────────────────── */

.cpe-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cpe-topbar {
    background: var(--bg-card, #fff);
    border-bottom: 1px solid var(--border-light, #e9eaf0);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: var(--header-height, 68px);
    z-index: 10;
}

.cpe-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cpe-topbar-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin: 0;
    line-height: 1.3;
}

.cpe-topbar-sub {
    font-size: 12.5px;
    color: var(--text-muted, #6b7280);
    margin: 2px 0 0;
}

.cpe-mob-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-hover, #f3f4f6);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--text-secondary, #374151);
    padding: 0;
}

.cpe-mob-btn:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

.cpe-view-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.cpe-alerts-wrap {
    padding: 12px 24px 0;
}

.cpe-alert-autodismiss {
    transition: opacity 0.5s;
}

.cpe-tabnav-wrap {
    padding: 12px 24px 0;
    background: var(--bg-card, #fff);
    border-bottom: 1px solid var(--border-light, #e9eaf0);
}

.cpe-tabnav {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 12px;
}

.cpe-tabnav::-webkit-scrollbar {
    display: none;
}

.cpe-tab-pill {
    flex-shrink: 0;
    padding: 6px 14px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
    white-space: nowrap;
}

.cpe-tab-pill:hover {
    background: var(--bg-hover, #f3f4f6);
    color: var(--text-primary, #111827);
}

.cpe-tab-pill.active {
    background: var(--accent, #4f46e5);
    color: #fff;
}

.cpe-content {
    padding: 20px 24px 40px;
    flex: 1;
}

.cpe-panel {
    display: none;
}

.cpe-panel.active {
    display: block;
    animation: cpeFadeUp 0.2s ease;
}

@keyframes cpeFadeUp {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Grid helpers ───────────────────────────────────────────── */

.cpe-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.25rem;
    margin-top: 0.5rem;
}

.cpe-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem 1.25rem;
}

/* ── Section divider ────────────────────────────────────────── */

.cpe-section-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 14px;
}

.cpe-section-divider::before, .cpe-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light, #e9eaf0);
}

.cpe-section-divider span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted, #6b7280);
    white-space: nowrap;
}

/* ── Spacing helpers ────────────────────────────────────────── */

.cpe-mt-6 {
    margin-top: 0.375rem;
}

.cpe-mt-12 {
    margin-top: 0.75rem;
}

.cpe-mt-16 {
    margin-top: 1rem;
}

/* ── Salary pair ────────────────────────────────────────────── */

.cpe-salary-pair {
    display: flex;
}

.cpe-currency-sel {
    width: 75px;
    flex-shrink: 0;
    border-radius: 9px 0 0 9px !important;
    border-right: none !important;
    padding-right: 4px;
    font-size: 0.78rem;
}

.cpe-salary-input {
    border-radius: 0 9px 9px 0 !important;
}

/* ── Scoped form elements (won't bleed to other pages) ──────── */

.cpe-wrapper .cpe-form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.125rem 1.25rem;
}

.cpe-wrapper .cpe-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cpe-wrapper .cpe-form-field--full {
    grid-column: 1 / -1;
}

.cpe-wrapper .cpe-form-label {
    font-size: 0.825rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cpe-wrapper .cpe-form-hint-inline {
    font-weight: 400;
    color: #9ca3af;
    font-size: 0.78rem;
}

.cpe-wrapper .cpe-form-input, .cpe-wrapper .cpe-form-select, .cpe-wrapper .cpe-form-textarea {
    padding: 0.65rem 0.875rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 9px;
    font-size: 0.875rem;
    color: #111827;
    background: #ffffff;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
    font-family: inherit;
    outline: none;
    appearance: none;
}

.cpe-wrapper .cpe-form-input:focus, .cpe-wrapper .cpe-form-select:focus, .cpe-wrapper .cpe-form-textarea:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.cpe-wrapper .cpe-form-input--readonly {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.cpe-wrapper .cpe-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.cpe-wrapper .cpe-form-hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
}

/* ── Tag input ──────────────────────────────────────────────── */

.cpe-tag-wrap {
    min-height: 42px;
    background: var(--bg-input, #fff);
    border: 1.5px solid var(--border-color, #e5e7eb);
    border-radius: 9px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 6px 10px;
    cursor: text;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cpe-tag-wrap:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background: #fff;
}

.cpe-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px 2px 8px;
    background: #f5f3ff;
    border: 1px solid #c7d2fe;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    color: #4f46e5;
    user-select: none;
}

.cpe-tag-remove {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    color: #4f46e5;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.15s;
    font-family: inherit;
}

.cpe-tag-remove:hover {
    color: #dc2626;
}

.cpe-tag-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #111827);
    flex: 1;
    min-width: 100px;
    padding: 1px 0;
    font-family: inherit;
}

.cpe-tag-input::placeholder {
    color: #9ca3af;
}

/* ── CPE toggle — scoped, won't affect dashboard toggles ─────── */

.cpe-wrapper .toggle-switch-label {
    padding: 10px 12px;
    background: var(--bg-matte, #fafafa);
    border: 1px solid var(--border-light, #e9eaf0);
    border-radius: 8px;
}

.cpe-toggle-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cpe-toggle-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary, #111827);
}

.cpe-toggle-sub {
    font-size: 11.5px;
    color: var(--text-muted, #6b7280);
}

/* ── Addon input (social links) ─────────────────────────────── */

.cpe-addon-wrap {
    display: flex;
}

.cpe-addon-prefix {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: var(--bg-hover, #f3f4f6);
    border: 1.5px solid var(--border-color, #e5e7eb);
    border-right: none;
    border-radius: 9px 0 0 9px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    white-space: nowrap;
    flex-shrink: 0;
}

.cpe-addon-input {
    border-radius: 0 9px 9px 0 !important;
}

/* ── Repeatable sections ────────────────────────────────────── */

.cpe-rep-section {
    border: 1px solid var(--border-light, #e9eaf0);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 0.15s;
}

.cpe-rep-section:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cpe-rep-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-matte, #fafafa);
    border-bottom: 1px solid var(--border-light, #e9eaf0);
}

.cpe-rep-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary, #374151);
}

.cpe-rep-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #f5f3ff;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
}

.cpe-rep-body {
    padding: 16px;
}

.cpe-btn-remove-rep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.cpe-btn-remove-rep:hover {
    background: #dc2626;
    color: #fff;
}

.cpe-btn-add-rep {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: var(--bg-matte, #fafafa);
    border: 1.5px dashed var(--border-dark, #d1d5db);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    font-family: inherit;
    margin-top: 8px;
}

.cpe-btn-add-rep:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #f5f3ff;
}

.cpe-checkbox-field {
    display: flex;
    align-items: flex-end;
}

.cpe-inline-check {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #374151);
    cursor: pointer;
    padding: 8px 0;
}

.cpe-inline-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Document upload area ───────────────────────────────────── */

.cpe-docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.cpe-doc-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary, #374151);
}

.cpe-file-drop {
    position: relative;
    border: 2px dashed var(--border-dark, #d1d5db);
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    background: var(--bg-matte, #fafafa);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.cpe-file-drop:hover {
    border-color: #4f46e5;
    background: #f5f3ff;
}

.cpe-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.cpe-file-drop-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-muted, #6b7280);
    pointer-events: none;
}

.cpe-file-drop-inner svg {
    stroke: #9ca3af;
}

.cpe-file-drop-inner span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #374151);
}

.cpe-file-drop-inner small {
    font-size: 11px;
    color: var(--text-muted, #6b7280);
}

.cpe-file-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f5f3ff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    min-width: 0;
    overflow: hidden;
}

.cpe-file-current svg {
    stroke: #4f46e5;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.cpe-file-link {
    font-size: 12px;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
    display: block;
}

.cpe-file-link:hover {
    text-decoration: underline;
    color: #3730a3;
}

.cpe-doc-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

/* ── Mobile overlay ─────────────────────────────────────────── */

.cpe-mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    cursor: pointer;
}

.cpe-mob-overlay.active {
    display: block;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — CPE
   ════════════════════════════════════════════════════════════════ */

/* ── Wrapper ──────────────────────────────────────────────────────── */

.cd-wrapper {
    display: flex;
    min-height: calc(100vh - var(--header-height, 68px));
    background: var(--bg-main);
    position: relative;
}

.cd-sidebar {
    width: 260px;
    min-width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 10;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
    flex-shrink: 0;
}

.cd-sidebar::-webkit-scrollbar {
    width: 4px;
}

.cd-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.cd-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.cd-sb-inner {
    padding: 1.75rem 0 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cd-sb-profile {
    padding: 0 1.25rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.cd-sb-avatar-ring {
    position: relative;
    display: inline-block;
    margin-bottom: 0.875rem;
}

.cd-sb-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-light);
    display: block;
}

.cd-sb-verified {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

.cd-sb-name {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.2rem;
    font-family: var(--font-display);
}

.cd-sb-headline {
    font-size: 0.775rem;
    color: var(--text-muted);
    margin: 0 0 0.4rem;
    line-height: 1.4;
}

.cd-sb-location {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}

.cd-sb-location svg {
    stroke: var(--accent);
    flex-shrink: 0;
}

.cd-sb-strength {
    margin-top: 0.5rem;
}

.cd-sb-strength-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.cd-sb-strength-pct {
    font-weight: 700;
    color: var(--accent);
}

.cd-sb-progress-track {
    height: 5px;
    background: var(--border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.cd-sb-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: var(--radius-full);
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.cd-sb-open-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding: 0.3rem 0.75rem;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
}

.cd-sb-open-dot {
    width: 7px;
    height: 7px;
    background: #16a34a;
    border-radius: 50%;
    animation: cdPulse 1.8s ease-in-out infinite;
}

@keyframes cdPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.25);
    }
}

.cd-sb-nav {
    padding: 1rem 0.875rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cd-sb-nav-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 0 0.5rem;
    margin-bottom: 0.35rem;
}

.cd-sb-nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
    margin-bottom: 0.1rem;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-family: var(--font-primary);
}

.cd-sb-nav-item svg {
    flex-shrink: 0;
    stroke: var(--text-muted);
    transition: stroke var(--transition-fast);
}

.cd-sb-nav-item:hover, .cd-sb-nav-item.active {
    background: var(--bg-accent-lighter);
    color: var(--accent);
    text-decoration: none;
}

.cd-sb-nav-item:hover svg, .cd-sb-nav-item.active svg {
    stroke: var(--accent);
}

.cd-sb-nav-item.active {
    font-weight: 600;
    background: var(--bg-accent-light);
}

.cd-sb-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    background: var(--bg-hover);
    color: var(--text-muted);
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
}

.cd-sb-badge--new {
    background: var(--accent);
    color: #fff;
}

.cd-sb-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0.75rem 0.5rem;
}

.cd-sb-logout {
    color: #dc2626;
}

.cd-sb-logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.cd-sb-logout:hover svg {
    stroke: #dc2626;
}

/* ── Main content ─────────────────────────────────────────────────── */

.cd-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.cd-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem 2rem 0;
    flex-wrap: wrap;
}

.cd-topbar-left {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.cd-mob-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-hover);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.cd-mob-btn svg {
    stroke: var(--text-secondary);
}

.cd-topbar-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.2rem;
    font-family: var(--font-display);
    line-height: 1.2;
}

.cd-topbar-sub {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.cd-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.cd-topbar-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary, #374151);
    background: var(--bg-hover, #f3f4f6);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.cd-topbar-browse-btn svg {
    stroke: var(--text-muted);
}

.cd-topbar-browse-btn:hover {
    border-color: var(--accent);
    color: var(--co-accent);
    background: var(--co-accent-tint);
    text-decoration: none;
}

.cd-topbar-browse-btn:hover svg {
    stroke: var(--accent);
}

.cd-profile-nudge {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin: 1.25rem 2rem 0;
    padding: 0.875rem 1.125rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
}

.cd-profile-nudge-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    color: #fff;
}

.cd-profile-nudge-icon svg {
    stroke: #fff;
}

.cd-profile-nudge-text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cd-profile-nudge-text strong {
    color: var(--text-primary);
}

.cd-profile-nudge-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.875rem;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition-fast);
}

.cd-profile-nudge-btn:hover {
    background: var(--accent-hover);
    color: #fff;
    text-decoration: none;
}

.cd-tabnav-wrap {
    padding: 1.25rem 2rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cd-tabnav-wrap::-webkit-scrollbar {
    display: none;
}

.cd-tabnav {
    display: inline-flex;
    gap: 0.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.3rem;
    min-width: 100%;
    box-sizing: border-box;
}

.cd-tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
    white-space: nowrap;
    font-family: var(--font-primary);
    flex: 1;
    justify-content: center;
}

.cd-tab-pill:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.cd-tab-pill.active {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(61, 143, 216, 0.35);
    border: none;
    outline: none;
}

.cd-tab-pill:focus, .cd-tab-pill:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent);
}

.cd-tab-pill.active:focus, .cd-tab-pill.active:focus-visible {
    outline: none;
    box-shadow: 0 2px 8px rgba(61, 143, 216, 0.35), 0 0 0 2px rgba(61, 143, 216, 0.4);
}

.cd-tab-count {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.45rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
}

.cd-tab-pill:not(.active) .cd-tab-count {
    background: var(--bg-hover);
    color: var(--text-muted);
}

.cd-tab-count--new {
    background: #4f46e5;
    color: #fff;
}

.cd-tab-pill:not(.active) .cd-tab-count--new {
    background: #4f46e5;
    color: #fff;
}

.cd-content {
    padding: 1.5rem 2rem 2.5rem;
    flex: 1;
}

.cd-panel {
    display: none;
}

.cd-panel.active {
    display: block;
}

/* ── AI Banner ─────────────────────────────────────────────────────── */

.cd-ai-banner {
    position: relative;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 1.125rem 1.5rem;
}

.cd-ai-banner-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.cd-ai-banner-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.cd-ai-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cd-ai-banner-icon svg {
    stroke: rgba(255, 255, 255, 0.9);
}

.cd-ai-banner-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    padding-top: 0.35rem;
}

.cd-ai-banner-text strong {
    color: #fff;
}

/* ── Enhanced stat grid ─────────────────────────────────────────────── */

.cd-stats-grid-enhanced {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    margin-bottom: 1.5rem;
}

.cd-stat-card-enhanced {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* ── Funnel ────────────────────────────────────────────────────────── */

.cd-progress-section {
    margin-bottom: 1.5rem;
}

.cd-funnel-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 4px 0;
}

.cd-funnel-row {
    display: flex;
    grid-template-columns: 90px 1fr 80px;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.cd-funnel-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary, #374151);
    width: 90px;
    flex-shrink: 0;
}

.cd-funnel-bar-wrap {
    height: 8px;
    background: var(--border-light, #e9eaf0);
    border-radius: 99px;
    overflow: hidden;
    flex: 1;
}

.cd-funnel-bar {
    height: 100%;
    border-radius: 99px;
    transition: width 0.6s ease;
}

.cd-funnel-val {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary, #374151);
    text-align: right;
    min-width: 60px;
}

.cd-funnel-val small {
    font-weight: 500;
    color: var(--text-muted, #6b7280);
}

/* ── Enhanced empty state ────────────────────────────────────────── */

.cd-empty-state-enhanced {
    padding: 32px 16px;
    gap: 0.5rem;
    text-align: center;
}

.cd-empty-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--bg-matte, #fafafa);
    border: 1px solid var(--border-light, #e9eaf0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    margin: 0 auto 12px;
    color: var(--text-muted, #6b7280);
}

.cd-empty-icon-wrap svg {
    stroke: var(--accent);
}

.cd-empty-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin: 0 0 4px;
}

.cd-empty-sub {
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
    margin: 0 0 14px;
    line-height: 1.5;
    max-width: 300px;
    text-align: center;
    margin-inline: auto;
}

.cd-empty-cta {
    margin-top: 0.375rem;
    padding: 7px 16px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--co-accent);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
}

/* ── View All button (used in card headers) ──────────────────────── */

.cd-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    background: none;
    color: var(--co-accent);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.cd-view-all-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(61, 143, 216, 0.28);
    text-decoration: none;
    opacity: 0.75;
}

.dashboard-card-header .dashboard-card-link {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    text-decoration: none;
}

.dashboard-card-header .dashboard-card-link:hover {
    background: var(--bg-accent-lighter);
    color: var(--accent);
    border-color: var(--border-accent);
    text-decoration: none;
}

/* ── Two-col enhanced ────────────────────────────────────────────── */

.cd-two-col-enhanced {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* ── Application table ───────────────────────────────────────────── */

.cd-status-tabs-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
    padding: 12px 0 14px;
    border-bottom: 1px solid var(--border-light, #e9eaf0);
}

.cd-status-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 7px;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    background: var(--bg-hover, #f9fafb);
    border: 1px solid var(--border-color, #e5e7eb);
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.cd-status-tab:hover {
    color: var(--co-accent);
    border-color: var(--co-accent-border);
    background: var(--co-accent-tint);
}

.cd-status-tab.active {
    background: var(--co-accent);
    color: #fff;
    border-color: var(--co-accent);
}

.cd-stab-count {
    display: inline-flex;
    align-items: center;
    padding: 0 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    font-size: 0.625rem;
    font-weight: 700;
    min-width: 18px;
    justify-content: center;
    line-height: 1.7;
}

.cd-status-tab:not(.active) .cd-stab-count {
    background: var(--border-light, #e9eaf0);
    color: var(--text-muted, #6b7280);
}

.cd-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cd-filter-count {
    font-size: 0.75rem;
    color: var(--text-muted, #6b7280);
    font-weight: 600;
}

.cd-app-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid var(--border-light, #e9eaf0);
}

.cd-app-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.cd-app-table thead tr {
    background: var(--bg-matte, #fafafa);
    border-bottom: 1px solid var(--border-light, #e9eaf0);
}

.cd-app-table thead th {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-align: left;
    white-space: nowrap;
}

.cd-app-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: background 0.12s;
}

.cd-app-table tbody tr:last-child {
    border-bottom: none;
}

.cd-app-table tbody tr:hover {
    background: var(--bg-matte, #fafafa);
}

.cd-app-table tbody td {
    padding: 0.875rem 1rem;
    color: var(--text-secondary);
    vertical-align: middle;
}

.cd-company-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.cd-app-jobtitle {
    font-weight: 600;
    color: var(--text-primary, #111827);
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cd-app-date {
    white-space: nowrap;
    color: var(--text-muted, #6b7280);
    font-size: 0.75rem;
}

.cd-type-pill {
    display: inline-block;
    align-items: center;
    padding: 2px 8px;
    background: var(--co-accent-tint);
    color: var(--co-accent);
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Pagination ─────────────────────────────────────────────────── */

.cd-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 14px 0 2px;
}

.cd-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary, #374151);
    background: var(--bg-hover, #f3f4f6);
    border: 1px solid var(--border-color, #e5e7eb);
    text-decoration: none;
    transition: all 0.15s;
}

.cd-page-btn svg {
    stroke: var(--text-muted);
}

.cd-page-btn:hover {
    border-color: var(--co-accent-border);
    color: var(--co-accent);
    background: var(--co-accent-tint);
    text-decoration: none;
}

.cd-page-btn:hover svg {
    stroke: var(--accent);
}

.cd-page-btn.active {
    background: var(--co-accent);
    color: #fff;
    border-color: var(--co-accent);
}

.cd-page-info {
    font-size: 0.75rem;
    color: var(--text-muted, #6b7280);
    margin-left: 6px;
}

/* ── Enquiries full view ─────────────────────────────────────────── */

.cd-enq-stats-mini {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.cd-enq-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: var(--bg-matte);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    flex: 1;
    min-width: 80px;
}

.cd-enq-stat--new .cd-enq-stat-val {
    color: var(--accent);
}

.cd-enq-stat--replied .cd-enq-stat-val {
    color: #16a34a;
}

.cd-enq-stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.cd-enq-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.2rem;
}

.cd-enq-full-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.cd-enq-card {
    background: var(--bg-matte);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: box-shadow var(--transition-fast);
}

.cd-enq-card:hover {
    box-shadow: var(--shadow-md);
}

.cd-enq-card--new {
    background: linear-gradient(135deg, #fafbff 0%, #f8faff 100%);
    border-color: #c7d2fe;
}

.cd-enq-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
}

.cd-enq-card-left {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.cd-enq-card-company-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-accent-light);
    color: var(--accent);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-display);
}

.cd-enq-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.375rem;
    flex-shrink: 0;
}

.cd-enq-card-message {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.cd-enq-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border-light);
}

.cd-enq-card-email {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cd-enq-card-email svg {
    stroke: var(--text-muted);
    flex-shrink: 0;
}

.cd-enq-reply-btn {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
}

.cd-enq-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: capitalize;
}

.cd-enq-status--new {
    background: #eff6ff;
    color: #2563eb;
}

.cd-enq-status--read {
    background: var(--bg-hover);
    color: var(--text-muted);
}

.cd-enq-status--replied {
    background: #f0fdf4;
    color: #16a34a;
}

/* ── Profile Snapshot ────────────────────────────────────────────── */

.cd-snapshot-hero {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 1.5rem;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-light, #e9eaf0);
    flex-wrap: wrap;
    padding: 4px 0 20px;
}

.cd-snapshot-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-light);
    flex-shrink: 0;
}

.cd-snapshot-info {
    flex: 1;
    min-width: 0;
}

.cd-snapshot-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-primary, #111827);
    margin: 0 0 4px;
    font-family: var(--font-display);
}

.cd-snapshot-headline {
    font-size: 0.85rem;
    color: var(--text-muted, #6b7280);
    margin: 0 0 6px;
}

.cd-snapshot-company {
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
    margin: 0 0 10px;
}

.cd-snapshot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cd-snap-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: var(--bg-hover, #f3f4f6);
    color: var(--text-secondary, #374151);
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 600;
    gap: 4px;
    border: 1px solid var(--border-color, #e5e7eb);
}

.cd-snap-tag--green {
    background: var(--co-green-tint);
    color: var(--co-green);
    border-color: #bbf7d0;
}

.cd-snap-tag--blue {
    background: var(--co-blue-tint);
    color: var(--co-blue);
    border-color: #93c5fd;
}

.cd-snapshot-completion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    min-width: 110px;
}

.cd-snap-ring-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 2px 10px rgba(61, 143, 216, 0.25));
}

.cd-snap-ring {
    width: 80px;
    height: 80px;
}

.cd-snap-ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cd-snap-ring-pct {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--co-accent);
    font-family: var(--font-display);
    line-height: 1;
    letter-spacing: -0.03em;
}

.cd-snap-ring-sub {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
}

.cd-snap-ring-text {
    font-size: 0.7rem;
    color: var(--text-muted, #6b7280);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
    margin: 0;
}

.cd-snapshot-grid-enhanced {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 16px;
    display: grid;
    border: 1px solid var(--border-light, #e9eaf0);
    border-radius: 10px;
    overflow: hidden;
    padding: 8px;
}

.cd-snapshot-skills-section {
    margin-bottom: 1.25rem;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light, #e9eaf0);
}

.cd-snapshot-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 10px;
}

.cd-skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cd-skill-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: var(--bg-hover, #f3f4f6);
    color: var(--text-secondary, #374151);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.cd-skill-chip:hover {
    background: var(--bg-accent-lighter);
    color: var(--accent);
    border-color: var(--border-accent);
}

.cd-skill-chip--tech {
    background: var(--co-accent-tint);
    color: var(--co-accent);
    border-color: var(--co-accent-border);
}

.cd-snapshot-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    margin-top: 16px;
}

.cd-mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    z-index: 49;
    cursor: pointer;
}

.cd-mob-overlay.active {
    display: block;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — CD
   ══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   COMPANY AUTH SYSTEM — AUTH MESSAGE STYLES (login.php / register.php)
═══════════════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════
   COMPANY PAGES — COMBINED CSS
   Covers:  company-dashboard.php  (.cod-wrapper)
            company-profile-edit.php (.co-cpe-wrapper)
   Accent:  #4f46e5 (indigo) — matches company branding
   Units:   rem for typography, px for fixed chrome
   ════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES (company scope)
   ────────────────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════
   SECTION 1 — COMPANY DASHBOARD  (.cod-wrapper)
   ══════════════════════════════════════════════════════════════ */

/* ── Layout ─────────────────────────────────────────────────── */

.cod-wrapper {
    display: flex;
    min-height: calc(100vh - var(--header-height, 68px));
    background: var(--bg-main, #f8f9fb);
}

.cod-sidebar {
    width: 240px;
    min-width: 240px;
    background: var(--bg-card, #fff);
    border-right: 1px solid var(--border-light, #e9eaf0);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: var(--header-height, 68px);
    height: calc(100vh - var(--header-height, 68px));
    overflow-y: auto;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-dark, #d1d5db) transparent;
    z-index: 20;
}

.cod-sidebar::-webkit-scrollbar {
    width: 4px;
}

.cod-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-dark, #d1d5db);
    border-radius: 99px;
}

.cod-sb-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 20px;
}

/* ── Sidebar profile block ──────────────────────────────────── */

.cod-sb-profile {
    padding: 20px 16px 16px;
    border-bottom: 1px solid var(--border-light, #e9eaf0);
    text-align: center;
}

.cod-sb-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.cod-sb-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--co-accent-border);
    display: block;
}

.cod-sb-verified {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--co-accent);
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cod-sb-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    line-height: 1.3;
    margin-bottom: 3px;
}

.cod-sb-headline {
    font-size: 0.75rem;
    color: var(--text-muted, #6b7280);
    margin: 0 0 4px;
}

.cod-sb-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--text-muted, #6b7280);
    margin: 0 0 12px;
}

.cod-sb-strength {
    margin-top: 10px;
}

.cod-sb-strength-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.69rem;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    margin-bottom: 5px;
}

.cod-sb-strength-pct {
    color: var(--co-accent);
}

.cod-sb-progress-track {
    height: 5px;
    background: var(--border-light, #e9eaf0);
    border-radius: 99px;
    overflow: hidden;
}

.cod-sb-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--co-accent), var(--co-accent-light));
    border-radius: 99px;
    transition: width 0.7s ease;
}

.cod-sb-open-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 3px 10px;
    background: var(--co-green-tint);
    border: 1px solid #bbf7d0;
    border-radius: 99px;
    font-size: 0.69rem;
    font-weight: 700;
    color: var(--co-green);
}

.cod-sb-open-dot {
    width: 6px;
    height: 6px;
    background: var(--co-green);
    border-radius: 50%;
    animation: codblink 1.4s ease infinite;
}

@keyframes codblink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ── Sidebar nav ────────────────────────────────────────────── */

.cod-sb-nav {
    padding: 10px 10px 20px;
    flex: 1;
}

.cod-sb-nav-section-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light, #9ca3af);
    padding: 8px 8px 3px;
}

.cod-sb-nav-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary, #374151);
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
    line-height: 1.4;
}

.cod-sb-nav-item svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.15s;
}

.cod-sb-nav-item:hover {
    background: var(--co-accent-tint);
    color: var(--co-accent);
    text-decoration: none;
}

.cod-sb-nav-item:hover svg {
    opacity: 1;
}

.cod-sb-nav-item.active {
    background: var(--co-accent-tint);
    color: var(--co-accent);
    font-weight: 600;
}

.cod-sb-nav-item.active svg {
    opacity: 1;
}

.cod-sb-badge {
    margin-left: auto;
    background: var(--border-light, #e9eaf0);
    color: var(--text-muted, #6b7280);
    font-size: 0.625rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 99px;
    line-height: 1.6;
}

.cod-sb-badge--new {
    background: var(--co-red-tint);
    color: var(--co-red);
    animation: codblink 1.4s ease infinite;
}

.cod-sb-logout {
    color: var(--co-red);
}

.cod-sb-logout:hover {
    background: var(--co-red-tint) !important;
    color: var(--co-red) !important;
}

.cod-sb-logout:hover svg {
    stroke: var(--co-red);
    opacity: 1;
}

.cod-sb-divider {
    height: 1px;
    background: var(--border-light, #e9eaf0);
    margin: 8px 0;
}

.cod-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ── Topbar ─────────────────────────────────────────────────── */

.cod-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem 2rem 0;
    flex-wrap: wrap;
}

.cod-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cod-topbar-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin: 0;
    line-height: 1.3;
}

.cod-topbar-sub {
    font-size: 0.78rem;
    color: var(--text-muted, #6b7280);
    margin: 2px 0 0;
}

.cod-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cod-mob-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-hover, #f3f4f6);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--text-secondary, #374151);
    padding: 0;
}

.cod-mob-btn:focus {
    outline: 2px solid var(--co-accent);
    outline-offset: 2px;
}

.btn-co-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s, background 0.15s;
    font-family: inherit;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-co-primary {
    background: var(--co-accent);
    color: #fff;
}

.btn-co-primary:hover {
    opacity: 0.88;
    color: #fff;
    text-decoration: none;
}

.cod-topbar-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.48rem 0.9rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--bg-hover, #f3f4f6);
    border: 1px solid var(--border-color, #e5e7eb);
    color: var(--text-secondary, #374151);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.cod-topbar-browse-btn:hover {
    background: var(--co-accent-tint);
    color: var(--co-accent);
    text-decoration: none;
    border-color: var(--co-accent-border);
}

/* ── Profile nudge banner ───────────────────────────────────── */

.cod-profile-nudge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 24px 0;
    padding: 12px 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    font-size: 0.8125rem;
    color: #92400e;
}

.cod-profile-nudge-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #fef3c7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--co-amber);
}

.cod-profile-nudge-text {
    flex: 1;
    line-height: 1.5;
}

.cod-profile-nudge-text strong {
    color: #78350f;
}

.cod-profile-nudge-btn {
    flex-shrink: 0;
    padding: 5px 14px;
    background: var(--co-amber);
    color: #fff;
    border-radius: 7px;
    font-size: 0.775rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.cod-profile-nudge-btn:hover {
    opacity: 0.88;
    color: #fff;
    text-decoration: none;
}

/* ── Tab nav pills ──────────────────────────────────────────── */

.cod-tabnav-wrap {
    padding: 12px 24px 0;
    background: var(--bg-card, #fff);
    border-bottom: 1px solid var(--border-light, #e9eaf0);
}

.cod-tabnav {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 12px;
}

.cod-tabnav::-webkit-scrollbar {
    display: none;
}

.cod-tab-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
    white-space: nowrap;
}

.cod-tab-pill:hover {
    background: var(--bg-hover, #f3f4f6);
    color: var(--text-primary, #111827);
}

.cod-tab-pill.active {
    background: var(--co-accent);
    color: #fff;
}

.cod-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 99px;
    line-height: 1.6;
}

.cod-tab-pill:not(.active) .cod-tab-count {
    background: var(--border-light, #e9eaf0);
    color: var(--text-muted, #6b7280);
}

.cod-tab-count--new {
    background: var(--co-red-tint) !important;
    color: var(--co-red) !important;
}

/* ── Content / Panels ───────────────────────────────────────── */

.cod-content {
    padding: 20px 24px 40px;
    flex: 1;
}

.cod-panel {
    display: none;
}

.cod-panel.active {
    display: block;
    animation: codFadeUp 0.2s ease;
}

@keyframes codFadeUp {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cod-mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    cursor: pointer;
}

.cod-mob-overlay.active {
    display: block;
}

.cod-ai-banner {
    position: relative;
    background: var(--bg-sidebar);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 18px 22px;
}

.cod-ai-banner-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.cod-ai-banner-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.cod-ai-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.cod-ai-banner-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
}

.cod-ai-banner-text strong {
    color: #fff;
}

/* ── Stats grid ─────────────────────────────────────────────── */

.cod-stats-grid-enhanced {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 20px;
}

.cod-stat-card-enhanced {
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.cod-stat-card-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ── Two-col layout ─────────────────────────────────────────── */

.cod-two-col-enhanced {
    gap: 1.25rem;
    margin-bottom: 20px;
}

/* ── Application funnel ─────────────────────────────────────── */

/* ── Subscription card ──────────────────────────────────────── */

.cod-sub-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e9eaf0);
    border-radius: 12px;
    padding: 18px;
}

.cod-sub-title {
    font-size: 0.69rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted, #6b7280);
    margin-bottom: 6px;
}

.cod-sub-plan {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--co-accent);
    margin-bottom: 14px;
}

.cod-sub-row {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
}

.cod-sub-stat {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    border-right: 1px solid var(--border-light, #e9eaf0);
}

.cod-sub-stat:last-child {
    border-right: none;
}

.cod-sub-stat-val {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary, #111827);
}

.cod-sub-stat-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted, #6b7280);
    margin-top: 2px;
}

.cod-sub-days {
    font-size: 0.75rem;
    color: var(--text-muted, #6b7280);
    margin-bottom: 8px;
}

.cod-sub-days strong {
    color: var(--text-secondary, #374151);
}

.cod-sub-progress {
    height: 4px;
    background: var(--border-light, #e9eaf0);
    border-radius: 99px;
    overflow: hidden;
}

.cod-sub-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--co-accent), var(--co-accent-light));
    border-radius: 99px;
    transition: width 0.6s ease;
}

/* ── Top jobs bar chart ─────────────────────────────────────── */

.cod-top-jobs-list {
    padding: 4px 0;
}

.cod-top-job-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.cod-top-job-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary, #374151);
    width: 130px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cod-top-job-bar-wrap {
    flex: 1;
    height: 8px;
    background: var(--border-light, #e9eaf0);
    border-radius: 99px;
    overflow: hidden;
}

.cod-top-job-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--co-accent), var(--co-accent-light));
    border-radius: 99px;
    transition: width 0.6s ease;
}

.cod-top-job-val {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--co-accent);
    min-width: 20px;
    text-align: right;
}

/* ── Status filter tabs ─────────────────────────────────────── */

/* ── App table ──────────────────────────────────────────────── */

.cd-app-table th {
    padding: 10px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #6b7280);
    text-align: left;
    white-space: nowrap;
}

.cd-app-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-light, #e9eaf0);
    color: var(--text-secondary, #374151);
    vertical-align: middle;
}

.cd-app-table tr:last-child td {
    border-bottom: none;
}

.cod-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    background: var(--co-amber-tint);
    color: var(--co-amber);
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ── Empty states ───────────────────────────────────────────── */

.cd-empty-cta:hover {
    opacity: 0.88;
    color: #fff;
    text-decoration: none;
}

/* ── Company Profile Snapshot tab ───────────────────────────── */

.cd-snapshot-grid-enhanced .snapshot-item {
    padding: 10px 14px;
    border-right: 1px solid var(--border-light, #e9eaf0);
    border-bottom: 1px solid var(--border-light, #e9eaf0);
}

.cd-snapshot-grid-enhanced .snapshot-item:nth-child(3n) {
    border-right: none;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 2 — COMPANY PROFILE EDIT  (.co-cpe-wrapper)
   ══════════════════════════════════════════════════════════════ */

.co-cpe-wrapper {
    display: flex;
    min-height: calc(100vh - var(--header-height, 68px));
    background: var(--bg-main, #f8f9fb);
}

.co-cpe-sidebar {
    width: 240px;
    min-width: 240px;
    background: var(--bg-card, #fff);
    border-right: 1px solid var(--border-light, #e9eaf0);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: var(--header-height, 68px);
    height: calc(100vh - var(--header-height, 68px));
    overflow-y: auto;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-dark, #d1d5db) transparent;
    z-index: 20;
}

.co-cpe-sidebar::-webkit-scrollbar {
    width: 4px;
}

.co-cpe-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-dark, #d1d5db);
    border-radius: 99px;
}

/* ── Sidebar profile ────────────────────────────────────────── */

.co-cpe-sb-profile {
    padding: 20px 16px 14px;
    border-bottom: 1px solid var(--border-light, #e9eaf0);
    text-align: center;
    margin-bottom: 0;
}

.co-cpe-sb-avatar-ring {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.co-cpe-sb-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--co-accent-border);
    display: block;
}

.co-cpe-sb-verified {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--co-accent);
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.co-cpe-sb-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    line-height: 1.3;
    margin-bottom: 3px;
}

.co-cpe-sb-title {
    font-size: 0.72rem;
    color: var(--text-muted, #6b7280);
    line-height: 1.4;
}

.co-cpe-sb-strength {
    margin-top: 12px;
    padding-bottom: 4px;
}

.co-cpe-sb-strength-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.69rem;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    margin-bottom: 5px;
}

.co-cpe-sb-progress-track {
    height: 5px;
    background: var(--border-light, #e9eaf0);
    border-radius: 99px;
    overflow: hidden;
}

.co-cpe-sb-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--co-accent), var(--co-accent-light));
    border-radius: 99px;
    transition: width 0.7s ease;
}

.co-cpe-sb-nav {
    padding: 10px 10px 20px;
    flex: 1;
}

.co-cpe-sb-nav-group-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light, #9ca3af);
    padding: 8px 8px 3px;
}

.co-cpe-sb-nav-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary, #374151);
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
    line-height: 1.4;
}

.co-cpe-sb-nav-item svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.15s;
}

.co-cpe-sb-nav-item:hover {
    background: var(--co-accent-tint);
    color: var(--co-accent);
    text-decoration: none;
}

.co-cpe-sb-nav-item:hover svg {
    opacity: 1;
}

.co-cpe-sb-nav-item.active {
    background: var(--co-accent-tint);
    color: var(--co-accent);
    font-weight: 600;
}

.co-cpe-sb-nav-item.active svg {
    opacity: 1;
}

.co-cpe-sb-logout {
    color: var(--co-red);
}

.co-cpe-sb-logout:hover {
    background: var(--co-red-tint) !important;
    color: var(--co-red) !important;
}

.co-cpe-sb-divider {
    height: 1px;
    background: var(--border-light, #e9eaf0);
    margin: 8px 0;
}

.co-cpe-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.co-cpe-topbar {
    background: var(--bg-card, #fff);
    border-bottom: 1px solid var(--border-light, #e9eaf0);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: var(--header-height, 68px);
    z-index: 10;
}

.co-cpe-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.co-cpe-topbar-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin: 0;
    line-height: 1.3;
}

.co-cpe-topbar-sub {
    font-size: 0.78rem;
    color: var(--text-muted, #6b7280);
    margin: 2px 0 0;
}

.co-cpe-mob-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-hover, #f3f4f6);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--text-secondary, #374151);
    padding: 0;
}

.co-cpe-mob-btn:focus {
    outline: 2px solid var(--co-accent);
    outline-offset: 2px;
}

.btn-co-save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.55rem 1.25rem;
    background: var(--co-accent);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.btn-co-save:hover {
    opacity: 0.88;
    color: #fff;
    text-decoration: none;
}

/* ── Alerts ─────────────────────────────────────────────────── */

.co-cpe-alerts-wrap {
    padding: 12px 24px 0;
}

.co-alert-autodismiss {
    transition: opacity 0.5s;
}

.co-cpe-tabnav-wrap {
    padding: 12px 24px 0;
    background: var(--bg-card, #fff);
    border-bottom: 1px solid var(--border-light, #e9eaf0);
}

.co-cpe-tabnav {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 12px;
}

.co-cpe-tabnav::-webkit-scrollbar {
    display: none;
}

.co-cpe-tab-pill {
    flex-shrink: 0;
    padding: 6px 14px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
    white-space: nowrap;
}

.co-cpe-tab-pill:hover {
    background: var(--bg-hover, #f3f4f6);
    color: var(--text-primary, #111827);
}

.co-cpe-tab-pill.active {
    background: var(--co-accent);
    color: #fff;
}

.co-cpe-content {
    padding: 20px 24px 40px;
    flex: 1;
}

.co-cpe-panel {
    display: none;
}

.co-cpe-panel.active {
    display: block;
    animation: coCpeFadeUp 0.2s ease;
}

@keyframes coCpeFadeUp {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.co-cpe-mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    cursor: pointer;
}

.co-cpe-mob-overlay.active {
    display: block;
}

/* ── Logo upload ────────────────────────────────────────────── */

.logo-upload-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-preview-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--co-accent-border);
    flex-shrink: 0;
}

.logo-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-upload-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--co-accent-tint);
    border: 1.5px solid var(--co-accent-border);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--co-accent);
    cursor: pointer;
    transition: background 0.15s;
    width: fit-content;
    font-family: inherit;
}

.btn-upload-logo:hover {
    background: var(--co-accent);
    color: #fff;
}

.co-cpe-wrapper .cpe-addon-wrap {
    display: flex;
}

.co-cpe-wrapper .cpe-addon-prefix {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: var(--bg-hover, #f3f4f6);
    border: 1.5px solid var(--border-color, #e5e7eb);
    border-right: none;
    border-radius: 9px 0 0 9px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    white-space: nowrap;
    flex-shrink: 0;
}

.co-cpe-wrapper .cpe-addon-input {
    border-radius: 0 9px 9px 0 !important;
}

/* ── Section divider (reused from candidate CSS pattern) ─────── */

.co-cpe-wrapper .cpe-section-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 14px;
}

.co-cpe-wrapper .cpe-section-divider::before, .co-cpe-wrapper .cpe-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light, #e9eaf0);
}

.co-cpe-wrapper .cpe-section-divider span {
    font-size: 0.69rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted, #6b7280);
    white-space: nowrap;
}

/* ── Location 3-col grid ────────────────────────────────────── */

.co-cpe-wrapper .cpe-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.25rem;
    margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 3 — SHARED FORM ELEMENTS
   Used by both company-dashboard and company-profile-edit
   These complement (and don't override) your global base CSS.
   Only add here what is NOT already in global base CSS.
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — COMPANY PAGES
   ══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   POST JOB & MANAGE JOBS — Page Styles
   Prefix: pj-  (post-job shared)  |  mj-  (manage-jobs specific)
   Uses CSS variables from custom.css (:root)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Base page wrapper ─────────────────────────────────────────────────── */

.pj-page {
    background: var(--bg-main);
    min-height: 100vh;
    padding: 32px 0 80px;
}

/* ─── Hero Banner ───────────────────────────────────────────────────────── */

.pj-hero {
    background: var(--bg-sidebar);
    padding: 44px 0 52px;
    position: relative;
    overflow: hidden;
}

.pj-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .04);
    border-radius: 50%;
    pointer-events: none;
}

.pj-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, .03);
    border-radius: 50%;
    pointer-events: none;
}

.pj-hero-inner {
    position: relative;
    z-index: 1;
}

.pj-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-full);
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-sidebar-muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 14px;
}

.pj-hero-title {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 900;
    color: var(--text-inverse);
    margin: 0 0 8px;
    line-height: 1.2;
    font-family: var(--font-display);
}

.pj-hero-sub {
    font-size: 14px;
    color: var(--text-sidebar-muted);
    margin: 0;
}

.pj-hero-company {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-lg);
    padding: 11px 16px;
    width: fit-content;
    margin-top: 18px;
}

.pj-hero-company img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .2);
}

.pj-hero-company-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-inverse);
}

.pj-hero-company-sub {
    font-size: 11.5px;
    color: var(--text-sidebar-muted);
    margin-top: 1px;
}

.pj-hero-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-md);
    color: var(--text-sidebar-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
}

.pj-hero-action-btn:hover {
    background: rgba(255, 255, 255, .18);
    color: var(--text-inverse);
}

.pj-hero-action-btn--primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pj-hero-action-btn--primary:hover {
    background: var(--accent-hover);
    color: #fff;
}

/* ─── Limit Warning ─────────────────────────────────────────────────────── */

.pj-limit-warn {
    background: var(--co-amber-tint);
    border: 1.5px solid var(--co-amber);
    border-radius: var(--radius-lg);
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #92400e;
    margin: 24px 0;
}

/* ─── Stepper ───────────────────────────────────────────────────────────── */

.pj-stepper {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 22px 26px;
    margin: 26px 0 0;
    overflow-x: auto;
}

.pj-stepper-inner {
    display: flex;
    align-items: center;
    min-width: 480px;
    position: relative;
}

.pj-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    cursor: pointer;
}

.pj-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 17px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border-light);
    transition: background var(--transition-base);
    z-index: 0;
}

.pj-step-item.completed:not(:last-child)::after {
    background: var(--accent);
}

.pj-step-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-matte);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    transition: all var(--transition-fast);
}

.pj-step-item.active .pj-step-circle {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(61, 143, 216, .18);
}

.pj-step-item.completed .pj-step-circle {
    background: var(--co-green);
    border-color: var(--co-green);
    color: #fff;
}

.pj-step-label {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: center;
    white-space: nowrap;
}

.pj-step-item.active .pj-step-label {
    color: var(--accent);
    font-weight: 700;
}

.pj-step-item.completed .pj-step-label {
    color: var(--co-green);
}

/* ─── Form Card ─────────────────────────────────────────────────────────── */

.pj-form-card {
    background: var(--bg-card);
    margin-top: 18px;
    overflow: hidden;
}

.pj-card-header {
    padding: 18px 26px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-matte), var(--bg-card));
    display: flex;
    align-items: center;
    gap: 12px;
}

.pj-card-header-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.pj-card-header-icon--green {
    background: linear-gradient(135deg, var(--co-teal), var(--co-green));
}

.pj-card-header-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-display);
}

.pj-card-header-sub {
    font-size: 11.5px;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.pj-card-body {
    padding: 26px;
}

/* ─── Step panels ───────────────────────────────────────────────────────── */

.pj-step-panel {
    display: none;
}

.pj-step-panel.active {
    display: block;
}

/* ─── Form elements ─────────────────────────────────────────────────────── */

.pj-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.pj-form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
}

.pj-form-full {
    grid-column: 1 / -1;
}

.pj-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pj-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pj-label .req {
    color: var(--co-red);
}

.pj-hint {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 11px;
}

.pj-input, .pj-select, .pj-textarea {
    width: 100%;
    padding: 9px 13px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-input);
    font-size: 13.5px;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-input);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    outline: none;
}

.pj-input:focus, .pj-select:focus, .pj-textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(61, 143, 216, .1);
}

.pj-input.is-invalid, .pj-select.is-invalid {
    border-color: var(--co-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}

.pj-textarea {
    resize: vertical;
    min-height: 110px;
}

.pj-input-hint {
    font-size: 11px;
    color: var(--text-muted);
}

.pj-readonly {
    background: var(--bg-hover) !important;
    color: var(--text-muted);
    cursor: default;
    pointer-events: none;
}

.pj-step-indicator {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* ─── Vacancy row ───────────────────────────────────────────────────────── */

.pj-vacancy-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pj-vacancy-row .pj-input {
    flex: 1;
}

.pj-na-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    user-select: none;
    padding: 9px 13px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-input);
    background: var(--bg-input);
    transition: all var(--transition-fast);
}

.pj-na-label input {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}

.pj-na-label:has(input:checked) {
    border-color: var(--accent);
    background: var(--bg-accent-light);
    color: var(--accent);
}

/* ─── Checkbox pills ─────────────────────────────────────────────────────── */

.pj-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.pj-pill-label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-input);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-input);
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.pj-pill-label input {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}

.pj-pill-label:has(input:checked) {
    border-color: var(--accent);
    background: var(--bg-accent-light);
    color: var(--accent);
}

/* ─── Gender group ───────────────────────────────────────────────────────── */

.pj-gender-group {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.pj-gender-opt {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-input);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-input);
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.pj-gender-opt input {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}

.pj-gender-opt.pj-selected {
    border-color: var(--accent);
    background: var(--bg-accent-light);
    color: var(--accent);
}

/* ─── Salary card ───────────────────────────────────────────────────────── */

.pj-salary-card {
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 12px 18px;
}

.pj-salary-head {
    padding: 12px 18px;
    background: var(--bg-matte);
    border-bottom: 1px solid var(--border-light);
    font-weight: 800;
    font-size: 13px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pj-salary-body {
    padding: 18px;
}

.pj-salary-toggle {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.pj-salary-mode {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-input);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-input);
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.pj-salary-mode input {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}

.pj-salary-mode.pj-active {
    border-color: var(--accent);
    background: var(--bg-accent-light);
    color: var(--accent);
}

.pj-input-addon {
    display: flex;
}

.pj-addon-prefix {
    padding: 9px 11px;
    background: var(--bg-hover);
    border: 1.5px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius-input) 0 0 var(--radius-input);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

.pj-input-addon .pj-input {
    border-radius: 0 var(--radius-input) var(--radius-input) 0;
}

/* ─── Level tags ─────────────────────────────────────────────────────────── */

.pj-levels-display {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

.pj-level-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    background: var(--bg-accent-light);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 700;
}

.pj-level-tag .pj-remove {
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: var(--accent);
    border: none;
    background: none;
    padding: 0;
}

/* ─── Custom fields ──────────────────────────────────────────────────────── */

.pj-custom-field-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    background: var(--bg-matte);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 13px;
    margin-bottom: 9px;
}

.pj-custom-field-row .pj-form-group {
    flex: 1;
    margin: 0;
}

.pj-btn-remove-field {
    padding: 8px 11px;
    background: var(--co-red-tint);
    border: 1.5px solid #fecaca;
    color: var(--co-red);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pj-btn-remove-field:hover {
    background: var(--co-red);
    color: #fff;
    border-color: var(--co-red);
}

.pj-btn-add-field {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: var(--bg-matte);
    border: 1.5px dashed var(--border-accent);
    color: var(--accent);
    border-radius: var(--radius-input);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 4px;
}

.pj-btn-add-field:hover {
    background: var(--bg-accent-light);
    border-color: var(--accent);
}

/* ─── Image upload / drop zone ───────────────────────────────────────────── */

.pj-file-drop {
    border: 2px dashed var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 28px 18px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-accent-lighter);
    position: relative;
}

.pj-file-drop:hover {
    border-color: var(--accent);
    background: var(--bg-accent-light);
}

.pj-file-drop input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
}

.pj-file-drop-icon {
    font-size: 32px;
    margin-bottom: 7px;
}

.pj-file-drop-text {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.pj-file-drop-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
}

.pj-img-preview {
    display: flex;
    align-items: center;
    gap: 13px;
    background: var(--bg-matte);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 11px 15px;
    margin-top: 10px;
}

.pj-img-preview img {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.pj-img-preview-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.pj-img-preview-size {
    font-size: 11px;
    color: var(--text-muted);
}

.pj-btn-clear-img {
    margin-left: auto;
    padding: 5px 11px;
    background: var(--co-red-tint);
    color: var(--co-red);
    border: 1.5px solid #fecaca;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pj-btn-clear-img:hover {
    background: var(--co-red);
    color: #fff;
    border-color: var(--co-red);
}

/* ─── Nav buttons ────────────────────────────────────────────────────────── */

.pj-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 26px;
    border-top: 1px solid var(--border-light);
    gap: 12px;
    flex-wrap: wrap;
    background: var(--bg-matte);
}

.pj-btn-prev, .pj-btn-next, .pj-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-button);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-family: var(--font-primary);
}

.pj-btn-prev {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1.5px solid var(--border-color);
}

.pj-btn-prev:hover {
    background: var(--bg-hover);
}

.pj-btn-next {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: var(--shadow-md);
    margin-left: auto;
}

.pj-btn-next:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-1px);
}

.pj-btn-submit {
    background: linear-gradient(135deg, var(--co-green), var(--co-teal));
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, .25);
    margin-left: auto;
    font-size: 14px;
    padding: 12px 30px;
}

.pj-btn-submit:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.pj-btn-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

.pj-section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 14px;
}

.pj-section-divider span {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}

.pj-section-divider::before, .pj-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

/* ─── Preview styles ─────────────────────────────────────────────────────── */

.pj-preview-hero {
    background: var(--bg-sidebar);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 18px;
    color: #fff;
}

.pj-preview-job-title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.pj-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pj-preview-tag {
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 700;
    background: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .9);
}

.pj-preview-tag--green {
    background: rgba(22, 163, 74, .35);
}

.pj-preview-section {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 13px;
    overflow: hidden;
}

.pj-preview-sec-head {
    padding: 11px 18px;
    background: var(--bg-matte);
    border-bottom: 1px solid var(--border-light);
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pj-preview-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 9px 18px;
    border-bottom: 1px solid var(--bg-hover);
    font-size: 12.5px;
}

.pj-preview-row:last-child {
    border-bottom: none;
}

.pj-preview-lbl {
    width: 120px;
    flex-shrink: 0;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding-top: 1px;
}

.pj-preview-val {
    flex: 1;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.6;
}

.pj-preview-rich {
    padding: 13px 18px;
    border-bottom: 1px solid var(--bg-hover);
}

.pj-preview-rich:last-child {
    border-bottom: none;
}

.pj-preview-rich-lbl {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 7px;
}

.pj-preview-rich-content {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.7;
}

.pj-preview-rich-content p {
    margin-bottom: .5rem;
}

/* ─── Success screen ─────────────────────────────────────────────────────── */

.pj-success-wrap {
    text-align: center;
    padding: 52px 20px;
}

.pj-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--co-green), var(--co-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, .25);
    color: #fff;
}

.pj-success-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 7px;
    font-family: var(--font-display);
}

.pj-success-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 26px;
}

.pj-success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pj-btn-dash, .pj-btn-another {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-button);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.pj-btn-dash {
    background: linear-gradient(135deg, var(--co-green), var(--co-teal));
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, .25);
}

.pj-btn-dash:hover {
    color: #fff;
    transform: translateY(-1px);
}

.pj-btn-another {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1.5px solid var(--border-color);
}

.pj-btn-another:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* ─── Spinner ────────────────────────────────────────────────────────────── */

@keyframes pj-spin {
    to {
        transform: rotate(360deg);
    }
}

.pj-spinner {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pj-spin .65s linear infinite;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MANAGE JOBS — Specific Styles (mj-)
   ═══════════════════════════════════════════════════════════════════════════ */

.mj-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 24px 0 18px;
}

.mj-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.mj-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.mj-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--sc) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mj-stat-val {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-display);
}

.mj-stat-lbl {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 2px;
}

.mj-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mj-search-wrap {
    position: relative;
    flex: 1;
    min-width: 180px;
}

.mj-search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.mj-search-input {
    padding-left: 36px !important;
}

.mj-filter-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mj-filter-pill {
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-matte);
    border: 1.5px solid var(--border-light);
    text-decoration: none;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.mj-filter-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-accent-lighter);
}

.mj-filter-pill--active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.mj-filter-pill--active:hover {
    color: #fff;
}

.mj-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.mj-job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.mj-job-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--border-accent);
}

.mj-job-card-top {
    padding: 18px 18px 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.mj-job-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-accent-light);
    border: 1.5px solid var(--border-light);
    overflow: hidden;
    flex-shrink: 0;
}

.mj-job-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mj-job-info {
    flex: 1;
    min-width: 0;
}

.mj-job-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
    font-family: var(--font-display);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mj-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.mj-job-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: var(--bg-accent-lighter);
    color: var(--text-accent-secondary);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border-accent-secondary);
}

.mj-status-badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: .2px;
}

.mj-job-card-stats {
    padding: 10px 18px 12px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: var(--bg-matte);
    flex: 1;
}

.mj-job-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.mj-job-stat svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.mj-job-stat--expired {
    color: var(--co-red);
}

.mj-job-stat--expired svg {
    color: var(--co-red);
}

.mj-job-card-actions {
    padding: 12px 18px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 7px;
}

.mj-btn-edit, .mj-btn-toggle, .mj-btn-view, .mj-btn-delete {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.mj-btn-edit {
    background: var(--bg-accent-light);
    color: var(--accent);
    border-color: var(--border-accent);
}

.mj-btn-edit:hover {
    background: var(--accent);
    color: #fff;
}

.mj-btn-toggle--pause {
    background: var(--co-amber-tint);
    color: var(--co-amber);
    border-color: #f59e0b40;
}

.mj-btn-toggle--pause:hover {
    background: var(--co-amber);
    color: #fff;
}

.mj-btn-toggle--activate {
    background: var(--co-green-tint);
    color: var(--co-green);
    border-color: #16a34a40;
}

.mj-btn-toggle--activate:hover {
    background: var(--co-green);
    color: #fff;
}

.mj-btn-view {
    background: var(--bg-matte);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.mj-btn-view:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.mj-btn-delete {
    background: var(--co-red-tint);
    color: var(--co-red);
    border-color: #dc262640;
    margin-left: auto;
    padding: 7px 10px;
}

.mj-btn-delete:hover {
    background: var(--co-red);
    color: #fff;
}

.mj-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.mj-page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.mj-page-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.mj-page-btn--active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   EDIT MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.mj-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 29, 38, 0.62);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(3px);
    overflow-y: auto;
}

.mj-modal-panel {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 760px;
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow: visible;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-light);
    margin: auto;
    flex-shrink: 0;
}

.mj-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-matte), var(--bg-card));
    flex-shrink: 0;
}

.mj-modal-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-display);
    flex: 1;
}

.mj-modal-close {
    padding: 7px;
    background: var(--bg-hover);
    border: 1.5px solid var(--border-light);
    color: var(--text-muted);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    margin-left: auto;
}

.mj-modal-close:hover {
    background: var(--co-red-tint);
    color: var(--co-red);
    border-color: #fecaca;
}

.mj-modal-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 20px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.mj-modal-tabs {
    display: flex;
    overflow-x: auto;
    border-bottom: 2px solid var(--border-light);
    background: var(--bg-matte);
    flex-shrink: 0;
    gap: 0;
    scrollbar-width: none;
}

.mj-modal-tabs::-webkit-scrollbar {
    display: none;
}

.mj-modal-tab {
    flex-shrink: 0;
    padding: 11px 18px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
    white-space: nowrap;
}

.mj-modal-tab:hover {
    color: var(--accent);
}

.mj-modal-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: rgba(61, 143, 216, .05);
}

.mj-tab-panel {
    display: none;
    overflow-y: auto;
    flex: 1;
}

.mj-tab-panel.active {
    display: block;
}

.mj-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-matte);
    flex-shrink: 0;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER — USER MENU (moved from inline <style> in header.php)
   Desktop dropdown + Mobile sidebar unified
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Trigger wrapper ────────────────────────────────────────────────────── */

.user-menu-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 5px 12px 5px 5px;
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    font-family: var(--font-primary);
    max-width: 220px;
}

.user-menu-trigger:hover {
    border-color: var(--border-accent);
    box-shadow: 0 0 0 3px rgba(61, 143, 216, .10);
}

.user-menu-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-menu-avatar--square {
    border-radius: var(--radius-sm);
}

.user-menu-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-type {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    letter-spacing: .3px;
    flex-shrink: 0;
    display: none;
}

.user-menu-type--candidate {
    background: var(--co-violet-tint);
    color: var(--co-violet);
}

.user-menu-type--company {
    background: var(--co-blue-tint);
    color: var(--co-blue);
}

.user-menu-chevron {
    color: var(--text-muted);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.user-menu-trigger[aria-expanded="true"] .user-menu-chevron {
    transform: rotate(180deg);
}

/* ── Desktop dropdown panel ─────────────────────────────────────────────── */

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 252px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-dropdown);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-8px) scale(.97);
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    overflow: hidden;
}

.user-menu-dropdown.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* ── Dropdown header ────────────────────────────────────────────────────── */

.user-dd-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--bg-matte), var(--bg-card));
    border-bottom: 1px solid var(--border-light);
}

.user-dd-avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-accent);
}

.user-dd-avatar--circle {
    border-radius: 50%;
}

.user-dd-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.user-dd-email {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.user-dd-badge {
    margin-top: 4px;
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.user-dd-badge--candidate {
    background: var(--co-violet-tint);
    color: var(--co-violet);
}

.user-dd-badge--company {
    background: var(--co-blue-tint);
    color: var(--co-blue);
}

/* ── Dropdown items ─────────────────────────────────────────────────────── */

.user-dd-divider {
    height: 1px;
    background: var(--border-light);
    margin: 4px 0;
}

.user-dd-section-label {
    padding: 8px 16px 2px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.user-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-primary);
    font-weight: 500;
}

.user-dd-item svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.user-dd-item:hover {
    background: var(--bg-accent-lighter);
    color: var(--text-primary);
}

.user-dd-item:hover svg {
    color: var(--accent);
}

.user-dd-cta-wrap {
    padding: 10px 8px 4px;
}

.user-dd-item--highlight {
    color: var(--accent);
    font-weight: 700;
    background: var(--bg-accent-light);
    border-radius: var(--radius-md);
    width: calc(100% - 16px);
    margin: 0;
    padding: 10px 12px;
}

.user-dd-item--highlight svg {
    color: var(--accent);
}

.user-dd-item--highlight:hover {
    background: var(--bg-accent-hover);
    color: var(--primary);
}

.user-dd-item--danger {
    color: var(--co-red);
}

.user-dd-item--danger svg {
    color: var(--co-red);
}

.user-dd-item--danger:hover {
    background: var(--co-red-tint);
    color: #b91c1c;
}

.user-dd-item--danger:hover svg {
    color: #b91c1c;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE HEADER OVERRIDES  (≤ 991px)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER — DESKTOP USER MENU + MOBILE SIDEBAR
   Append this entire block to the bottom of custom.css
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Overlay ──────────────────────────────────────────────────────────── */

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 29, 38, 0.55);
    z-index: 9998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.nav-overlay.is-open {
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DESKTOP NAV LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.desktop-nav-area {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    gap: 0;
}

.desktop-auth-area {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-left: 1.75rem;
    flex-shrink: 0;
}

/* ── Desktop user menu trigger ──────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE — hide desktop nav, show hamburger
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE SIDEBAR  (separate <aside> element)
   ═══════════════════════════════════════════════════════════════════════════ */

.mob-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 100vw);
    height: 100dvh;
    background: var(--bg-card);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: var(--shadow-2xl);
    transition: right var(--transition-slow);
}

.mob-sidebar.is-open {
    right: 0;
}

.mob-sidebar__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
    background: var(--bg-card);
    position: sticky;
    top: 0;
    z-index: 2;
}

.mob-sidebar__logo {
    height: 36px;
    width: auto;
}

.mob-sidebar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-hover);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text-primary);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.mob-sidebar__close:hover {
    background: var(--co-red-tint);
    border-color: var(--co-red);
    color: var(--co-red);
    transform: rotate(90deg);
}

.mob-sidebar__profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-matte), var(--bg-hover));
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.mob-sidebar__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2.5px solid var(--border-accent);
    box-shadow: var(--shadow-sm);
}

.mob-sidebar__avatar--square {
    border-radius: var(--radius-md);
}

.mob-sidebar__profile-info {
    min-width: 0;
    flex: 1;
}

.mob-sidebar__profile-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mob-sidebar__profile-email {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.mob-sidebar__badge {
    display: inline-block;
    margin-top: 5px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.mob-sidebar__badge--candidate {
    background: var(--co-violet-tint);
    color: var(--co-violet);
}

.mob-sidebar__badge--company {
    background: var(--co-blue-tint);
    color: var(--co-blue);
}

.mob-sidebar__quick {
    display: flex;
    gap: 8px;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.mob-sidebar__quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-color);
    background: var(--bg-matte);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.mob-sidebar__quick-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-dark);
}

.mob-sidebar__quick-btn--accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.mob-sidebar__quick-btn--accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

.mob-sidebar__nav {
    padding: 0.75rem 0;
    flex-shrink: 0;
}

.mob-sidebar__section-label {
    padding: 10px 1.5rem 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .6px;
}

.mob-sidebar__nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 1.5rem;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-display);
    cursor: pointer;
}

.mob-sidebar__nav-link:hover {
    background: var(--bg-hover);
    color: var(--accent);
}

.mob-sidebar__nav-link--toggle {
    justify-content: space-between;
}

.mob-sidebar__chevron {
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.mob-sidebar__nav-item--dropdown.is-open .mob-sidebar__chevron {
    transform: rotate(180deg);
}

.mob-sidebar__nav-item--dropdown.is-open .mob-sidebar__nav-link {
    color: var(--accent);
    background: var(--bg-accent-lighter);
}

.mob-sidebar__sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    background: var(--bg-matte);
    border-top: 1px solid transparent;
}

.mob-sidebar__nav-item--dropdown.is-open .mob-sidebar__sub {
    max-height: 500px;
    border-top-color: var(--border-light);
}

.mob-sidebar__sub-link {
    display: block;
    padding: 10px 1.5rem 10px 2.25rem;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

.mob-sidebar__sub-link:hover {
    background: var(--bg-hover);
    color: var(--accent);
    border-left-color: var(--accent);
    padding-left: 2.5rem;
}

.mob-sidebar__footer {
    margin-top: auto;
    padding: 0.75rem 0 1.5rem;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
}

.mob-sidebar__account-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 1.5rem;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.mob-sidebar__account-link svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.mob-sidebar__account-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.mob-sidebar__account-link:hover svg {
    color: var(--accent);
}

.mob-sidebar__account-link--danger {
    color: var(--co-red);
}

.mob-sidebar__account-link--danger svg {
    color: var(--co-red);
}

.mob-sidebar__account-link--danger:hover {
    background: var(--co-red-tint);
    color: #b91c1c;
}

.mob-sidebar__divider {
    height: 1px;
    background: var(--border-light);
    margin: 6px 1.5rem;
}

.mob-sidebar__auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 1.5rem;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--transition-base);
    font-family: var(--font-display);
}

.mob-sidebar__auth-btn--outline {
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    background: transparent;
}

.mob-sidebar__auth-btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-accent-lighter);
}

.mob-sidebar__auth-btn--fill {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-md);
}

.mob-sidebar__auth-btn--fill:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

body.nav-open {
    overflow: hidden;
}

.pj-step-circle svg {
    display: block;
}

.pj-step-circle .pj-step-check {
    display: none;
}

.pj-step-item.done .pj-step-circle svg {
    display: none;
}

.pj-step-item.done .pj-step-circle .pj-step-check {
    display: block;
}

.pj-step-item.active .pj-step-circle svg {
    display: block;
}

.pj-step-item.active .pj-step-circle .pj-step-check {
    display: none;
}

/* ════════════════════════════════════════════════════════════════
   COMPANY REVIEWS — Real Integration Styles
   ════════════════════════════════════════════════════════════════ */

/* ── Count chip next to header ───────────────────────────────── */

.crv-count-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: var(--radius-full);
    margin-left: 8px;
    vertical-align: middle;
    line-height: 1.6;
}

/* ── Empty state ─────────────────────────────────────────────── */

.crv-empty-state {
    text-align: center;
    padding: 56px 24px;
    color: var(--text-muted);
}

.crv-empty-state svg {
    display: block;
    margin: 0 auto 16px;
    opacity: .3;
}

.crv-empty-state h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
    font-family: var(--font-display);
}

.crv-empty-state p {
    font-size: 14px;
    max-width: 340px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Pros / cons display on review cards ─────────────────────── */

.crv-pros-cons-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 4px 0;
}

.crv-pcd-item {
    padding: 9px 13px;
    border-radius: 9px;
    font-size: 12.5px;
}

.crv-pcd-pro {
    background: rgba(16, 185, 129, .07);
    border: 1px solid rgba(16, 185, 129, .22);
}

.crv-pcd-con {
    background: rgba(239, 68, 68, .06);
    border: 1px solid rgba(239, 68, 68, .18);
}

.crv-pcd-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 5px;
}

.crv-pcd-pro .crv-pcd-label {
    color: #059669;
}

.crv-pcd-con .crv-pcd-label {
    color: #dc2626;
}

.crv-pcd-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Helpful button voted state ──────────────────────────────── */

.helpful-glass.helpful-voted {
    background: var(--bg-accent-light) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    cursor: default;
}

/* ── Company notice (viewing as company) ─────────────────────── */

.crv-company-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 18px 20px;
    background: rgba(245, 158, 11, .07);
    border: 1.5px solid rgba(245, 158, 11, .25);
    border-radius: 12px;
    margin-top: 28px;
    font-size: 13.5px;
}

.crv-cn-icon {
    width: 36px;
    height: 36px;
    background: rgba(245, 158, 11, .15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    flex-shrink: 0;
}

.crv-company-notice strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.crv-company-notice p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Success / already reviewed card ────────────────────────── */

.crv-success-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 26px;
    background: rgba(16, 185, 129, .06);
    border: 1.5px solid rgba(16, 185, 129, .28);
    border-radius: 16px;
    margin-top: 28px;
}

.crv-sc-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .15);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crv-sc-body h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
    font-family: var(--font-display);
}

.crv-sc-body p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0 0 18px;
    line-height: 1.55;
}

/* ── Status timeline ─────────────────────────────────────────── */

.crv-timeline {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}

.crv-tl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.crv-tl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
}

.crv-tl-done .crv-tl-dot {
    background: #10b981;
    border-color: #10b981;
}

.crv-tl-done {
    color: #059669;
}

.crv-tl-active .crv-tl-dot {
    border-color: #f59e0b;
    background: #fef3c7;
}

.crv-tl-active {
    color: #d97706;
}

.crv-tl-connector {
    flex: 1;
    min-width: 32px;
    height: 2px;
    background: var(--border-color);
    margin-bottom: 16px;
}

/* ── Write review section wrapper ────────────────────────────── */

.crv-write-section {
    margin-top: 32px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
}

.crv-ws-header {
    padding: 20px 26px 16px;
    background: var(--bg-matte);
    border-bottom: 1.5px solid var(--border-color);
}

.crv-ws-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.crv-ws-title svg {
    color: var(--accent);
    flex-shrink: 0;
}

.crv-ws-title h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-display);
}

.crv-ws-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    padding-left: 30px;
}

.crv-write-section form {
    padding: 22px 26px;
}

/* ── Login wall ──────────────────────────────────────────────── */

.crv-login-wall {
    padding: 26px;
}

.crv-lw-inner {
    text-align: center;
    padding: 36px 20px;
    background: var(--bg-matte);
    border: 1.5px dashed var(--border-color);
    border-radius: 14px;
}

.crv-lw-inner svg {
    display: block;
    margin: 0 auto;
    color: var(--accent);
    opacity: .55;
}

.crv-lw-inner h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px;
    font-family: var(--font-display);
}

.crv-lw-inner p {
    font-size: 13.5px;
    color: var(--text-muted);
    max-width: 360px;
    margin: 0 auto 22px;
    line-height: 1.6;
}

.crv-lw-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.crv-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s;
}

.crv-btn-primary:hover {
    opacity: .88;
    color: #fff;
}

.crv-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 11px 24px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
}

.crv-btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── Form error alert ────────────────────────────────────────── */

.crv-form-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(239, 68, 68, .07);
    border: 1.5px solid rgba(239, 68, 68, .28);
    border-radius: 10px;
    font-size: 13.5px;
    color: #991b1b;
    margin-bottom: 18px;
}

.crv-form-error svg {
    flex-shrink: 0;
}

/* ── Star picker ─────────────────────────────────────────────── */

.crv-stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 3px;
    width: fit-content;
}

.crv-stars input[type=radio] {
    display: none;
}

.crv-stars label {
    font-size: 30px;
    color: var(--border-color);
    cursor: pointer;
    transition: color .12s, transform .12s;
    line-height: 1;
}

.crv-stars label:hover, .crv-stars label:hover~label, .crv-stars input:checked~label {
    color: #f59e0b;
}

.crv-stars label:hover {
    transform: scale(1.2);
}

.crv-star-hint {
    display: inline-block;
    margin-top: 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: #f59e0b;
    min-height: 18px;
}

/* ── Form layout helpers ─────────────────────────────────────── */

.crv-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.crv-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.crv-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}

.crv-req {
    color: #ef4444;
}

.crv-opt {
    font-weight: 500;
    font-size: 12px;
    color: var(--text-muted);
}

.crv-pro-label {
    color: #059669;
}

.crv-con-label {
    color: #dc2626;
}

.crv-input, .crv-select, .crv-textarea {
    padding: 10px 13px;
    border: 1.5px solid var(--border-color);
    border-radius: 9px;
    background: var(--bg-input, #f7fafc);
    color: var(--text-primary);
    font-size: 13.5px;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
    box-sizing: border-box;
}

.crv-input:focus, .crv-select:focus, .crv-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(61, 143, 216, .11);
}

.crv-textarea {
    resize: vertical;
    min-height: 110px;
}

.crv-ta-sm {
    min-height: 78px;
}

.crv-char-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.crv-char-count {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* ── Form footer ─────────────────────────────────────────────── */

.crv-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    margin-top: 6px;
}

.crv-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
}

.crv-note svg {
    flex-shrink: 0;
}

.crv-submit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 26px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    white-space: nowrap;
    font-family: inherit;
}

.crv-submit:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.crv-submit:active {
    transform: translateY(0);
}

.crv-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* ════════════════════════════════════════════════════════════════
   PRICING PAGE — paste into custom.css
   ════════════════════════════════════════════════════════════════ */

/* ── Topbar chip ────────────────────────────────────────────────── */

.pr-active-plan-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, .1);
    border: 1.5px solid rgba(16, 185, 129, .25);
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    color: #065f46;
}

.pr-alert-success, .pr-alert-error {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 13.5px;
}

.pr-alert-success {
    background: rgba(16, 185, 129, .07);
    border: 1.5px solid rgba(16, 185, 129, .25);
    color: #065f46;
}

.pr-alert-success strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.pr-alert-success p {
    margin: 0;
    opacity: .85;
}

.pr-alert-error {
    background: rgba(239, 68, 68, .07);
    border: 1.5px solid rgba(239, 68, 68, .25);
    color: #991b1b;
}

.pr-alert-error p {
    margin: 0 0 4px;
}

.pr-alert-error p:last-child {
    margin-bottom: 0;
}

.pr-alert-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: inherit;
    opacity: .6;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.pr-alert-close:hover {
    opacity: 1;
}

/* ── Active plan banner ─────────────────────────────────────────── */

.pr-current-plan-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(61, 143, 216, .08), rgba(37, 99, 235, .06));
    border: 1.5px solid rgba(61, 143, 216, .25);
    border-radius: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pr-cpb-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pr-cpb-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary, #1d4ed8), var(--accent, #3D8FD8));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pr-cpb-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 3px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.pr-cpb-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.pr-cpb-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pr-cpb-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ── Section head ───────────────────────────────────────────────── */

.pr-section-head {
    text-align: center;
    margin-bottom: 32px;
}

.pr-section-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.pr-section-sub {
    font-size: 14.5px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Plan grid ──────────────────────────────────────────────────── */

.pr-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* ── Plan card ──────────────────────────────────────────────────── */

.pr-plan-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 18px;
    position: relative;
    transition: transform .22s, box-shadow .22s, border-color .22s;
    overflow: hidden;
}

.pr-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 12px 32px rgba(0, 0, 0, .12));
}

.pr-plan-card--featured {
    border-color: var(--accent, #3D8FD8);
    box-shadow: 0 0 0 3px rgba(61, 143, 216, .13);
}

.pr-plan-card--current {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .12);
}

.pr-plan-card--selected {
    border-color: var(--accent, #3D8FD8);
    box-shadow: 0 0 0 4px rgba(61, 143, 216, .18);
}

.pr-plan-card-inner {
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ── Ribbon ─────────────────────────────────────────────────────── */

.pr-plan-ribbon {
    position: absolute;
    top: 16px;
    right: -28px;
    transform: rotate(45deg);
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 36px;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.pr-plan-ribbon--featured {
    background: var(--accent, #3D8FD8);
    color: #fff;
}

.pr-plan-ribbon--current {
    background: #10b981;
    color: #fff;
}

/* ── Plan icon ──────────────────────────────────────────────────── */

.pr-plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-matte, #f8fafc);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, #3D8FD8);
    margin-bottom: 16px;
}

.pr-plan-card--featured .pr-plan-icon {
    background: linear-gradient(135deg, var(--primary, #1d4ed8), var(--accent, #3D8FD8));
    border-color: transparent;
    color: #fff;
}

.pr-plan-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.pr-plan-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 16px;
    line-height: 1.5;
}

/* ── Price ──────────────────────────────────────────────────────── */

.pr-plan-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 18px;
}

.pr-plan-currency {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent, #3D8FD8);
}

.pr-plan-amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent, #3D8FD8);
    line-height: 1;
}

.pr-plan-period {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 4px;
}

/* ── Highlights row ─────────────────────────────────────────────── */

.pr-plan-highlights {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-matte, #f8fafc);
    border-radius: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pr-plan-hl-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.pr-plan-hl-item svg {
    color: var(--accent, #3D8FD8);
}

.pr-plan-hl-sep {
    width: 1px;
    height: 14px;
    background: var(--border-color);
}

/* ── Feature list ───────────────────────────────────────────────── */

.pr-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.pr-plan-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
}

.pr-plan-feature-item:last-child {
    border-bottom: none;
}

.pr-feat-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .12);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Plan button ─────────────────────────────────────────────────── */

.pr-plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 0;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all .2s;
    text-decoration: none;
}

.pr-plan-btn--default {
    background: var(--bg-matte, #f8fafc);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.pr-plan-btn--default:hover {
    background: var(--accent, #3D8FD8);
    border-color: var(--accent, #3D8FD8);
    color: #fff;
}

.pr-plan-btn--featured {
    background: linear-gradient(135deg, var(--primary, #1d4ed8), var(--accent, #3D8FD8));
    color: #fff;
    border-color: transparent;
}

.pr-plan-btn--featured:hover {
    opacity: .88;
}

.pr-plan-btn--current {
    background: rgba(16, 185, 129, .1);
    border-color: rgba(16, 185, 129, .3);
    color: #065f46;
    cursor: default;
}

/* ── Empty plans ─────────────────────────────────────────────────── */

.pr-empty-plans {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.pr-empty-plans svg {
    margin-bottom: 12px;
    opacity: .4;
}

/* ── Comparison table ────────────────────────────────────────────── */

.pr-compare-section {
    margin-bottom: 48px;
}

.pr-compare-head {
    text-align: center;
    margin-bottom: 24px;
}

.pr-compare-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.pr-compare-sub {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
}

.pr-compare-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1.5px solid var(--border-color);
}

.pr-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.pr-compare-table thead th {
    padding: 16px 20px;
    background: var(--bg-matte, #f8fafc);
    color: var(--text-secondary);
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    border-bottom: 1.5px solid var(--border-color);
}

.pr-compare-table thead th.pr-ct-feature-col {
    text-align: left;
}

.pr-compare-table tbody td {
    padding: 14px 20px;
    text-align: center;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pr-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.pr-compare-table tbody tr:nth-child(even) td {
    background: rgba(0, 0, 0, .015);
}

.pr-ct-feature-col {
    text-align: left !important;
    font-weight: 600;
    color: var(--text-primary) !important;
}

.pr-ct-row-label {
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.pr-ct-featured-col {
    background: rgba(61, 143, 216, .05) !important;
}

.pr-ct-price-cell {
    font-weight: 800;
    color: var(--accent, #3D8FD8);
    font-size: 15px;
}

.pr-ct-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .12);
    color: #10b981;
}

.pr-ct-dash {
    color: var(--text-muted);
    font-size: 16px;
}

.pr-ct-pop-tag {
    display: inline-block;
    background: var(--accent, #3D8FD8);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.pr-ct-action-row td {
    background: var(--bg-matte, #f8fafc) !important;
    padding: 14px 20px;
}

.pr-ct-select-btn {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: all .2s;
    white-space: nowrap;
}

.pr-ct-select-btn:hover {
    background: var(--accent, #3D8FD8);
    border-color: var(--accent, #3D8FD8);
    color: #fff;
}

.pr-ct-select-btn--featured {
    background: linear-gradient(135deg, var(--primary, #1d4ed8), var(--accent, #3D8FD8));
    border-color: transparent;
    color: #fff;
}

.pr-ct-select-btn--featured:hover {
    opacity: .88;
}

.pr-ct-select-btn--current {
    background: rgba(16, 185, 129, .1);
    border-color: rgba(16, 185, 129, .3);
    color: #065f46;
    cursor: default;
}

/* ── Request form section ────────────────────────────────────────── */

.pr-form-section {
    margin-bottom: 24px;
}

.pr-form-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

/* ── Form card ───────────────────────────────────────────────────── */

.pr-form-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
}

.pr-form-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 28px;
    background: var(--bg-matte, #f8fafc);
    border-bottom: 1.5px solid var(--border-color);
}

.pr-form-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary, #1d4ed8), var(--accent, #3D8FD8));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pr-form-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.pr-form-card-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.pr-form-card form {
    padding: 24px 28px;
}

/* ── Selected plan strip ─────────────────────────────────────────── */

.pr-form-selected-plan {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(61, 143, 216, .08);
    border: 1.5px solid rgba(61, 143, 216, .25);
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent, #3D8FD8);
}

.pr-form-selected-plan svg {
    flex-shrink: 0;
}

.pr-form-selected-plan span {
    flex: 1;
}

.pr-form-clear-plan {
    background: none;
    border: 1.5px solid currentColor;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: inherit;
    white-space: nowrap;
    transition: all .2s;
}

.pr-form-clear-plan:hover {
    background: var(--accent, #3D8FD8);
    border-color: var(--accent, #3D8FD8);
    color: #fff;
}

/* ── Plan picker (in form) ───────────────────────────────────────── */

.pr-form-plan-picker {
    margin-bottom: 22px;
}

.pr-plan-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.pr-plan-picker-item {
    cursor: pointer;
}

.pr-plan-picker-item input[type="radio"] {
    display: none;
}

.pr-plan-picker-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-card);
    transition: all .2s;
    text-align: left;
}

.pr-plan-picker-box strong {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 700;
}

.pr-plan-picker-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent, #3D8FD8);
}

.pr-plan-picker-item input:checked+.pr-plan-picker-box {
    border-color: var(--accent, #3D8FD8);
    background: rgba(61, 143, 216, .07);
}

.pr-plan-picker-box--featured {
    border-color: rgba(61, 143, 216, .35);
}

.pr-plan-picker-box:hover {
    border-color: var(--accent, #3D8FD8);
}

/* ── Form fields ─────────────────────────────────────────────────── */

.pr-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pr-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pr-form-field--full {
    grid-column: 1 / -1;
}

.pr-field-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}

.pr-required {
    color: #ef4444;
}

.pr-field-optional {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 12px;
}

.pr-field-input, .pr-field-textarea {
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 9px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 13.5px;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.pr-field-input:focus, .pr-field-textarea:focus {
    outline: none;
    border-color: var(--accent, #3D8FD8);
    box-shadow: 0 0 0 3px rgba(61, 143, 216, .12);
}

.pr-field-textarea {
    resize: vertical;
    min-height: 100px;
}

.pr-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.pr-form-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
}

.pr-form-note svg {
    flex-shrink: 0;
}

.pr-form-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 26px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary, #1d4ed8), var(--accent, #3D8FD8));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    white-space: nowrap;
}

.pr-form-submit-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.pr-form-submit-btn:active {
    transform: translateY(0);
}

.pr-form-submit-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

/* ── Trust column ────────────────────────────────────────────────── */

.pr-trust-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pr-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    transition: box-shadow .2s;
}

.pr-trust-item:hover {
    box-shadow: var(--shadow-md, 0 4px 14px rgba(0, 0, 0, .07));
}

.pr-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(61, 143, 216, .12), rgba(37, 99, 235, .08));
    color: var(--accent, #3D8FD8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pr-trust-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.pr-trust-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Responsive ──────────────────────────────────────────────────── */

/* ════════════════════════════════════════════════════════════════════════════
   AIHR JOB PORTAL — 6-PAGE UI REFRESH
   Scope: job.php · job-details.php · company.php · company-details.php
          candidate.php · candidate-profile.php
   Rules: Only :root vars · No hardcoded values · Desktop-first, mobile-clean
   ════════════════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════════════════
   ██  SHARED UTILITIES  (used across all 6 pages)
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Shared page wrapper ─────────────────────────────────────────────────── */

.jobs-page-wrapper, .companies-page-wrapper, .candidates-page-wrapper, .job-details-wrapper, .company-details-wrapper, .candidate-profile-wrapper {
    background: var(--bg-main);
    min-height: 100vh;
}

/* ── Shared breadcrumb section ───────────────────────────────────────────── */

.breadcrumb-section-job, .breadcrumb-section-comp, .breadcrumb-section-candidate {
    background: linear-gradient(135deg, rgba(7, 16, 26, 0.62) 0%, rgba(13, 31, 45, 0.55) 100%),
        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1920&q=80') center/cover no-repeat;
    padding: 52px 0 44px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.breadcrumb-section-job::after, .breadcrumb-section-comp::after, .breadcrumb-section-candidate::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.04)"/></svg>');
    pointer-events: none;
}

.breadcrumb-job, .breadcrumb-comp, .breadcrumb-candidate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 0.875rem;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    position: relative;
    z-index: 1;
    animation: bc-fadein 0.5s ease-out both;
}

@keyframes bc-fadein {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breadcrumb-item-job, .breadcrumb-item-comp, .breadcrumb-item-candidate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.82);
}

.breadcrumb-item-job::after, .breadcrumb-item-comp::after, .breadcrumb-item-candidate::after {
    content: '/';
    opacity: 0.45;
}

.breadcrumb-item-job:last-child::after, .breadcrumb-item-comp:last-child::after, .breadcrumb-item-candidate:last-child::after {
    content: none;
}

.breadcrumb-item-job a, .breadcrumb-item-comp a, .breadcrumb-item-candidate a {
    color: rgba(255, 255, 255, 0.82);
    transition: color var(--transition-fast);
}

.breadcrumb-item-job a:hover, .breadcrumb-item-comp a:hover, .breadcrumb-item-candidate a:hover {
    color: var(--accent-light);
}

.breadcrumb-item-job.active, .breadcrumb-item-comp.active, .breadcrumb-item-candidate.active {
    color: rgba(255, 255, 255, 0.98);
    font-weight: 700;
}

.page-title-job, .page-title-comp, .page-title-candidate {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-inverse);
    margin: 0 0 0.625rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
    position: relative;
    z-index: 1;
    animation: bc-fadein 0.55s ease-out 0.08s both;
}

.page-subtitle-job, .page-subtitle-comp, .page-subtitle-candidate {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: bc-fadein 0.55s ease-out 0.16s both;
}

/* ── Shared content section padding ─────────────────────────────────────── */

.jobs-content-section, .companies-content-section, .candidates-content-section {
    padding: 1.5rem 0 3rem;
}

/* ── Shared filter sidebar ───────────────────────────────────────────────── */

.filters-sidebar-job, .filters-sidebar-comp, .filters-sidebar-candidate {
    position: sticky;
    top: calc(var(--header-height, 68px) + 1rem);
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.125rem;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header-height, 68px) - 2rem);
    overflow-y: auto;
    overflow-x: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-hover);
}

.filters-sidebar-job::-webkit-scrollbar, .filters-sidebar-comp::-webkit-scrollbar, .filters-sidebar-candidate::-webkit-scrollbar {
    width: 4px;
}

.filters-sidebar-job::-webkit-scrollbar-track, .filters-sidebar-comp::-webkit-scrollbar-track, .filters-sidebar-candidate::-webkit-scrollbar-track {
    background: var(--bg-hover);
    border-radius: var(--radius-full);
}

.filters-sidebar-job::-webkit-scrollbar-thumb, .filters-sidebar-comp::-webkit-scrollbar-thumb, .filters-sidebar-candidate::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: var(--radius-full);
}

.filters-header-job, .filters-header-comp, .filters-header-candidate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1.5px solid var(--border-light);
}

.filters-title-job, .filters-title-comp, .filters-title-candidate {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.btn-clear-filters-job, .btn-clear-filters-comp, .btn-clear-filters-candidate {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--bg-accent-lighter);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-pill);
    padding: 0.25rem 0.625rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-clear-filters-job:hover, .btn-clear-filters-comp:hover, .btn-clear-filters-candidate:hover {
    background: var(--bg-accent-hover);
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.filter-group-job, .filter-group-comp, .filter-group-candidate {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.filter-group-job:last-child, .filter-group-comp:last-child, .filter-group-candidate:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-heading-job, .filter-heading-comp, .filter-heading-candidate {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.filter-heading-job svg, .filter-heading-comp svg, .filter-heading-candidate svg {
    width: 13px;
    height: 13px;
    color: var(--accent);
    flex-shrink: 0;
}

.filter-search-box-job, .filter-search-box-comp, .filter-search-box-candidate {
    position: relative;
    margin-bottom: 0.5rem;
}

.search-icon-job, .search-icon-comp, .search-icon-candidate {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    width: 13px;
    height: 13px;
}

.filter-search-input-job, .filter-search-input-comp, .filter-search-input-candidate {
    width: 100%;
    padding: 0.45rem 0.5rem 0.45rem 1.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--text-primary);
    background: var(--bg-input);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    font-family: var(--font-primary);
}

.filter-search-input-job:focus, .filter-search-input-comp:focus, .filter-search-input-candidate:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--bg-accent-light);
}

.filter-search-input-job::placeholder, .filter-search-input-comp::placeholder, .filter-search-input-candidate::placeholder {
    color: var(--text-light);
}

.filter-options-job, .filter-options-comp, .filter-options-candidate {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-checkbox-job, .filter-checkbox-comp, .filter-checkbox-candidate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.3125rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
    user-select: none;
}

.filter-checkbox-job:hover, .filter-checkbox-comp:hover, .filter-checkbox-candidate:hover {
    background: var(--bg-hover);
}

.filter-checkbox-job input[type="checkbox"], .filter-checkbox-comp input[type="checkbox"], .filter-checkbox-candidate input[type="checkbox"] {
    width: 15px;
    height: 15px;
    border: 1.5px solid var(--border-color);
    border-radius: 3px;
    appearance: none;
    background: var(--bg-card);
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-checkbox-job input[type="checkbox"]:checked, .filter-checkbox-comp input[type="checkbox"]:checked, .filter-checkbox-candidate input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.filter-checkbox-job input[type="checkbox"]:checked::after, .filter-checkbox-comp input[type="checkbox"]:checked::after, .filter-checkbox-candidate input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 5px;
    height: 8px;
    border: 1.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.checkbox-label-job, .checkbox-label-comp, .checkbox-label-candidate {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    flex: 1;
    line-height: 1.3;
}

.checkbox-count-job, .checkbox-count-comp, .checkbox-count-candidate {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: auto;
    background: var(--bg-hover);
    padding: 1px 5px;
    border-radius: var(--radius-full);
}

.hidden-option-job, .hidden-option-comp, .hidden-option-candidate {
    display: none !important;
}

.btn-see-more-job, .btn-see-more-comp, .btn-see-more-candidate {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-top: 0.25rem;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.btn-see-more-job:hover, .btn-see-more-comp:hover, .btn-see-more-candidate:hover {
    background: var(--bg-hover);
}

.btn-see-more-job svg, .btn-see-more-comp svg, .btn-see-more-candidate svg {
    width: 13px;
    height: 13px;
}

/* ── Shared content toolbar ──────────────────────────────────────────────── */

.content-toolbar-job, .content-toolbar-comp, .content-toolbar-candidate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.125rem;
    padding: 0.875rem 1.125rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.toolbar-left-job, .toolbar-left-comp, .toolbar-left-candidate {
    flex: 1;
    min-width: 0;
}

.results-count-job, .results-count-comp, .results-count-candidate {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.results-count-job svg, .results-count-comp svg, .results-count-candidate svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
    flex-shrink: 0;
}

.toolbar-right-job, .toolbar-right-comp, .toolbar-right-candidate {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.view-toggle-job, .view-toggle-comp, .view-toggle-candidate {
    display: flex;
    align-items: center;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    padding: 3px;
    gap: 2px;
}

.view-btn-job, .view-btn-comp, .view-btn-candidate {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-btn-job:hover, .view-btn-comp:hover, .view-btn-candidate:hover {
    color: var(--accent);
}

.active-view-job, .active-view-comp, .active-view-candidate {
    background: var(--bg-card) !important;
    color: var(--accent) !important;
    box-shadow: var(--shadow-sm);
}

.view-icon-job, .view-icon-comp, .view-icon-candidate {
    width: 16px;
    height: 16px;
}

.sort-dropdown-job, .sort-dropdown-comp, .sort-dropdown-candidate {
    position: relative;
}

.sort-trigger-job, .sort-trigger-comp, .sort-trigger-candidate {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
    height: 38px;
}

.sort-trigger-job:hover, .sort-trigger-comp:hover, .sort-trigger-candidate:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.sort-icon-job, .sort-icon-comp, .sort-icon-candidate {
    width: 14px;
    height: 14px;
}

.dropdown-arrow-job, .dropdown-arrow-comp, .dropdown-arrow-candidate {
    width: 13px;
    height: 13px;
    transition: transform var(--transition-fast);
}

.sort-menu-job, .sort-menu-comp, .sort-menu-candidate {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    min-width: 200px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--transition-base);
    z-index: 100;
}

.sort-dropdown-job:hover .sort-menu-job, .sort-dropdown-comp:hover .sort-menu-comp, .sort-dropdown-candidate:hover .sort-menu-candidate {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-dropdown-job:hover .dropdown-arrow-job, .sort-dropdown-comp:hover .dropdown-arrow-comp, .sort-dropdown-candidate:hover .dropdown-arrow-candidate {
    transform: rotate(180deg);
}

.sort-option-job, .sort-option-comp, .sort-option-candidate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
}

.sort-option-job:hover, .sort-option-comp:hover, .sort-option-candidate:hover {
    background: var(--bg-hover);
    color: var(--accent);
}

.active-sort-job, .active-sort-comp, .active-sort-candidate {
    background: var(--bg-accent-light) !important;
    color: var(--accent) !important;
    font-weight: 700;
}

.sort-option-job svg, .sort-option-comp svg, .sort-option-candidate svg {
    width: 14px;
    height: 14px;
}

/* ── Shared pagination ───────────────────────────────────────────────────── */

.pagination-wrapper-job, .pagination-wrapper-comp, .pagination-wrapper-candidate {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination-job, .pagination-comp, .pagination-candidate {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.page-btn-job, .page-btn-comp, .page-btn-candidate {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4375rem 0.875rem;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-family: var(--font-primary);
}

.page-btn-job:hover, .page-btn-comp:hover, .page-btn-candidate:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-accent-lighter);
}

.active-page-job, .active-page-comp, .active-page-candidate {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--text-inverse) !important;
    box-shadow: 0 2px 8px var(--shadow-accent-25);
}

.page-btn-job:disabled, .page-btn-comp:disabled, .page-btn-candidate:disabled, .page-btn-candidate.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.page-btn-job svg, .page-btn-comp svg, .page-btn-candidate svg {
    width: 14px;
    height: 14px;
}

.featured-sidebar-job::-webkit-scrollbar, .featured-sidebar-comp::-webkit-scrollbar, .featured-sidebar-candidate::-webkit-scrollbar {
    display: none;
}

.featured-compact-widget-job, .featured-compact-widget-comp, .featured-compact-widget-candidate, .alert-compact-widget-job, .alert-compact-widget-comp, .alert-compact-widget-candidate, .stats-compact-widget-job, .stats-compact-widget-comp, .stats-compact-widget-candidate {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.featured-compact-widget-job h4, .featured-compact-widget-comp h4, .featured-compact-widget-candidate h4, .alert-compact-widget-job h4, .alert-compact-widget-comp h4, .alert-compact-widget-candidate h4, .stats-compact-widget-job h4, .stats-compact-widget-comp h4, .stats-compact-widget-candidate h4, .widget-title-candidate {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.featured-compact-widget-job h4 svg, .featured-compact-widget-comp h4 svg, .featured-compact-widget-candidate h4 svg, .alert-compact-widget-job h4 svg, .alert-compact-widget-comp h4 svg, .alert-compact-widget-candidate h4 svg, .stats-compact-widget-job h4 svg, .stats-compact-widget-comp h4 svg, .stats-compact-widget-candidate h4 svg, .widget-title-candidate svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.company-compact-item-job, .company-compact-item-comp, .compact-candidate-item-candidate {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background var(--transition-fast);
    color: inherit;
}

.company-compact-item-job:hover, .company-compact-item-comp:hover, .compact-candidate-item-candidate:hover {
    background: var(--bg-hover);
}

.company-compact-item-job img, .company-compact-item-comp img, .compact-avatar-candidate {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
}

.company-compact-item-job div, .company-compact-item-comp div, .compact-info-candidate {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.company-compact-item-job strong, .company-compact-item-comp strong, .compact-name-candidate {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-compact-item-job span, .company-compact-item-comp span, .compact-title-candidate, .compact-count-candidate {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 3px;
}

.alert-compact-widget-job, .alert-compact-widget-comp, .alert-compact-widget-candidate {
    text-align: center;
    background: linear-gradient(135deg, var(--bg-soft-blue) 0%, var(--bg-soft-sky) 100%);
    border-color: var(--border-accent);
}

.alert-compact-widget-job svg, .alert-compact-widget-comp svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.alert-compact-widget-job p, .alert-compact-widget-comp p, .widget-description-candidate {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.alert-compact-widget-job form, .alert-compact-widget-comp form, .alert-form-candidate {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alert-compact-widget-job input, .alert-compact-widget-comp input, .alert-input-candidate {
    padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--border-accent);
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    background: var(--bg-card);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-fast);
    font-family: var(--font-primary);
}

.alert-compact-widget-job input:focus, .alert-compact-widget-comp input:focus, .alert-input-candidate:focus {
    border-color: var(--accent);
}

.alert-compact-widget-job button, .alert-compact-widget-comp button, .alert-submit-candidate {
    padding: 0.5rem;
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.alert-compact-widget-job button:hover, .alert-compact-widget-comp button:hover, .alert-submit-candidate:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.alert-submit-candidate svg {
    width: 13px;
    height: 13px;
}

.stats-compact-grid-job, .stats-compact-grid-comp, .stats-compact-grid-candidate {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.stats-compact-grid-job div, .stats-compact-grid-comp div, .stat-item-candidate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0.625rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    text-align: center;
}

.stats-compact-grid-job strong, .stats-compact-grid-comp strong, .stat-number-candidate {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stats-compact-grid-job span, .stats-compact-grid-comp span, .stat-label-candidate {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.jobs-empty-state svg {
    width: 52px;
    height: 52px;
    opacity: 0.28;
    margin-bottom: 1rem;
}

.search-fallback-notice svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   ██  JOB.PHP
   ════════════════════════════════════════════════════════════════════════════ */

.job-card-job::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.job-card-job:hover::before {
    opacity: 1;
}

.featured-job {
    background: linear-gradient(145deg, var(--bg-soft-blue) 0%, var(--bg-card) 70%);
    border-color: var(--border-accent);
}

.featured-job::before {
    opacity: 1;
}

.badge-featured-job svg {
    width: 10px;
    height: 10px;
}

/* ── Job.php sidebar widgets ─────────────────────────────────────────────── */

.companies-compact-list-job, .companies-compact-list-comp {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* ════════════════════════════════════════════════════════════════════════════
   ██  JOB-DETAILS.PHP
   ════════════════════════════════════════════════════════════════════════════ */

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.08);
    }
}

.company-name-inline:hover {
    color: var(--accent-hover);
}

.glass-tabs-job::-webkit-scrollbar {
    display: none;
}

.tab-glass-job:not(.active) .tab-badge-job {
    background: var(--bg-accent-light);
    color: var(--accent);
}

.text-glass-job h1, .text-glass-job h2, .text-glass-job h3, .text-glass-job h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.25rem 0 0.5rem;
}

.text-glass-job ul, .text-glass-job ol {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.text-glass-job li {
    line-height: 1.6;
}

.job-skills-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-skill-chip {
    padding: 0.3rem 0.75rem;
    background: var(--bg-soft-blue);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    transition: all var(--transition-fast);
}

.job-skill-chip:hover {
    background: var(--bg-accent-light);
    transform: translateY(-1px);
}

.similar-jobs-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.similar-job-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.similar-job-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.similar-job-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
    background: var(--bg-hover);
}

.similar-job-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-job-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-job-company {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

.similar-job-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.apply-card-glass-job {
    background: var(--bg-card);
    border: 1.5px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
}

.apply-card-glass-job .btn-apply-main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
    text-decoration: none;
    box-shadow: 0 4px 14px var(--shadow-accent-25);
}

.apply-card-glass-job .btn-apply-main:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-accent-35);
}

.apply-card-glass-job .btn-apply-main svg {
    width: 17px;
    height: 17px;
}

.job-info-list-glass {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.job-info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.78rem;
}

.job-info-row .info-key {
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.job-info-row .info-key svg {
    width: 12px;
    height: 12px;
}

.job-info-row .info-val {
    color: var(--text-primary);
    font-weight: 700;
    text-align: right;
}

.company-glass-card-job {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.125rem;
    box-shadow: var(--shadow-sm);
}

.company-glass-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    text-decoration: none;
}

.company-glass-inner:hover .company-glass-name {
    color: var(--accent-hover);
}

.company-glass-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-light);
    overflow: hidden;
    flex-shrink: 0;
}

.company-glass-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-glass-info {
    flex: 1;
    min-width: 0;
}

.company-glass-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2px;
    transition: color var(--transition-fast);
}

.company-glass-industry {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.company-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.company-stat-item {
    text-align: center;
    padding: 0.5rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
}

.company-stat-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent);
}

.company-stat-item span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-view-company-glass {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
    padding: 0.5rem;
    background: var(--bg-hover);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-family: var(--font-primary);
}

.btn-view-company-glass:hover {
    background: var(--bg-accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

/* ════════════════════════════════════════════════════════════════════════════
   ██  COMPANY.PHP
   ════════════════════════════════════════════════════════════════════════════ */

.bookmark-btn-comp {
    display: none !important;
}

.star-filled-comp {
    color: var(--co-amber);
    width: 14px;
    height: 14px;
    fill: var(--co-amber);
}

/* ════════════════════════════════════════════════════════════════════════════
   ██  COMPANY-DETAILS.PHP
   ════════════════════════════════════════════════════════════════════════════ */

.company-hero-details {
    position: relative;
    overflow: hidden;
    background: var(--hero-gradient);
    padding: 0 0 2rem;
}

.company-hero-banner-bg {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.company-hero-banner-placeholder {
    width: 100%;
    height: 200px;
    background: var(--hero-gradient);
    display: block;
}

.company-hero-content-details {
    position: relative;
    z-index: 2;
    margin-top: -56px;
}

.company-hero-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.company-logo-hero {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid var(--bg-card);
    box-shadow: var(--shadow-md);
    background: var(--bg-hover);
    flex-shrink: 0;
}

.company-logo-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-hero-info {
    flex: 1;
    min-width: 0;
}

.company-hero-name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.375rem;
    letter-spacing: -0.025em;
}

.company-hero-meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.company-hero-meta svg {
    width: 13px;
    height: 13px;
    color: var(--accent);
}

.company-hero-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.company-stats-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1.5px solid var(--border-light);
}

.company-stat-detail {
    text-align: center;
    padding: 1rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.company-stat-detail:hover {
    transform: translateY(-2px);
}

.company-stat-detail .s-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin: 0 auto 0.5rem;
}

.company-stat-detail .s-icon svg {
    width: 16px;
    height: 16px;
}

.company-stat-detail .s-val {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
}

.company-stat-detail .s-lbl {
    font-size: 0.67rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.company-details-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    align-items: start;
    padding: 2rem 0 3rem;
}

.company-details-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.company-details-sidebar {
    position: sticky;
    top: calc(var(--header-height, 68px) + 1rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.company-info-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.375rem;
    box-shadow: var(--shadow-sm);
}

.company-section-title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.company-section-title svg {
    width: 17px;
    height: 17px;
    color: var(--accent);
}

.company-job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.company-job-item:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.company-job-item-info {
    flex: 1;
    min-width: 0;
}

.company-job-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 3px;
}

.company-job-item-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.company-job-item-badge {
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.67rem;
    font-weight: 700;
    background: var(--bg-soft-blue);
    color: var(--accent);
    border: 1px solid var(--border-accent);
}

/* ════════════════════════════════════════════════════════════════════════════
   ██  CANDIDATE.PHP
   ════════════════════════════════════════════════════════════════════════════ */

.featured-candidate {
    background: linear-gradient(145deg, var(--bg-soft-blue) 0%, var(--bg-card) 70%);
    border-color: var(--border-accent);
}

/* ════════════════════════════════════════════════════════════════════════════
   ██  CANDIDATE-PROFILE.PHP
   ════════════════════════════════════════════════════════════════════════════ */

.candidate-profile-hero {
    background: var(--hero-gradient);
    border-bottom: 1.5px solid var(--border-light);
    padding: 2.25rem 0 1.75rem;
    position: relative;
    overflow: hidden;
}

.candidate-profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(46, 139, 224, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 45%);
    pointer-events: none;
}

.cp-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.cp-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.cp-avatar {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-full);
    border: 3px solid var(--bg-card);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    display: block;
    background: var(--bg-hover);
}

.cp-verified-ring {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: var(--co-green);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

.cp-verified-ring svg {
    width: 11px;
    height: 11px;
    color: #fff;
    stroke-width: 3;
}

.cp-hero-info {
    flex: 1;
    min-width: 0;
}

.cp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.6rem;
}

.cp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.625rem;
    border-radius: var(--radius-full);
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cp-badge.available {
    background: var(--co-green-fill);
    color: var(--co-green);
    border: 1px solid var(--co-green-border);
}

.cp-badge.relocate {
    background: var(--bg-soft-purple);
    color: var(--co-violet);
    border: 1px solid var(--border-pal-violet);
}

.cp-badge.featured {
    background: linear-gradient(135deg, var(--co-amber) 0%, var(--co-orange) 100%);
    color: #fff;
}

.cp-badge svg {
    width: 9px;
    height: 9px;
}

.cp-name {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.875rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
    letter-spacing: -0.025em;
}

.cp-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0 0 0.625rem;
}

.cp-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cp-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cp-meta-item svg {
    width: 13px;
    height: 13px;
    color: var(--accent);
}

.cp-hero-actions {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cp-stats-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1.5px solid var(--border-light);
}

.cp-stat {
    flex: 1;
    min-width: 100px;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.cp-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--bg-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.cp-stat-icon svg {
    width: 15px;
    height: 15px;
}

.cp-stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cp-stat-val {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.cp-stat-lbl {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cp-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    align-items: start;
    padding: 2rem 0 3rem;
}

.cp-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cp-sidebar {
    position: sticky;
    top: calc(var(--header-height, 68px) + 1rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cp-section-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.375rem;
    box-shadow: var(--shadow-sm);
}

.cp-section-title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.cp-section-title svg {
    width: 17px;
    height: 17px;
    color: var(--accent);
}

.cp-skills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cp-skill-chip {
    padding: 0.3125rem 0.875rem;
    background: var(--bg-soft-purple);
    color: var(--co-violet);
    border: 1px solid var(--border-pal-violet);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    transition: all var(--transition-fast);
}

.cp-skill-chip:hover {
    background: var(--co-violet-tint);
    transform: translateY(-1px);
}

.cp-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cp-timeline-item {
    display: flex;
    gap: 1rem;
    position: relative;
    padding-bottom: 1.25rem;
}

.cp-timeline-item:last-child {
    padding-bottom: 0;
}

.cp-timeline-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
}

.cp-timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    background: var(--accent);
    border: 2px solid var(--bg-card);
    box-shadow: 0 0 0 2px var(--border-accent);
    flex-shrink: 0;
}

.cp-timeline-bar {
    flex: 1;
    width: 2px;
    background: var(--border-light);
    margin-top: 4px;
}

.cp-timeline-item:last-child .cp-timeline-bar {
    display: none;
}

.cp-timeline-content {
    flex: 1;
    min-width: 0;
    padding-top: 0;
}

.cp-exp-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.cp-exp-company {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 2px;
}

.cp-exp-period {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0 0 0.5rem;
}

.cp-exp-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cp-contact-card {
    background: linear-gradient(135deg, var(--bg-soft-blue) 0%, var(--bg-card) 100%);
    border: 1.5px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.cp-contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cp-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cp-contact-item svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

.cp-contact-item a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.cp-contact-item a:hover {
    text-decoration: underline;
}

.btn-contact-profile {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6875rem 1rem;
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
    text-decoration: none;
    box-shadow: 0 3px 10px var(--shadow-accent-25);
}

.btn-contact-profile:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px var(--shadow-accent-35);
    color: var(--text-inverse);
}

.btn-contact-profile svg {
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — ALL MEDIA QUERIES MERGED BY BREAKPOINT
   ═══════════════════════════════════════════════════════════ */


@media (max-width: 1200px) {
    .cpe-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cpe-docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cod-stats-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }

    .cd-snapshot-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }

    .cd-snapshot-grid-enhanced .snapshot-item:nth-child(3n) {
        border-right: 1px solid var(--border-light, #e9eaf0);
    }

    .cd-snapshot-grid-enhanced .snapshot-item:nth-child(2n) {
        border-right: none;
    }

    .row-job-three-col, .row-comp-three-col, .row-candidate-three-col {
        grid-template-columns: 220px 1fr 240px;
    }

    .company-stats-details {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 1199px) {
    .row-comp-three-col {
        grid-template-columns: 240px 1fr;
    }

    .featured-sidebar-comp {
        display: none;
    }

    .filters-sidebar-comp {
        width: 220px;
    }

    .content-layout-glass {
        grid-template-columns: 1fr 260px;
    }

    .stats-glass-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid-glass {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-jobs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .jobs-grid-glass, .reviews-grid-glass {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .section-title-glass {
        font-size: 1.5rem;
    }

    .jobs-filter-actions, .reviews-filter-actions {
        flex-wrap: wrap;
    }

    .similar-jobs-grid-job {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .row-job-three-col {
        grid-template-columns: 240px 1fr;
    }

    .featured-sidebar-job {
        display: none;
    }

    .content-layout-glass-job {
        grid-template-columns: 1fr 260px;
    }

    .stats-glass-row-job {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-grid-glass-job {
        grid-template-columns: repeat(2, 1fr);
    }

    .row-candidate-three-col {
        grid-template-columns: 240px 1fr;
    }

    .featured-sidebar-candidate {
        display: none;
    }

    .filters-sidebar-candidate {
        width: 240px;
    }
}


@media (max-width: 1100px) {
    .dashboard-two-col {
        grid-template-columns: 1fr;
    }

    .cd-sidebar {
        width: 230px;
        min-width: 230px;
    }

    .cd-stats-grid-enhanced {
        grid-template-columns: repeat(4, 1fr);
    }
}


@media (max-width: 1000px) {
    .cpe-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .co-cpe-wrapper .cpe-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }

    .mob-sidebar {
        display: none !important;
    }

    .nav-overlay {
        display: none !important;
    }

    .desktop-nav-area {
        display: flex !important;
    }
}


@media (max-width: 992px) {
    .row-job-three-col, .row-comp-three-col, .row-candidate-three-col {
        grid-template-columns: 1fr;
    }

    .filters-sidebar-job, .filters-sidebar-comp, .filters-sidebar-candidate {
        position: static;
        max-height: none;
    }

    .featured-sidebar-job, .featured-sidebar-comp, .featured-sidebar-candidate {
        position: static;
        max-height: none;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .featured-compact-widget-job, .featured-compact-widget-comp, .featured-compact-widget-candidate, .alert-compact-widget-job, .alert-compact-widget-comp, .alert-compact-widget-candidate, .stats-compact-widget-job, .stats-compact-widget-comp, .stats-compact-widget-candidate {
        flex: 1 1 280px;
    }

    .content-layout-glass-job, .company-details-layout, .cp-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-glass-job, .company-details-sidebar, .cp-sidebar {
        position: static;
    }

    .jobs-grid-job, .companies-grid-comp, .candidates-grid-candidate {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 991px) {
    .row-comp-three-col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filters-sidebar-comp {
        width: 100%;
    }

    .sidebar-sticky-comp {
        position: relative;
        top: 0;
        max-height: none;
    }

    .content-toolbar-comp {
        flex-direction: column;
        gap: 0.875rem;
        align-items: stretch;
    }

    .toolbar-right-comp {
        justify-content: space-between;
    }

    .companies-grid-comp {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-profile-glass {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-actions-glass {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-glass {
        flex: 1;
    }

    .content-layout-glass {
        grid-template-columns: 1fr;
    }

    .sidebar-glass {
        position: static;
    }

    .glass-tabs {
        overflow-x: auto;
    }

    .mission-vision-grid, .awards-grid, .review-categories, .events-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters-sidebar-comp .sidebar-sticky-comp {
        position: relative;
        top: 0;
        max-height: none;
    }

    .jobs-header-glass, .reviews-header-glass {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .jobs-filter-actions, .reviews-filter-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .filter-select-glass {
        flex: 1;
        min-width: 140px;
    }

    .job-card-job.list-view {
        grid-template-columns: auto 1fr;
        grid-template-areas: "logo info"
            "actions actions";
        gap: 1rem;
    }

    .job-card-job.list-view .bookmark-btn-job {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
    }

    .job-card-job.list-view .job-card-footer-job {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        padding-top: 1rem;
        border-top: 1px solid var(--border-light);
    }

    .row-job-three-col {
        grid-template-columns: 1fr;
    }

    .filters-sidebar-job {
        width: 100%;
        margin-bottom: 2rem;
    }

    .row-job {
        flex-direction: column;
    }

    .sidebar-sticky-job {
        position: relative;
        top: 0;
        max-height: none;
    }

    .content-toolbar-job {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .toolbar-left-job, .toolbar-right-job {
        justify-content: space-between;
    }

    .jobs-grid-job {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .job-profile-glass {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-actions-glass-job {
        width: 100%;
        flex-direction: column;
    }

    .btn-glass-job {
        width: 100%;
        justify-content: center;
    }

    .content-layout-glass-job {
        grid-template-columns: 1fr;
    }

    .sidebar-glass-job {
        position: static;
    }

    .stats-glass-row-job {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-stats-grid-job, .perks-grid-job, .education-grid-job {
        grid-template-columns: 1fr;
    }

    .row-candidate-three-col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filters-sidebar-candidate {
        width: 100%;
        margin-bottom: 2rem;
    }

    .sidebar-sticky-candidate {
        position: relative;
        top: 0;
        max-height: none;
    }

    .content-toolbar-candidate {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .toolbar-right-candidate {
        justify-content: space-between;
    }

    .candidates-grid-candidate {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .row-candidate {
        flex-direction: column;
    }

    .stats-glass-row-candidate {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-layout-glass-candidate {
        grid-template-columns: 1fr;
    }

    .candidate-profile-glass {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-actions-glass-candidate {
        width: 100%;
        flex-direction: column;
    }

    .btn-glass-candidate {
        width: 100%;
        justify-content: center;
    }

    .competencies-grid-candidate {
        grid-template-columns: 1fr;
    }

    .skills-grid-candidate {
        grid-template-columns: 1fr;
    }

    .certifications-grid-candidate {
        grid-template-columns: 1fr;
    }

    .portfolio-grid-candidate {
        grid-template-columns: 1fr;
    }

    .github-stats-candidate {
        grid-template-columns: repeat(2, 1fr);
    }

    .soft-skills-grid-candidate {
        grid-template-columns: repeat(2, 1fr);
    }

    .user-menu-type {
        display: inline-block;
    }

    .auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 12px 0 20px;
        border-top: 1px solid var(--border-light);
        margin-top: 8px;
    }

    .user-menu-wrap {
        display: flex;
        width: 100%;
    }

    .user-menu-trigger {
        width: 100%;
        max-width: 100%;
        border-radius: var(--radius-lg);
        border: 1.5px solid var(--border-color);
        padding: 10px 14px;
        margin: 0 16px;
        background: var(--bg-matte);
        justify-content: flex-start;
    }

    .user-menu-trigger:hover {
        background: var(--bg-hover);
        border-color: var(--border-accent);
    }

    .user-menu-name {
        max-width: none;
        flex: 1;
        font-size: 14px;
    }

    .user-menu-avatar {
        width: 38px;
        height: 38px;
    }

    .user-menu-dropdown {
        position: static;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-top: 1px solid var(--border-light);
        display: none;
        background: #fff;
        margin: 0;
        min-width: 0;
    }

    .user-menu-dropdown.is-open {
        display: block;
    }

    .user-dd-header {
        display: none;
    }

    .user-dd-item {
        padding: 11px 28px;
        font-size: 14px;
    }

    .user-dd-cta-wrap {
        padding: 8px 16px 4px;
    }

    .user-dd-item--highlight {
        width: calc(100% - 32px);
        margin: 0;
    }

    .user-dd-section-label {
        padding: 10px 28px 2px;
    }

    .user-dd-divider {
        margin: 6px 16px;
    }

    .btn-signin, .btn-register {
        display: block;
        margin: 6px 16px;
        text-align: center;
    }

    .desktop-nav-area {
        display: none !important;
    }

    .navbar-toggler {
        display: flex !important;
    }
}


@media (max-width: 960px) {
    .cd-mob-btn {
        display: flex;
    }

    .cd-sidebar {
        position: fixed;
        left: -270px;
        top: 0;
        height: 100dvh;
        width: 260px;
        min-width: 260px;
        box-shadow: var(--shadow-xl);
        transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
    }

    .cd-sidebar--open {
        left: 0;
    }

    .cd-topbar {
        padding: 1.125rem 1rem 0;
        gap: 0.625rem;
    }

    .cd-profile-nudge {
        margin: 0.875rem 1rem 0;
    }

    .cd-tabnav-wrap {
        padding: 0.875rem 1rem 0;
    }

    .cd-content {
        padding: 1rem 1rem 2rem;
    }

    .cd-two-col-enhanced {
        grid-template-columns: 1fr;
    }

    .cd-stats-grid-enhanced {
        grid-template-columns: repeat(4, 1fr);
    }
}


@media (max-width: 900px) {
    .dashboard-wrapper {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        min-width: unset;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid #e9eaf0;
        padding: 1.25rem 1rem;
    }

    .sidebar-profile {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
        padding-bottom: 1rem;
    }

    .sidebar-avatar-wrap {
        margin-bottom: 0;
    }

    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
        padding: 0;
        margin-top: 0.75rem;
    }

    .sidebar-nav-item {
        flex: 0 1 auto;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .sidebar-nav-divider {
        display: none;
    }

    .dashboard-main {
        padding: 1.5rem 1rem;
    }

    .cpe-mob-btn {
        display: flex;
    }

    .cpe-sidebar {
        position: fixed;
        left: -280px;
        top: 0 !important;
        height: 100dvh;
        width: 260px;
        min-width: 260px;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
        transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .cpe-sidebar--open {
        left: 0 !important;
    }

    .cpe-topbar {
        padding: 12px 16px;
        z-index: 10;
    }

    .cpe-alerts-wrap {
        padding: 12px 16px 0;
    }

    .cpe-tabnav-wrap {
        padding: 10px 16px 0;
    }

    .cpe-content {
        padding: 16px 16px 32px;
    }

    .cod-mob-btn {
        display: flex;
    }

    .cod-sidebar {
        position: fixed;
        left: -280px;
        top: 0 !important;
        height: 100dvh;
        width: 260px;
        min-width: 260px;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
        transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .cod-sidebar--open {
        left: 0 !important;
    }

    .cod-topbar {
        padding: 12px 16px;
    }

    .cod-tabnav-wrap {
        padding: 10px 16px 0;
    }

    .cod-content {
        padding: 16px 16px 32px;
    }

    .co-cpe-mob-btn {
        display: flex;
    }

    .co-cpe-sidebar {
        position: fixed;
        left: -280px;
        top: 0 !important;
        height: 100dvh;
        width: 260px;
        min-width: 260px;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
        transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .co-cpe-sidebar.open {
        left: 0 !important;
    }

    .co-cpe-topbar {
        padding: 12px 16px;
    }

    .co-cpe-alerts-wrap {
        padding: 12px 16px 0;
    }

    .co-cpe-tabnav-wrap {
        padding: 10px 16px 0;
    }

    .co-cpe-content {
        padding: 16px 16px 32px;
    }

    .cod-profile-nudge {
        margin: 12px 16px 0;
    }

    .mj-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .pr-form-wrap {
        grid-template-columns: 1fr;
    }

    .pr-trust-col {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pr-trust-item {
        flex: 1 1 calc(50% - 8px);
        min-width: 200px;
    }
}


@media (max-width: 768px) {
    .job-benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefits-categories-wrap-job {
        grid-template-columns: 1fr;
    }

    .culture-grid-job {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-tab-header-job {
        flex-direction: column;
        align-items: flex-start;
    }

    .company-tab-logo-job {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .cpe-topbar-sub {
        display: none;
    }

    .cpe-grid-3 {
        grid-template-columns: 1fr;
    }

    .cpe-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cpe-docs-grid {
        grid-template-columns: 1fr;
    }

    .cpe-wrapper .cpe-form-grid-two {
        grid-template-columns: 1fr;
    }

    .cpe-wrapper .cpe-form-field--full {
        grid-column: 1;
    }

    .cpe-wrapper .cpe-salary-pair {
        flex-wrap: nowrap;
    }

    .cpe-wrapper .cpe-currency-sel {
        width: 65px;
    }

    .cpe-wrapper .form-submit-row {
        flex-direction: column-reverse;
    }

    .cpe-wrapper .btn-profile-save {
        width: 100%;
        justify-content: center;
    }

    .cpe-wrapper .photo-upload-row {
        flex-direction: column;
        text-align: center;
    }

    .cpe-wrapper .photo-upload-actions {
        align-items: center;
    }

    .cd-topbar-sub {
        display: none;
    }

    .cd-topbar-title {
        font-size: 1.25rem;
    }

    .cd-stats-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }

    .cd-funnel-row {
        grid-template-columns: 70px 1fr 60px;
    }

    .cd-app-table {
        font-size: 0.8rem;
    }

    .cd-app-table thead th, .cd-app-table tbody td {
        padding: 0.65rem 0.75rem;
    }

    .cd-snapshot-hero {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cd-snapshot-name {
        font-size: 1.2rem;
    }

    .cd-enq-stats-mini {
        gap: 0.625rem;
    }

    .cd-tabnav {
        min-width: unset;
        width: max-content;
    }

    .cd-tab-pill {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        flex: 0 0 auto;
    }

    .cd-topbar-actions {
        flex-shrink: 0;
        flex-direction: column;
    }

    .cd-topbar-browse-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.78rem;
    }

    .cd-topbar-edit-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.78rem;
    }

    .cod-topbar-sub {
        display: none;
    }

    .co-cpe-topbar-sub {
        display: none;
    }

    .cod-stats-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }

    .cd-snapshot-tags {
        justify-content: center;
    }

    .cd-snapshot-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }

    .cod-sub-row {
        flex-wrap: wrap;
    }

    .co-cpe-wrapper .cpe-grid-3 {
        grid-template-columns: 1fr;
    }

    .logo-upload-row {
        flex-direction: column;
        text-align: center;
    }

    .logo-upload-actions {
        align-items: center;
    }

    .form-submit-row {
        flex-direction: column-reverse;
    }

    .btn-co-save {
        width: 100%;
        justify-content: center;
    }

    .cd-snapshot-actions {
        flex-direction: column;
    }

    .cod-profile-nudge {
        flex-wrap: wrap;
        text-align: left;
    }

    .pj-form-grid, .pj-form-grid-3 {
        grid-template-columns: 1fr;
    }

    .pj-card-body {
        padding: 16px;
    }

    .pj-nav-row {
        flex-direction: column;
        padding: 16px;
    }

    .pj-btn-next, .pj-btn-submit {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .pj-btn-prev {
        width: 100%;
        justify-content: center;
    }

    .pj-stepper {
        padding: 14px;
    }

    .pj-hero {
        padding: 28px 0 36px;
    }

    .mj-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .mj-search-wrap {
        min-width: 100%;
    }

    .mj-jobs-grid {
        grid-template-columns: 1fr;
    }

    .mj-modal-panel {
        max-height: 95vh;
        border-radius: var(--radius-xl);
    }

    .mj-modal-footer {
        flex-direction: column;
    }

    .mj-modal-footer .pj-btn-submit {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .mj-modal-footer .pj-btn-prev {
        width: 100%;
        justify-content: center;
    }
}


@media (max-width: 767px) {
    .breadcrumb-section-comp {
        padding: 40px 0;
    }

    .page-title-comp {
        font-size: 1.75rem;
    }

    .page-subtitle-comp {
        font-size: 0.9375rem;
    }

    .companies-grid-comp {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .company-meta-comp {
        grid-template-columns: 1fr;
    }

    .company-card-footer-comp {
        flex-direction: column;
        align-items: stretch;
        gap: 0.625rem;
    }

    .btn-view-company-comp {
        justify-content: center;
    }

    .pagination-comp {
        gap: 0.25rem;
        padding: 0.5rem;
    }

    .page-btn-comp {
        min-width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .page-btn-comp span {
        display: none;
    }

    .sort-dropdown-comp {
        width: 100%;
    }

    .sort-trigger-comp {
        width: 100%;
        justify-content: space-between;
    }

    .sort-menu-comp {
        left: 0;
        right: 0;
        width: 100%;
    }

    .company-hero-glass {
        padding: 1.5rem 0;
    }

    .company-profile-glass {
        padding: 1.25rem;
    }

    .profile-left-glass {
        flex-direction: column;
        align-items: flex-start;
    }

    .company-avatar-glass {
        width: 70px;
        height: 70px;
    }

    .company-title-glass {
        font-size: 1.5rem;
    }

    .stats-glass-row, .info-grid-glass, .culture-grid-glass, .benefits-grid-glass {
        grid-template-columns: 1fr;
    }

    .rating-overview-glass {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .company-jobs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .company-job-card-detailed {
        min-height: auto;
    }

    .job-card-header-detailed {
        flex-wrap: wrap;
    }

    .job-info-row-detailed {
        flex-direction: column;
        gap: 0.5rem;
    }

    .job-card-footer-detailed {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-view-job-detailed {
        justify-content: center;
    }

    .jobs-grid-glass, .reviews-grid-glass {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .jobs-filter-actions, .reviews-filter-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .filter-select-glass {
        width: 100%;
    }

    .section-title-glass {
        font-size: 1.375rem;
    }

    .job-card-glass, .review-card-glass {
        padding: 1.25rem;
    }

    .job-footer-glass {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-glass.apply {
        width: 100%;
        justify-content: center;
    }

    .job-card-job.list-view {
        grid-template-columns: 1fr;
        grid-template-areas: "logo"
            "info"
            "actions";
    }

    .job-card-job.list-view .company-logo-job {
        width: 48px;
        height: 48px;
    }

    .job-card-job.list-view .job-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .similar-jobs-grid-job {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-title-glass-job {
        font-size: 1.5rem;
    }

    .similar-job-card-job {
        min-height: auto;
    }

    .jobs-grid-job {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .page-title-job {
        font-size: 2rem;
    }

    .job-card-header-job {
        flex-direction: column;
        gap: 1rem;
    }

    .job-badges-job {
        align-items: flex-start;
        width: 100%;
    }

    .bookmark-btn-job {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
    }

    .job-meta-grid {
        grid-template-columns: 1fr;
    }

    .ad-banner-job {
        margin: 0.75rem 0;
    }

    .banner-swiper-job .swiper-slide {
        height: 150px;
    }

    .stats-glass-row-job, .info-grid-glass-job {
        grid-template-columns: 1fr;
    }

    .glass-tabs-job {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-glass-job {
        flex: 0 0 auto;
        min-width: fit-content;
    }

    .breadcrumb-section-candidate {
        padding: 40px 0;
    }

    .page-title-candidate {
        font-size: 2rem;
    }

    .page-subtitle-candidate {
        font-size: 0.9375rem;
    }

    .candidates-grid-candidate {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .candidate-meta-grid {
        grid-template-columns: 1fr;
    }

    .pagination-candidate {
        gap: 0.25rem;
        padding: 0.5rem;
    }

    .page-btn-candidate {
        min-width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .page-btn-candidate span {
        display: none;
    }

    .sort-dropdown-candidate {
        width: 100%;
    }

    .sort-trigger-candidate {
        width: 100%;
        justify-content: space-between;
    }

    .sort-menu-candidate {
        left: 0;
        right: 0;
        width: 100%;
    }

    .candidate-card-header-candidate {
        flex-direction: column;
        gap: 1rem;
    }

    .bookmark-btn-candidate {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
    }

    .stats-glass-row-candidate {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .candidate-profile-glass {
        padding: 1.25rem;
    }

    .candidate-title-glass {
        font-size: 1.5rem;
    }

    .stat-glass-card-candidate {
        padding: 0.875rem;
    }

    .glass-tabs-candidate {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .glass-tabs-candidate::-webkit-scrollbar {
        display: none;
    }

    .tab-glass-candidate {
        flex: 0 0 auto;
        min-width: max-content;
    }

    .github-stats-candidate {
        grid-template-columns: 1fr;
    }

    .soft-skills-grid-candidate {
        grid-template-columns: 1fr;
    }

    .modal-content-candidate {
        border-radius: 16px;
    }

    .modal-header-candidate, .modal-body-candidate {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}


@media (max-width: 640px) {
    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .dashboard-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .profile-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .dashboard-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-dashboard-action {
        text-align: center;
        justify-content: center;
    }

    .profile-snapshot-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pr-plans-grid {
        grid-template-columns: 1fr;
    }

    .pr-form-grid {
        grid-template-columns: 1fr;
    }

    .pr-plan-picker-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pr-section-title {
        font-size: 20px;
    }

    .pr-current-plan-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pr-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .pr-form-submit-btn {
        justify-content: center;
    }

    .pr-trust-item {
        flex: 1 1 100%;
    }

    .pr-compare-table {
        font-size: 12px;
    }

    .pr-compare-table thead th, .pr-compare-table tbody td {
        padding: 10px 12px;
    }

    .jobs-grid-job, .companies-grid-comp, .candidates-grid-candidate {
        grid-template-columns: 1fr;
    }

    .job-meta-grid, .candidate-meta-grid {
        grid-template-columns: 1fr;
    }

    .stats-glass-row-job, .cp-stats-row {
        flex-direction: column;
    }

    .stat-glass-card-job, .cp-stat {
        min-width: 100%;
    }

    .profile-actions-glass-job, .cp-hero-actions {
        width: 100%;
    }

    .btn-glass-job, .btn-contact-profile {
        width: 100%;
        justify-content: center;
    }

    .company-hero-row {
        flex-direction: column;
    }

    .company-stats-details {
        grid-template-columns: 1fr 1fr;
    }

    .cp-hero-inner {
        flex-direction: column;
    }

    .cp-meta-row {
        flex-direction: column;
        gap: 0.375rem;
    }

    .content-toolbar-job, .content-toolbar-comp, .content-toolbar-candidate {
        flex-direction: column;
        align-items: flex-start;
    }

    .toolbar-right-job, .toolbar-right-comp, .toolbar-right-candidate {
        width: 100%;
        justify-content: flex-end;
    }

    .job-benefits-grid {
        grid-template-columns: 1fr;
    }

    .breadcrumb-section-job, .breadcrumb-section-comp, .breadcrumb-section-candidate {
        padding: 36px 0 30px;
    }

    .page-title-job, .page-title-comp, .page-title-candidate {
        font-size: 1.5rem;
    }
}


@media (max-width: 580px) {
    .crv-success-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .crv-form-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .crv-submit {
        justify-content: center;
    }

    .crv-write-section form {
        padding: 16px;
    }

    .crv-ws-header {
        padding: 14px 16px;
    }
}


@media (max-width: 575px) {
    .breadcrumb-section-comp {
        padding: 30px 0;
    }

    .page-title-comp {
        font-size: 1.5rem;
    }

    .page-subtitle-comp {
        font-size: 0.875rem;
    }

    .companies-content-section {
        padding: 1rem 0 2rem 0;
    }

    .filter-group-comp {
        margin-bottom: 0.875rem;
        padding-bottom: 0.875rem;
    }

    .company-card-header-comp {
        padding: 0.875rem;
    }

    .company-logo-wrapper-comp {
        width: 48px;
        height: 48px;
    }

    .company-card-body-comp {
        padding: 0.875rem;
    }

    .company-name-card-comp {
        font-size: 0.9375rem;
    }

    .pagination-wrapper-comp {
        margin-top: 1.5rem;
    }

    .page-btn-comp {
        min-width: 28px;
        height: 28px;
        font-size: 0.6875rem;
    }

    .page-btn-comp:nth-child(n+6):nth-last-child(n+3) {
        display: none;
    }

    .page-btn-comp.active-page-comp, .page-btn-comp.active-page-comp+.page-btn-comp, .page-btn-comp:has(+ .active-page-comp) {
        display: flex !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .jobs-filter {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

    .job-meta-glass {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .job-meta-glass span:nth-child(even) {
        display: none;
    }

    .breadcrumb-section-job {
        padding: 2rem 0;
    }

    .page-title-job {
        font-size: 1.75rem;
    }

    .page-subtitle-job {
        font-size: 0.9375rem;
    }

    .filter-group-job {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .job-card-header-job {
        padding: 1rem;
    }

    .company-logo-job {
        width: 56px;
        height: 56px;
    }

    .job-card-body-job {
        padding: 1rem;
    }

    .job-title-job {
        font-size: 1.125rem;
    }

    .pagination-wrapper-job {
        margin-top: 2rem;
        padding: 0 0.5rem;
    }

    .pagination-job {
        gap: 0.25rem;
        padding: 0.5rem;
        justify-content: center;
        width: 100%;
    }

    .page-btn-job {
        min-width: 32px;
        height: 32px;
        padding: 0 0.5rem;
        font-size: 0.75rem;
    }

    .page-btn-job:nth-child(n+6):nth-last-child(n+3) {
        display: none;
    }

    .page-btn-job.active-page-job, .page-btn-job.active-page-job+.page-btn-job, .page-btn-job:has(+ .active-page-job) {
        display: flex !important;
    }

    .job-company-avatar {
        width: 70px;
        height: 70px;
    }

    .job-title-glass {
        font-size: 1.5rem;
    }

    .modal-content-job {
        max-height: 95vh;
    }

    .modal-header-job, .modal-body-job {
        padding: 1.5rem;
    }

    .breadcrumb-section-candidate {
        padding: 30px 0;
    }

    .page-title-candidate {
        font-size: 1.5rem;
    }

    .page-subtitle-candidate {
        font-size: 0.875rem;
    }

    .candidates-content-section {
        padding: 1rem 0 2rem 0;
    }

    .filter-group-candidate {
        margin-bottom: 0.875rem;
        padding-bottom: 0.875rem;
    }

    .candidate-card-header-candidate {
        padding: 0.875rem;
    }

    .candidate-card-body-candidate {
        padding: 0.875rem;
    }

    .candidate-name-candidate {
        font-size: 0.9375rem;
    }

    .pagination-wrapper-candidate {
        margin-top: 1.5rem;
    }

    .page-btn-candidate {
        min-width: 28px;
        height: 28px;
        font-size: 0.6875rem;
    }

    .page-btn-candidate:nth-child(n+6):nth-last-child(n+3) {
        display: none;
    }

    .page-btn-candidate.active-page-candidate, .page-btn-candidate.active-page-candidate+.page-btn-candidate, .page-btn-candidate:has(+ .active-page-candidate) {
        display: flex !important;
    }
}


@media (max-width: 560px) {
    .cd-topbar {
        flex-wrap: nowrap;
        align-items: center;
    }

    .cd-topbar-actions {
        gap: 0.375rem;
    }

    .cd-topbar-browse-btn {
        padding: 0.45rem 0.625rem;
        font-size: 0.75rem;
    }

    .cd-topbar-edit-btn {
        padding: 0.45rem 0.75rem;
        font-size: 0.75rem;
    }

    .cd-stats-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .stat-card {
        padding: 1rem;
        gap: 0.625rem;
    }

    .stat-card-value {
        font-size: 1.4rem;
    }

    .stat-card-label {
        font-size: 0.72rem;
    }

    .stat-card-icon {
        width: 38px;
        height: 38px;
    }

    .cd-tabnav {
        min-width: unset;
        width: max-content;
        gap: 0.15rem;
        padding: 0.25rem;
    }

    .cd-tab-pill {
        padding: 0.45rem 0.625rem;
        font-size: 0.75rem;
        gap: 0.25rem;
        flex: 0 0 auto;
    }

    .cd-tab-count {
        font-size: 0.62rem;
        padding: 0.05rem 0.35rem;
    }

    .cd-snapshot-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cd-snapshot-tags {
        justify-content: center;
    }

    .cd-snapshot-actions {
        justify-content: center;
    }

    .cd-enq-card-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .cd-enq-card-head {
        flex-direction: column;
    }

    .cd-enq-card-right {
        flex-direction: row;
        align-items: center;
    }

    .cd-profile-nudge {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cd-profile-nudge-icon {
        margin: 0 auto;
    }

    .cd-ai-banner {
        padding: 1rem;
    }

    .cd-ai-banner-inner {
        gap: 0.625rem;
    }

    .cd-ai-banner-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .cd-ai-banner-text {
        font-size: 0.8rem;
    }

    .crv-row-2 {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 520px) {
    .crv-pros-cons-display {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 500px) {
    .form-row-two {
        grid-template-columns: 1fr;
    }

    .modal-content-job, .modal-content-candidate {
        border-radius: 20px;
    }

    .modal-header-job, .modal-header-candidate {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-body-job, .modal-body-candidate {
        padding: 1.25rem 1.5rem 1.75rem;
    }
}


@media (max-width: 480px) {
    .culture-grid-job {
        grid-template-columns: 1fr;
    }

    .gallery-grid-job {
        grid-template-columns: repeat(2, 1fr);
    }

    .cpe-grid-4 {
        grid-template-columns: 1fr;
    }

    .cpe-topbar-title {
        font-size: 15px;
    }

    .cpe-view-btn {
        display: none;
    }

    .cpe-tab-pill {
        font-size: 12px;
        padding: 5px 11px;
    }

    .cpe-rep-body {
        padding: 12px;
    }

    .cpe-wrapper .cpe-form-grid-two {
        grid-template-columns: 1fr;
    }

    .cod-stats-grid-enhanced {
        grid-template-columns: 1fr 1fr;
    }

    .cod-topbar-title {
        font-size: 0.9375rem;
    }

    .co-cpe-topbar-title {
        font-size: 0.9375rem;
    }

    .co-cpe-topbar>a.btn-co-save {
        display: none;
    }

    .co-cpe-tab-pill {
        font-size: 0.75rem;
        padding: 5px 11px;
    }

    .cod-tab-pill {
        font-size: 0.75rem;
        padding: 5px 11px;
    }

    .cd-snapshot-grid-enhanced {
        grid-template-columns: 1fr;
    }

    .cd-snapshot-grid-enhanced .snapshot-item {
        border-right: none;
    }

    .cod-ai-banner {
        padding: 14px 16px;
    }

    .cod-ai-banner-text {
        font-size: 0.8rem;
    }

    .cd-funnel-label {
        width: 70px;
        font-size: 0.75rem;
    }

    .cd-funnel-val {
        min-width: 48px;
        font-size: 0.75rem;
    }

    .cod-sub-row {
        flex-direction: column;
        gap: 0;
    }

    .cod-sub-stat {
        border-right: none;
        border-bottom: 1px solid var(--border-light, #e9eaf0);
    }

    .cod-sub-stat:last-child {
        border-bottom: none;
    }

    .mj-stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mj-stat-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .mj-stat-val {
        font-size: 18px;
    }

    .mj-job-card-actions {
        flex-wrap: wrap;
    }

    .pj-hero-title {
        font-size: 20px;
    }

    .crv-timeline {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .crv-tl-connector {
        display: none;
    }

    .glass-tabs-job {
        gap: 0.125rem;
    }

    .tab-glass-job {
        padding: 0.4375rem 0.75rem;
        font-size: 0.75rem;
    }

    .profile-left-glass-job {
        flex-direction: column;
    }

    .job-company-avatar {
        width: 64px;
        height: 64px;
    }

    .job-title-glass {
        font-size: 1.25rem;
    }

    .pagination-job, .pagination-comp, .pagination-candidate {
        gap: 0.25rem;
    }

    .page-btn-job, .page-btn-comp, .page-btn-candidate {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }
}


@media (max-width: 420px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 400px) {
    .row-comp-three-col {
        gap: 0.75rem;
    }

    .filters-sidebar-comp .sidebar-sticky-comp, .company-card-comp {
        padding: 0.75rem;
    }

    .content-toolbar-comp {
        padding: 0.75rem;
    }

    .pagination-comp {
        gap: 0.125rem;
        padding: 0.375rem;
    }

    .row-candidate-three-col {
        gap: 0.75rem;
    }

    .content-toolbar-candidate {
        padding: 0.75rem;
    }

    .pagination-candidate {
        gap: 0.125rem;
        padding: 0.375rem;
    }

    .cd-topbar-title {
        font-size: 1.1rem;
    }

    .cd-stats-grid-enhanced {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .stat-card-value {
        font-size: 1.25rem;
    }

    .cd-tab-pill {
        padding: 0.4rem 0.5rem;
        font-size: 0.72rem;
    }

    .cd-topbar-browse-btn span, .cd-topbar-edit-btn span {
        display: none;
    }
}