 :root {
            --primary: #2563eb;
            --primary-hover: #1d4ed8;
            --success: #10b981;
            --danger: #ef4444;
            --bg: #f8fafc;
            --card-bg: #ffffff;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
        }

        body { 
            font-family: 'Inter', -apple-system, sans-serif; 
            background: var(--bg); 
            color: var(--text-main);
            margin: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* Layout Structure */
        header {
            background: #fff;
            padding: 1rem 2rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .main-container {
            display: grid;
            grid-template-columns: 320px 1fr;
            gap: 2rem;
            padding: 2rem;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
            box-sizing: border-box;
        }

        /* Sidebar & Blocks */
        .block { 
            background: var(--card-bg); 
            padding: 24px; 
            border-radius: 12px; 
            margin-bottom: 24px; 
            border: 1px solid var(--border);
            box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
        }

        h1 { font-size: 1.25rem; margin: 0; color: var(--primary); font-weight: 700; }
        h2 { font-size: 1.1rem; margin-top: 0; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 10px;}

        /* Form Elements */
        label { 
            display: block; 
            font-size: 0.85rem; 
            font-weight: 600; 
            color: var(--text-muted); 
            margin-bottom: 4px; 
            margin-top: 12px;
        }

        input, select, textarea { 
            width: 100%; 
            padding: 10px; 
            border: 1px solid var(--border); 
            border-radius: 6px; 
            font-size: 0.9rem;
            box-sizing: border-box;
            transition: border-color 0.2s;
        }

        input:focus, textarea:focus {
            outline: none;
            border-color: var(--primary);
            ring: 2px solid #2563eb33;
        }

        textarea { font-family: 'Fira Code', 'Courier New', monospace; background: #fafafa; }

        /* Buttons */
        button { 
            padding: 10px 16px; 
            border: none; 
            border-radius: 6px; 
            cursor: pointer; 
            font-weight: 600; 
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }


        .add { background: var(--primary); color: white; width: 100%; justify-content: center; }
        .add:hover { background: var(--primary-hover); }

        .delete { background: #fee2e2; color: var(--danger); font-size: 0.8rem; margin-top: 15px;}
        .delete:hover { background: #fecaca; }

        .export { background: var(--success); color: white; padding: 12px 24px; font-size: 1rem; }
        .export:hover { opacity: 0.9; transform: translateY(-1px); }

        /* Ad Unit Cards */
        .ad-unit { 
            border: 1px solid var(--border); 
            padding: 20px; 
            margin-bottom: 24px; 
            border-radius: 8px; 
            background: #fff;
            position: relative;
        }

        .ad-unit-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .section-title { 
            font-weight: 700; 
            font-size: 0.8rem; 
            text-transform: uppercase; 
            letter-spacing: 0.05em; 
            color: var(--text-muted); 
            margin-top: 20px;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }

        .section-title::after {
            content: "";
            flex: 1;
            height: 1px;
            background: var(--border);
            margin-left: 10px;
        }

        .import-zone {
            border: 2px dashed var(--border);
            padding: 15px;
            text-align: center;
            border-radius: 8px;
            margin-bottom: 10px;
        }

        @media (max-width: 900px) {
            .main-container { grid-template-columns: 1fr; }
        }
		
		.ad-unit.active {
    border: 2px solid #2563eb;
    box-shadow: 0 0 0 3px #2563eb22;
}

/* Container voor de tabel */
.table-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
    border: 1px solid rgba(0,0,0,0.05);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: #f8f9fa;
    padding: 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    border-bottom: 2px solid #eee;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

/* Status Badges */
.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-active {
    background: #e6f4ea;
    color: #1e7e34;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

/* Knoppen */
.btn-approve {
    background: var(--primary-color, #007bff); /* Gebruikt je builder kleur */
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: inline-block;
}

.btn-approve:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dashboard-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.dashboard-link:hover {
    color: var(--primary-color);
}

/* Rollen */
.role-admin {
    background: #e1f5fe;
    color: #0288d1;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.role-user {
    background: #f5f5f5;
    color: #757575;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Extra status voor geblokkeerd */
.status-blocked {
    background: #ffebee;
    color: #c62828;
}