        :root {
            --brand-primary: #f36c21;
            --brand-primary-dark: #ea580c;
            --brand-primary-light: #fb923c;
            --brand-primary-deep: #c2410c;
            --brand-primary-rgb: 243, 108, 33;
            --brand-light-rgb: 251, 146, 60;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Outfit', sans-serif;
            background: #0a0a0a;
            color: white;
            min-height: 100vh;
            overflow-x: hidden;
        }

        #canvas-bg {
            position: fixed;
            inset: 0;
            z-index: 0;
        }

        .gradient-overlay {
            position: fixed;
            inset: 0;
            background:
                radial-gradient(ellipse at 0% 0%, rgba(var(--brand-primary-rgb), 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 100% 100%, rgba(var(--brand-light-rgb), 0.15) 0%, transparent 45%);
            z-index: 1;
            pointer-events: none;
        }

        .scanlines {
            position: fixed;
            inset: 0;
            background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(var(--brand-primary-rgb), 0.03) 2px, rgba(var(--brand-primary-rgb), 0.03) 4px);
            z-index: 2;
            pointer-events: none;
        }

        .grid-overlay {
            position: fixed;
            inset: 0;
            background-image: linear-gradient(rgba(var(--brand-primary-rgb), 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(var(--brand-primary-rgb), 0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            z-index: 1;
            pointer-events: none;
        }

        /* Top bar */
        .top-bar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 40px;
            background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, transparent 100%);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .logo-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 50%, var(--brand-primary-deep) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1.5rem;
            box-shadow: 0 0 30px rgba(var(--brand-primary-rgb), 0.5);
            animation: logoPulse 3s ease-in-out infinite;
        }

        @keyframes logoPulse {

            0%,
            100% {
                box-shadow: 0 0 30px rgba(var(--brand-primary-rgb), 0.5);
            }

            50% {
                box-shadow: 0 0 50px rgba(var(--brand-primary-rgb), 0.7);
            }
        }

        .logo-text {
            font-size: 1.4rem;
            font-weight: 700;
        }

        .logo-text span {
            color: var(--brand-primary-light);
            font-weight: 400;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .user-badge {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(var(--brand-primary-rgb), 0.1);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.3);
            padding: 10px 20px;
            border-radius: 50px;
            font-size: 0.85rem;
            color: var(--brand-primary-light);
        }

        .status-dot {
            width: 10px;
            height: 10px;
            background: #22c55e;
            border-radius: 50%;
            animation: statusPulse 1.5s ease-in-out infinite;
        }

        @keyframes statusPulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        .btn-logout {
            background: rgba(239, 68, 68, 0.2);
            border: 1px solid rgba(239, 68, 68, 0.4);
            color: #f87171;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-family: inherit;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-logout:hover {
            background: rgba(239, 68, 68, 0.3);
        }

        .btn-settings {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: #a1a1aa;
            padding: 10px 14px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s;
        }

        .btn-settings:hover {
            background: rgba(var(--brand-primary-rgb), 0.2);
            border-color: rgba(var(--brand-primary-rgb), 0.4);
            color: var(--brand-primary);
        }

        /* Main Container */
        .main-container {
            position: relative;
            z-index: 10;
            min-height: 100vh;
            padding: 100px 40px 40px;
        }

        /* Login Section */
        #login-section {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: calc(100vh - 140px);
        }

        .login-wrapper {
            display: flex;
            align-items: center;
            gap: 100px;
            max-width: 1200px;
            width: 100%;
        }

        .brand-section {
            flex: 1;
            max-width: 550px;
        }

        .cyber-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(var(--brand-primary-rgb), 0.1);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.4);
            padding: 8px 16px;
            border-radius: 4px;
            font-size: 0.75rem;
            color: var(--brand-primary-light);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 1.5rem;
        }

        h1 {
            font-size: 4rem;
            font-weight: 800;
            line-height: 1;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
        }

        .text-accent {
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light), #fbbf24);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .subtitle {
            font-size: 1.1rem;
            color: #a1a1aa;
            line-height: 1.7;
            margin-bottom: 2rem;
            border-left: 2px solid var(--brand-primary);
            padding-left: 20px;
        }

        /* Hero Stats */
        .hero-stats {
            display: flex;
            gap: 16px;
            margin-bottom: 2rem;
        }

        .hero-stat {
            background: rgba(var(--brand-primary-rgb), 0.05);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.15);
            padding: 20px 24px;
            border-radius: 8px;
            min-width: 120px;
            transition: all 0.3s ease;
        }

        .hero-stat:hover {
            background: rgba(var(--brand-primary-rgb), 0.1);
            border-color: rgba(var(--brand-primary-rgb), 0.4);
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(var(--brand-primary-rgb), 0.15);
        }

        .hero-stat-number {
            font-size: 2rem;
            font-weight: 800;
            color: white;
            line-height: 1;
        }

        .hero-stat-number span {
            font-size: 1rem;
            color: var(--brand-primary);
        }

        .hero-stat-label {
            font-size: 0.75rem;
            color: #71717a;
            margin-top: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Quote Section */
        .quote-section {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 20px;
            background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
            backdrop-filter: blur(10px);
            border-radius: 8px;
            border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
            position: relative;
        }

        .quote-section::before {
            content: '"';
            position: absolute;
            top: 10px;
            left: 18px;
            font-size: 3rem;
            color: rgba(var(--brand-primary-rgb), 0.2);
            font-family: Georgia, serif;
            line-height: 1;
        }

        .quote-avatar {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.9rem;
            flex-shrink: 0;
            box-shadow: 0 0 20px rgba(var(--brand-primary-rgb), 0.3);
        }

        .quote-content {
            padding-top: 4px;
        }

        .quote-text {
            font-size: 0.9rem;
            color: #d4d4d8;
            font-style: italic;
            line-height: 1.6;
            margin: 0;
        }

        .quote-author {
            font-size: 0.8rem;
            color: var(--brand-primary);
            margin-top: 10px;
            font-style: normal;
            font-weight: 600;
        }

        /* Login Card */
        .login-card {
            width: 400px;
            background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
            backdrop-filter: blur(30px);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
        }

        .login-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-light), var(--brand-primary));
            border-radius: 16px 16px 0 0;
        }

        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .login-header h2 {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        .login-header p {
            color: #71717a;
            font-size: 0.9rem;
        }

        .input-group {
            margin-bottom: 20px;
        }

        .input-group label {
            display: block;
            font-size: 0.8rem;
            color: #a1a1aa;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper i {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #52525b;
            transition: color 0.3s;
        }

        .input-wrapper input {
            width: 100%;
            padding: 16px 16px 16px 50px;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.15);
            border-radius: 8px;
            color: white;
            font-size: 1rem;
            font-family: inherit;
            transition: all 0.3s;
        }

        .input-wrapper input:focus {
            outline: none;
            border-color: var(--brand-primary);
            box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
        }

        .input-wrapper input:focus+i,
        .input-wrapper:focus-within i {
            color: var(--brand-primary);
        }

        .btn-primary {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
            border: none;
            border-radius: 8px;
            color: white;
            font-size: 1rem;
            font-weight: 700;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(var(--brand-primary-rgb), 0.4);
        }

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

        .error-message {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #f87171;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 0.9rem;
            display: none;
        }

        /* Dashboard Section */
        #dashboard-section {
            display: none;
        }

        /* Nav Tabs */
        .nav-tabs {
            display: flex;
            gap: 4px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 12px;
            padding: 4px;
        }

        .nav-tab {
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.5);
            padding: 8px 18px;
            border-radius: 10px;
            font-family: 'Outfit', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.25s;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-tab:hover {
            color: white;
            background: rgba(255, 255, 255, 0.08);
        }

        .nav-tab.active {
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
            color: white;
            box-shadow: 0 2px 12px rgba(var(--brand-primary-rgb), 0.4);
        }

        /* Vacatures Section */
        #vacatures-section {
            display: none;
        }

        .vacatures-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-top: 20px;
        }

        @media (max-width: 968px) {
            .vacatures-grid {
                grid-template-columns: 1fr;
            }
        }

        .vacancy-card {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 24px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .vacancy-card:hover {
            border-color: rgba(var(--brand-primary-rgb), 0.4);
            background: rgba(255, 255, 255, 0.07);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        }

        .vacancy-card .vc-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: white;
        }

        .vacancy-card .vc-meta {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-top: 10px;
        }

        .vacancy-card .vc-meta span {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.5);
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .vacancy-card .vc-meta span i {
            color: var(--brand-primary);
            font-size: 0.75rem;
        }

        .vacancy-card .vc-client {
            font-size: 0.85rem;
            color: var(--brand-primary-light);
            font-weight: 500;
        }

        .vacancy-card .vc-deadline {
            font-size: 0.75rem;
            color: #ef4444;
            font-weight: 500;
            margin-top: 8px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .vacancy-card .vc-deadline i {
            font-size: 0.7rem;
        }

        /* Opdracht Details Grid (Vacancy Detail) */
        .vd-details-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .vd-detail-item {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 10px;
            padding: 12px 16px;
        }

        .vd-detail-label {
            display: block;
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.4);
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        .vd-detail-value {
            font-size: 0.95rem;
            font-weight: 500;
            color: white;
        }

        .vd-deadline-value {
            color: #ef4444;
            font-weight: 600;
        }

        /* Aanbied Modal */
        .aanbied-kandidaat-info {
            background: rgba(var(--brand-primary-rgb), 0.1);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.3);
            border-radius: 10px;
            padding: 14px 18px;
            margin-bottom: 20px;
            font-weight: 600;
            color: var(--brand-primary-light);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .aanbied-form-group {
            margin-bottom: 16px;
        }

        .aanbied-form-group label {
            display: block;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 6px;
            font-weight: 500;
        }

        .aanbied-form-group textarea,
        .aanbied-form-group input[type="text"] {
            width: 100%;
            padding: 12px;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: white;
            font-family: 'Outfit', sans-serif;
            font-size: 0.9rem;
            resize: vertical;
            outline: none;
            transition: border-color 0.3s;
            box-sizing: border-box;
        }

        .aanbied-form-group textarea:focus,
        .aanbied-form-group input[type="text"]:focus {
            border-color: rgba(var(--brand-primary-rgb), 0.5);
        }

        .cv-upload-zone {
            border: 2px dashed rgba(var(--brand-primary-rgb), 0.3);
            border-radius: 12px;
            padding: 24px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .cv-upload-zone:hover {
            border-color: var(--brand-primary);
            background: rgba(var(--brand-primary-rgb), 0.05);
        }

        .aanbied-footer {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .btn-aanbied-submit {
            background: linear-gradient(135deg, #22c55e, #16a34a);
            border: none;
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .btn-aanbied-submit:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
        }

        .btn-aanbied-submit:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .btn-aanbied-cancel {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.6);
            padding: 12px 20px;
            border-radius: 8px;
            font-family: 'Outfit', sans-serif;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s;
        }

        .btn-aanbied-cancel:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        /* Vacancy Search */
        .vacancy-search {
            position: relative;
            margin-bottom: 10px;
        }

        .vacancy-search input {
            width: 100%;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 14px 20px 14px 46px;
            color: white;
            font-family: 'Outfit', sans-serif;
            font-size: 0.95rem;
            outline: none;
            transition: border-color 0.3s;
        }

        .vacancy-search input:focus {
            border-color: var(--brand-primary);
        }

        .vacancy-search input::placeholder {
            color: rgba(255, 255, 255, 0.3);
        }

        .vacancy-search i {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255, 255, 255, 0.3);
        }

        /* Vacancy Detail Modal */
        .vacancy-detail-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .vacancy-detail-overlay.active {
            display: flex;
        }

        .vacancy-detail-panel {
            background: #161616;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            width: 90vw;
            max-width: 900px;
            max-height: 85vh;
            overflow-y: auto;
            padding: 36px;
            position: relative;
        }

        .vacancy-detail-panel::-webkit-scrollbar {
            width: 6px;
        }

        .vacancy-detail-panel::-webkit-scrollbar-thumb {
            background: rgba(var(--brand-primary-rgb), 0.4);
            border-radius: 3px;
        }

        .vd-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: rgba(255, 255, 255, 0.06);
            border: none;
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        .vd-close:hover {
            background: rgba(255, 0, 0, 0.2);
        }

        .vd-header h2 {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 6px;
        }

        .vd-header .vd-meta {
            display: flex;
            gap: 20px;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.85rem;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .vd-header .vd-meta span {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .vd-header .vd-meta i {
            color: var(--brand-primary);
        }

        .vd-block {
            margin-bottom: 24px;
        }

        .vd-block h3 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--brand-primary-light);
        }

        .vd-block p,
        .vd-block pre {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            line-height: 1.7;
            white-space: pre-wrap;
            font-family: 'Outfit', sans-serif;
        }

        .vd-actions {
            display: flex;
            gap: 12px;
            margin-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 20px;
        }

        .btn-match-candidates {
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
            border: none;
            color: white;
            padding: 12px 24px;
            border-radius: 12px;
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .btn-match-candidates:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 20px rgba(var(--brand-primary-rgb), 0.4);
        }

        /* Match Results */
        .match-results {
            margin-top: 24px;
        }

        .match-card {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 14px;
            padding: 20px;
            margin-bottom: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: border-color 0.3s;
        }

        .match-card:hover {
            border-color: rgba(var(--brand-primary-rgb), 0.3);
        }

        .match-card.knockout {
            border-color: rgba(255, 0, 0, 0.2);
            opacity: 0.6;
        }

        .match-info h4 {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .match-info .match-skills {
            margin-top: 6px;
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .match-info .skill-tag {
            background: rgba(var(--brand-primary-rgb), 0.15);
            color: var(--brand-primary-light);
            font-size: 0.7rem;
            padding: 3px 10px;
            border-radius: 6px;
        }

        .match-info .knockout-reason {
            color: #ef4444;
            font-size: 0.8rem;
            margin-top: 4px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .match-score {
            text-align: center;
            min-width: 70px;
        }

        .match-score .score-value {
            font-size: 1.6rem;
            font-weight: 800;
        }

        .match-score .score-label {
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.4);
            text-transform: uppercase;
        }

        .score-high {
            color: #22c55e;
        }

        .score-medium {
            color: #f59e0b;
        }

        .score-low {
            color: #ef4444;
        }

        .match-actions {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        /* AI Eisen-check styling */
        .match-card-wrapper {
            margin-bottom: 12px;
        }

        .match-card-wrapper .match-card {
            margin-bottom: 0;
            border-radius: 14px 14px 14px 14px;
            transition: border-color 0.3s, border-radius 0.3s;
        }

        .match-card-wrapper.expanded .match-card {
            border-radius: 14px 14px 0 0;
        }

        .ai-check-panel {
            display: none;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-top: none;
            border-radius: 0 0 14px 14px;
            padding: 16px 20px;
        }

        .match-card-wrapper.expanded .ai-check-panel {
            display: block;
        }

        .ai-summary {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 12px;
            font-style: italic;
        }

        .ai-eisen-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 10px;
        }

        .ai-eisen-table th {
            text-align: left;
            font-size: 0.7rem;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.4);
            padding: 4px 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .ai-eisen-table td {
            font-size: 0.8rem;
            padding: 6px 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            color: rgba(255, 255, 255, 0.8);
        }

        .ai-eisen-table .eis-status {
            text-align: center;
            width: 30px;
        }

        .ai-eisen-table .eis-voldoet {
            color: #22c55e;
        }

        .ai-eisen-table .eis-niet {
            color: #ef4444;
        }

        .ai-section-label {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--brand-primary-light);
            text-transform: uppercase;
            margin: 10px 0 4px 0;
            letter-spacing: 0.5px;
        }

        .ai-toggle-btn {
            background: none;
            border: 1px solid rgba(var(--brand-primary-rgb), 0.3);
            color: var(--brand-primary-light);
            font-size: 0.7rem;
            padding: 4px 10px;
            border-radius: 6px;
            cursor: pointer;
            font-family: 'Outfit', sans-serif;
            transition: background 0.2s;
        }

        .ai-toggle-btn:hover {
            background: rgba(var(--brand-primary-rgb), 0.1);
        }

        .ai-score-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 6px;
            font-weight: 600;
        }

        .ai-score-badge.ai-high {
            background: rgba(34, 197, 94, 0.15);
            color: #22c55e;
        }

        .ai-score-badge.ai-medium {
            background: rgba(245, 158, 11, 0.15);
            color: #f59e0b;
        }

        .ai-score-badge.ai-low {
            background: rgba(239, 68, 68, 0.15);
            color: #ef4444;
        }

        /* Historische feedback op deze vacature (al aangeboden / eerder afgewezen) */
        .feedback-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 6px;
            font-weight: 600;
        }

        .feedback-badge.feedback-aangeboden {
            background: rgba(96, 165, 250, 0.15);
            color: #60a5fa;
        }

        .feedback-badge.feedback-afgewezen {
            background: rgba(239, 68, 68, 0.15);
            color: #ef4444;
        }

        /* Match-transparantie: knock-out op harde eis (score gecapt op 55) */
        .knockout-eis-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 6px;
            font-weight: 600;
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(249, 115, 22, 0.2));
            border: 1px solid rgba(249, 115, 22, 0.4);
            color: #fb923c;
            cursor: help;
        }

        /* Match-transparantie: vacature heeft alleen wensen (score gecapt op 84) */
        .alleen-wensen-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 6px;
            font-weight: 600;
            background: rgba(148, 163, 184, 0.15);
            border: 1px solid rgba(96, 165, 250, 0.25);
            color: #94a3b8;
            cursor: help;
        }

        /* Ensemble-uitleg (spec 0010): kleine chips onder de score met de
           signalen die de eindsortering mede bepaalden (bv. beschikbaarheid).
           Bevat NOOIT een tarief/marge. */
        .ensemble-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            justify-content: center;
            margin-top: 6px;
        }
        .ensemble-chip {
            display: inline-flex;
            align-items: center;
            font-size: 0.65rem;
            padding: 2px 7px;
            border-radius: 6px;
            font-weight: 600;
            background: rgba(148, 163, 184, 0.12);
            border: 1px solid rgba(148, 163, 184, 0.3);
            color: #cbd5e1;
            white-space: nowrap;
        }

        /* Eisen-info-regel boven de matchlijst: aantal eisen/wensen uit extractie */
        .eisen-info-regel {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 14px;
            padding: 8px 14px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.55);
        }

        .eisen-info-regel.eisen-info-waarschuwing {
            background: rgba(245, 158, 11, 0.08);
            border-color: rgba(245, 158, 11, 0.35);
            color: #f59e0b;
        }

        /* Knock-out-uitleg bovenaan het uitklap-eisenpanel */
        .ai-knockout-note {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
            padding: 8px 12px;
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(249, 115, 22, 0.35);
            border-radius: 8px;
            font-size: 0.8rem;
            font-weight: 600;
            color: #fb923c;
        }

        .btn-offer,
        .btn-pimp {
            border: none;
            padding: 8px 16px;
            border-radius: 8px;
            font-family: 'Outfit', sans-serif;
            font-size: 0.8rem;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
        }

        .btn-offer {
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: white;
        }

        .btn-offer:hover {
            transform: translateY(-1px);
            box-shadow: 0 3px 12px rgba(34, 197, 94, 0.3);
        }

        .feedback-btns {
            display: flex;
            gap: 4px;
            margin-top: 4px;
        }
        .fb-btn {
            padding: 5px 8px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.75rem;
            transition: all 0.2s;
            opacity: 0.6;
        }
        .fb-btn:hover { opacity: 1; transform: scale(1.1); }
        .fb-btn.fb-gesprek { background: rgba(59,130,246,0.2); color: #60a5fa; }
        .fb-btn.fb-aangenomen { background: rgba(34,197,94,0.2); color: #4ade80; }
        .fb-btn.fb-afgewezen { background: rgba(239,68,68,0.2); color: #f87171; }
        .fb-btn.active { opacity: 1; box-shadow: 0 0 8px currentColor; }

        .btn-pimp {
            background: rgba(139, 92, 246, 0.2);
            color: #a78bfa;
            border: 1px solid rgba(139, 92, 246, 0.3);
        }

        .btn-pimp:hover {
            background: rgba(139, 92, 246, 0.3);
            transform: translateY(-1px);
        }

        /* CV Pimp Modal */
        .pimp-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(12px);
            z-index: 1100;
            display: none;
            align-items: center;
            justify-content: center;
        }

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

        .pimp-panel {
            background: #161616;
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 20px;
            width: 90vw;
            max-width: 800px;
            max-height: 85vh;
            overflow-y: auto;
            padding: 36px;
            position: relative;
        }

        .pimp-panel::-webkit-scrollbar {
            width: 6px;
        }

        .pimp-panel::-webkit-scrollbar-thumb {
            background: rgba(139, 92, 246, 0.4);
            border-radius: 3px;
        }

        .pimp-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .pimp-header h2 {
            font-size: 1.3rem;
            color: #a78bfa;
        }

        .pimp-match-badge {
            background: rgba(255, 255, 255, 0.06);
            padding: 8px 16px;
            border-radius: 10px;
            text-align: center;
        }

        .pimp-match-badge .pimp-score {
            font-size: 1.8rem;
            font-weight: 800;
        }

        .pimp-match-badge .pimp-label {
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.4);
            text-transform: uppercase;
        }

        .pimp-section {
            margin-bottom: 20px;
        }

        .pimp-section h3 {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .pimp-section h3 i {
            color: #a78bfa;
        }

        .pimp-section ul {
            list-style: none;
            padding: 0;
        }

        .pimp-section ul li {
            padding: 6px 0;
            padding-left: 20px;
            position: relative;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85rem;
            line-height: 1.5;
        }

        .pimp-section ul li::before {
            content: '▸';
            position: absolute;
            left: 0;
            color: #a78bfa;
        }

        .pimp-section .pimp-profile {
            background: rgba(139, 92, 246, 0.08);
            border: 1px solid rgba(139, 92, 246, 0.2);
            border-radius: 12px;
            padding: 20px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            line-height: 1.7;
            white-space: pre-wrap;
        }

        .pimp-section .pimp-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .pimp-section .pimp-tag {
            background: rgba(139, 92, 246, 0.2);
            color: #c4b5fd;
            font-size: 0.78rem;
            padding: 5px 14px;
            border-radius: 8px;
        }

        .btn-copy-profile {
            background: rgba(139, 92, 246, 0.2);
            border: 1px solid rgba(139, 92, 246, 0.3);
            color: #a78bfa;
            padding: 10px 20px;
            border-radius: 10px;
            font-family: 'Outfit', sans-serif;
            font-weight: 500;
            font-size: 0.85rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
        }

        .btn-copy-profile:hover {
            background: rgba(139, 92, 246, 0.3);
        }

        .loading-spinner-vac {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            padding: 60px 0;
            color: rgba(255, 255, 255, 0.5);
        }

        .loading-spinner-vac .spinner-ring {
            width: 40px;
            height: 40px;
            border: 3px solid rgba(var(--brand-primary-rgb), 0.2);
            border-top: 3px solid var(--brand-primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        /* Kandidaat Detail Overlay */
        .candidate-detail-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            z-index: 10000;
            justify-content: center;
            align-items: flex-start;
            padding: 40px 20px;
            overflow-y: auto;
        }

        .candidate-detail-overlay.active {
            display: flex;
        }

        .cd-panel {
            background: linear-gradient(145deg, #1e293b, #0f172a);
            border-radius: 20px;
            width: 100%;
            max-width: 700px;
            padding: 30px;
            position: relative;
            border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
        }

        .cd-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 24px;
        }

        .cd-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--brand-primary), #ff8a50);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
        }

        .cd-name h2 {
            color: white;
            margin: 0;
            font-size: 1.4rem;
        }

        .cd-name p {
            color: rgba(255, 255, 255, 0.5);
            margin: 4px 0 0;
            font-size: 0.85rem;
        }

        .cd-section {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 12px;
        }

        .cd-section h3 {
            color: var(--brand-primary);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 0 0 10px;
        }

        .cd-section p,
        .cd-section li {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .cd-section ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .cd-section ul li {
            padding: 4px 0;
        }

        .cd-section ul li::before {
            content: '\203a';
            color: var(--brand-primary);
            margin-right: 8px;
        }

        .cd-info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .cd-info-item {
            display: flex;
            flex-direction: column;
        }

        .cd-info-item label {
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.75rem;
        }

        .cd-info-item span {
            color: white;
            font-size: 0.9rem;
        }

        .cd-skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .cd-skill-tag {
            background: rgba(var(--brand-primary-rgb), 0.15);
            color: var(--brand-primary);
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
        }

        .cd-actions {
            display: flex;
            gap: 10px;
            margin-top: 16px;
        }

        .cd-btn {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.2s;
        }

        .cd-btn-upload {
            background: rgba(16, 185, 129, 0.2);
            color: #10b981;
            border: 1px solid rgba(16, 185, 129, 0.3);
        }

        .cd-btn-upload:hover {
            background: rgba(16, 185, 129, 0.3);
        }

        .cd-btn-close {
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
        }

        .cd-btn-close:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        .candidate-row {
            cursor: pointer;
            transition: all 0.2s;
        }

        .candidate-row:hover {
            background: rgba(var(--brand-primary-rgb), 0.08);
        }

        .candidate-date {
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.75rem;
        }

        .candidate-availability {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.72rem;
            color: #34d399;
            background: rgba(52, 211, 153, 0.12);
            padding: 2px 8px;
            border-radius: 10px;
            margin-top: 2px;
            white-space: nowrap;
        }

        .candidate-availability i {
            font-size: 0.65rem;
        }

        .supplier-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.72rem;
            color: #a78bfa;
            background: rgba(167, 139, 250, 0.12);
            padding: 2px 8px;
            border-radius: 10px;
            margin-top: 2px;
            white-space: nowrap;
        }

        .supplier-badge i {
            font-size: 0.65rem;
        }

        #filter-bar select {
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px center;
            padding-right: 28px;
        }
        #filter-bar select option {
            background: #1a2332;
            color: white;
        }

        .duplicate-warning {
            background: rgba(251, 191, 36, 0.1);
            border: 1px solid rgba(251, 191, 36, 0.3);
            border-radius: 12px;
            padding: 16px;
            margin: 12px 0;
            display: none;
        }

        .duplicate-warning.active {
            display: block;
        }

        .duplicate-warning h4 {
            color: #fbbf24;
            margin: 0 0 8px;
        }

        .duplicate-warning p {
            color: rgba(255, 255, 255, 0.7);
            margin: 0 0 12px;
            font-size: 0.85rem;
        }

        .dup-candidate {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            padding: 10px 12px;
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .dup-candidate-info {
            color: white;
            font-size: 0.85rem;
        }

        .dup-candidate-info small {
            color: rgba(255, 255, 255, 0.4);
            display: block;
        }

        .btn-update-existing {
            background: rgba(251, 191, 36, 0.2);
            border: 1px solid rgba(251, 191, 36, 0.4);
            color: #fbbf24;
            padding: 6px 14px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .btn-update-existing:hover {
            background: rgba(251, 191, 36, 0.3);
        }

        .dashboard-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .dashboard-title h2 {
            font-size: 2rem;
            margin-bottom: 5px;
        }

        .dashboard-title p {
            color: #71717a;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
        }

        .btn-upload {
            display: flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
            border: none;
            padding: 14px 28px;
            border-radius: 8px;
            color: white;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-upload:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(var(--brand-primary-rgb), 0.4);
        }

        .btn-refresh {
            background: rgba(var(--brand-primary-rgb), 0.1);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.3);
            padding: 14px 20px;
            border-radius: 8px;
            color: var(--brand-primary-light);
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-refresh:hover {
            background: rgba(var(--brand-primary-rgb), 0.2);
        }

        /* Stats Cards */
        .stats-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: rgba(var(--brand-primary-rgb), 0.05);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.15);
            border-radius: 12px;
            padding: 24px;
            transition: all 0.3s;
        }

        .stat-card:hover {
            border-color: rgba(var(--brand-primary-rgb), 0.4);
            transform: translateY(-4px);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: white;
            margin-bottom: 5px;
        }

        .stat-number span {
            color: var(--brand-primary);
            font-size: 1.2rem;
        }

        .stat-label {
            color: #71717a;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Candidates Table */
        .candidates-container {
            background: rgba(20, 20, 20, 0.8);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.15);
            border-radius: 16px;
            overflow: hidden;
        }

        .table-header {
            display: grid;
            grid-template-columns: 2.5fr 1.2fr 2fr;
            padding: 18px 28px;
            background: rgba(var(--brand-primary-rgb), 0.1);
            border-bottom: 1px solid rgba(var(--brand-primary-rgb), 0.2);
            font-size: 0.8rem;
            color: #a1a1aa;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        .candidates-list {
            max-height: 500px;
            overflow-y: auto;
        }

        .candidate-row {
            display: grid;
            grid-template-columns: 2.5fr 1.2fr 2fr;
            padding: 22px 28px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            align-items: center;
            transition: all 0.2s;
            gap: 16px;
        }

        .candidate-row:hover {
            background: rgba(var(--brand-primary-rgb), 0.05);
        }

        .candidate-name {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .candidate-avatar {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .candidate-info h4 {
            font-weight: 600;
            margin-bottom: 2px;
        }

        .candidate-info span {
            color: #71717a;
            font-size: 0.85rem;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .status-open {
            background: rgba(34, 197, 94, 0.15);
            color: #4ade80;
        }

        .status-placed {
            background: rgba(59, 130, 246, 0.15);
            color: #60a5fa;
        }

        .status-rejected {
            background: rgba(239, 68, 68, 0.15);
            color: #f87171;
        }

        .candidate-actions {
            display: flex;
            gap: 8px;
            justify-content: flex-start;
        }

        .btn-action {
            padding: 8px 14px;
            border-radius: 6px;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 0.8rem;
            font-weight: 500;
            font-family: inherit;
            white-space: nowrap;
        }

        .btn-action i {
            font-size: 0.85rem;
        }

        .btn-action-available {
            background: rgba(34, 197, 94, 0.15);
            color: #4ade80;
            border: 1px solid rgba(34, 197, 94, 0.3);
        }

        .btn-action-unavailable {
            background: rgba(var(--brand-light-rgb), 0.15);
            color: var(--brand-primary-light);
            border: 1px solid rgba(var(--brand-light-rgb), 0.3);
        }

        .btn-action-upload {
            background: rgba(59, 130, 246, 0.15);
            color: #60a5fa;
            border: 1px solid rgba(59, 130, 246, 0.3);
        }

        .btn-action-delete {
            background: rgba(239, 68, 68, 0.15);
            color: #f87171;
            border: 1px solid rgba(239, 68, 68, 0.3);
        }

        .btn-action:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .btn-action:active {
            transform: translateY(0);
        }

        .empty-state {
            padding: 60px;
            text-align: center;
            color: #71717a;
        }

        .empty-state i {
            font-size: 4rem;
            margin-bottom: 20px;
            color: rgba(var(--brand-primary-rgb), 0.3);
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
        }

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

        .modal {
            background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.3);
            border-radius: 20px;
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }

        .modal-header {
            padding: 24px;
            border-bottom: 1px solid rgba(var(--brand-primary-rgb), 0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h3 {
            font-size: 1.3rem;
        }

        .modal-close {
            background: none;
            border: none;
            color: #71717a;
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.2s;
        }

        .modal-close:hover {
            color: white;
        }

        .modal-body {
            padding: 24px;
        }

        .upload-zone {
            border: 2px dashed rgba(var(--brand-primary-rgb), 0.4);
            border-radius: 16px;
            padding: 50px;
            text-align: center;
            transition: all 0.3s;
            cursor: pointer;
        }

        .upload-zone:hover,
        .upload-zone.dragover {
            border-color: var(--brand-primary);
            background: rgba(var(--brand-primary-rgb), 0.05);
        }

        .upload-zone i {
            font-size: 3rem;
            color: var(--brand-primary);
            margin-bottom: 15px;
        }

        .upload-zone h4 {
            margin-bottom: 8px;
        }

        .upload-zone p {
            color: #71717a;
            font-size: 0.9rem;
        }

        #file-input {
            display: none;
        }

        /* Pre-scan Result */
        .prescan-result {
            display: none;
            background: rgba(var(--brand-primary-rgb), 0.05);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
            border-radius: 12px;
            padding: 20px;
            margin-top: 20px;
        }

        .prescan-result.active {
            display: block;
        }

        .prescan-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .prescan-header i {
            color: #22c55e;
            font-size: 1.5rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 15px;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            font-size: 0.8rem;
            color: #a1a1aa;
            margin-bottom: 6px;
            text-transform: uppercase;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 12px 14px;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: white;
            font-family: inherit;
            font-size: 0.95rem;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--brand-primary);
        }

        .availability-section {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            padding: 16px;
            margin-top: 15px;
        }

        .availability-section h5 {
            font-size: 0.9rem;
            margin-bottom: 12px;
            color: var(--brand-primary-light);
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        .checkbox-group input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: var(--brand-primary);
        }

        .modal-footer {
            padding: 20px 24px;
            border-top: 1px solid rgba(var(--brand-primary-rgb), 0.2);
            display: flex;
            justify-content: flex-end;
            gap: 12px;
        }

        .btn-secondary {
            padding: 12px 24px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: white;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        /* Loading Spinner */
        .spinner {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            display: inline-block;
        }

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

        /* Toast Notifications */
        .toast-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 2000;
        }

        .toast {
            background: rgba(20, 20, 20, 0.95);
            border: 1px solid rgba(var(--brand-primary-rgb), 0.3);
            border-radius: 12px;
            padding: 16px 24px;
            margin-top: 10px;
            display: flex;
            align-items: center;
            gap: 12px;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .toast.success {
            border-left: 4px solid #22c55e;
        }

        .toast.error {
            border-left: 4px solid #ef4444;
        }

        .toast.info {
            border-left: 4px solid #3b82f6;
        }

        .toast i {
            font-size: 1.2rem;
        }

        .toast.success i {
            color: #22c55e;
        }

        .toast.error i {
            color: #ef4444;
        }

        .toast.info i {
            color: #3b82f6;
        }

        /* Responsive */
        @media (max-width: 900px) {
            .login-wrapper {
                flex-direction: column;
                gap: 40px;
            }

            .brand-section {
                max-width: 100%;
                text-align: center;
            }

            .subtitle {
                border-left: none;
                padding-left: 0;
            }

            h1 {
                font-size: 2.5rem;
            }

            .login-card {
                width: 100%;
                max-width: 400px;
            }

            .table-header,
            .candidate-row {
                grid-template-columns: 1fr 1fr;
            }

            .table-header>*:nth-child(3),
            .table-header>*:nth-child(4),
            .candidate-row>*:nth-child(3),
            .candidate-row>*:nth-child(4) {
                display: none;
            }
        }

        /* === REGISTRATION MODAL STYLES === */
        #registration-modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            align-items: center;
            justify-content: center;
        }

        #registration-modal .modal-content {
            background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(30, 30, 50, 0.95));
            padding: 40px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            max-width: 500px;
            width: 90%;
            position: relative;
        }

        #registration-modal .close {
            position: absolute;
            right: 20px;
            top: 20px;
            font-size: 28px;
            font-weight: bold;
            color: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            transition: color 0.3s;
        }

        #registration-modal .close:hover {
            color: var(--brand-primary);
        }

        #registration-modal h2 {
            color: white;
            margin-bottom: 10px;
        }

        #registration-modal .input-group {
            margin-bottom: 20px;
        }

        #registration-modal .input-group label {
            display: block;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 8px;
            font-size: 14px;
        }

        #registration-modal .input-group input {
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.05);
            color: white;
            font-size: 16px;
        }

        #registration-modal .input-group input:focus {
            outline: none;
            border-color: var(--brand-primary);
            background: rgba(255, 255, 255, 0.08);
        }

        /* ===== Leveranciers-tab (spec 0005: expertiseprofiel) ===== */
        #leveranciers-section {
            display: none;
        }

        .lev-filter-bar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
        }

        /* Selects met SOLIDE donkere achtergrond: doorzichtig rendert de native
           dropdown-popup wit-op-wit (onleesbaar). Opties expliciet donker. */
        .lev-select {
            padding: 9px 12px;
            background: #18181b;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 8px;
            color: white;
            font-family: 'Outfit', sans-serif;
            font-size: 0.85rem;
            outline: none;
            cursor: pointer;
            min-width: 200px;
        }

        .lev-select:focus {
            border-color: var(--brand-primary);
        }

        /* Globaal: native dropdown-lijsten zijn wit — zonder expliciete
           option-kleur erven opties witte tekst en zijn ze onleesbaar
           (wit-op-wit; feedback eigenaar bij de recruiter- en
           functieprofiel-filters). Dekt ook toekomstige selects. */
        select option {
            background: #18181b;
            color: #fff;
        }

        .lev-select option {
            background: #18181b;
            color: #fff;
        }

        .lev-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .lev-card {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 16px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 16px 18px;
            transition: border-color 0.2s, background 0.2s;
        }

        .lev-card:hover {
            border-color: rgba(var(--brand-primary-rgb), 0.4);
            background: rgba(255, 255, 255, 0.06);
        }

        .lev-card-info {
            min-width: 0;
            flex: 1;
        }

        .lev-card-naam {
            font-size: 1.05rem;
            font-weight: 600;
            color: white;
            margin-bottom: 4px;
        }

        .lev-card-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.8rem;
            margin-bottom: 10px;
        }

        .lev-card-meta i {
            margin-right: 4px;
            color: rgba(255, 255, 255, 0.35);
        }

        .lev-card-chips {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px;
            margin-bottom: 6px;
        }

        .lev-chips-label {
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.75rem;
            min-width: 72px;
        }

        /* Chips: zelfde look als .skill-tag */
        .lev-chip {
            background: rgba(var(--brand-primary-rgb), 0.15);
            color: var(--brand-primary-light);
            font-size: 0.7rem;
            padding: 3px 10px;
            border-radius: 6px;
            white-space: nowrap;
        }

        .lev-chip-expertise {
            background: rgba(52, 211, 153, 0.12);
            color: #34d399;
        }

        .lev-chip-meer {
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.6);
            cursor: default;
        }

        .lev-chip-leeg {
            background: transparent;
            color: rgba(255, 255, 255, 0.3);
        }

        .lev-card-actions {
            flex-shrink: 0;
        }

        .lev-btn-bewerk {
            font-size: 0.8rem;
            padding: 9px 14px;
            white-space: nowrap;
        }

        /* Checkbox-grids in de modals (2 kolommen, witte labels) */
        .lev-grid-titel {
            color: var(--brand-primary-light);
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 18px 0 10px;
        }

        .lev-checkbox-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px 14px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.07);
            border-radius: 10px;
            padding: 12px 14px;
        }

        .lev-check {
            display: flex;
            align-items: center;
            gap: 8px;
            color: white;
            font-size: 0.85rem;
            cursor: pointer;
            padding: 3px 2px;
            border-radius: 6px;
        }

        .lev-check:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .lev-check input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: var(--brand-primary);
            cursor: pointer;
            flex-shrink: 0;
        }

        .lev-hint {
            display: block;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.75rem;
            margin-top: 6px;
        }

        .lev-melding {
            margin-top: 14px;
            padding: 10px 12px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.85rem;
        }

        .lev-bewerk-naam {
            color: white;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .lev-bewerk-naam i {
            color: var(--brand-primary-light);
            margin-right: 6px;
        }

        .lev-bewerk-username {
            color: rgba(255, 255, 255, 0.45);
            font-weight: 400;
            font-size: 0.85rem;
        }

        @media (max-width: 700px) {
            .lev-checkbox-grid {
                grid-template-columns: 1fr;
            }

            .lev-card {
                flex-direction: column;
            }
        }
